temp 45 arch/alpha/include/asm/atomic.h unsigned long temp; \ temp 54 arch/alpha/include/asm/atomic.h :"=&r" (temp), "=m" (v->counter) \ temp 61 arch/alpha/include/asm/atomic.h long temp, result; \ temp 71 arch/alpha/include/asm/atomic.h :"=&r" (temp), "=m" (v->counter), "=&r" (result) \ temp 80 arch/alpha/include/asm/atomic.h long temp, result; \ temp 89 arch/alpha/include/asm/atomic.h :"=&r" (temp), "=m" (v->counter), "=&r" (result) \ temp 98 arch/alpha/include/asm/atomic.h s64 temp; \ temp 107 arch/alpha/include/asm/atomic.h :"=&r" (temp), "=m" (v->counter) \ temp 114 arch/alpha/include/asm/atomic.h s64 temp, result; \ temp 124 arch/alpha/include/asm/atomic.h :"=&r" (temp), "=m" (v->counter), "=&r" (result) \ temp 133 arch/alpha/include/asm/atomic.h s64 temp, result; \ temp 142 arch/alpha/include/asm/atomic.h :"=&r" (temp), "=m" (v->counter), "=&r" (result) \ temp 31 arch/alpha/include/asm/bitops.h unsigned long temp; temp 42 arch/alpha/include/asm/bitops.h :"=&r" (temp), "=m" (*m) temp 60 arch/alpha/include/asm/bitops.h unsigned long temp; temp 71 arch/alpha/include/asm/bitops.h :"=&r" (temp), "=m" (*m) temp 103 arch/alpha/include/asm/bitops.h unsigned long temp; temp 114 arch/alpha/include/asm/bitops.h :"=&r" (temp), "=m" (*m) temp 133 arch/alpha/include/asm/bitops.h unsigned long temp; temp 153 arch/alpha/include/asm/bitops.h :"=&r" (temp), "=m" (*m), "=&r" (oldbit) temp 163 arch/alpha/include/asm/bitops.h unsigned long temp; temp 180 arch/alpha/include/asm/bitops.h :"=&r" (temp), "=m" (*m), "=&r" (oldbit) temp 204 arch/alpha/include/asm/bitops.h unsigned long temp; temp 224 arch/alpha/include/asm/bitops.h :"=&r" (temp), "=m" (*m), "=&r" (oldbit) temp 248 arch/alpha/include/asm/bitops.h unsigned long temp; temp 266 arch/alpha/include/asm/bitops.h :"=&r" (temp), "=m" (*m), "=&r" (oldbit) temp 23 arch/alpha/include/asm/local.h long temp, result; temp 33 arch/alpha/include/asm/local.h :"=&r" (temp), "=m" (l->a.counter), "=&r" (result) temp 40 arch/alpha/include/asm/local.h long temp, result; temp 50 arch/alpha/include/asm/local.h :"=&r" (temp), "=m" (l->a.counter), "=&r" (result) temp 44 arch/alpha/include/asm/mmzone.h unsigned long temp; temp 45 arch/alpha/include/asm/mmzone.h temp = p >> PAGE_SHIFT; temp 46 arch/alpha/include/asm/mmzone.h return temp - PLAT_NODE_DATA(n)->gendata.node_start_pfn; temp 358 arch/alpha/kernel/core_cia.c int temp, use_tbia_try2 = 0; temp 404 arch/alpha/kernel/core_cia.c temp = *(vip)CIA_IOC_TB_TAGn(0); temp 405 arch/alpha/kernel/core_cia.c if (temp != tag0) { temp 407 arch/alpha/kernel/core_cia.c "(tag0 %#x != %#x)\n", temp, tag0); temp 410 arch/alpha/kernel/core_cia.c temp = *(vip)CIA_IOC_TB_TAGn(1); temp 411 arch/alpha/kernel/core_cia.c if (temp != 0) { temp 413 arch/alpha/kernel/core_cia.c "(tag1 %#x != 0)\n", temp); temp 416 arch/alpha/kernel/core_cia.c temp = *(vip)CIA_IOC_TBn_PAGEm(0,0); temp 417 arch/alpha/kernel/core_cia.c if (temp != pte0) { temp 419 arch/alpha/kernel/core_cia.c "(pte0 %#x != %#x)\n", temp, pte0); temp 431 arch/alpha/kernel/core_cia.c temp = cia_readl(bus_addr); temp 439 arch/alpha/kernel/core_cia.c if (temp != data0) { temp 441 arch/alpha/kernel/core_cia.c "(%#x != %#x)\n", temp, data0); temp 450 arch/alpha/kernel/core_cia.c temp = *(vip)CIA_IOC_TB_TAGn(0); temp 451 arch/alpha/kernel/core_cia.c if (temp & 1) { temp 468 arch/alpha/kernel/core_cia.c temp = cia_readl(bus_addr + 4*PAGE_SIZE); temp 476 arch/alpha/kernel/core_cia.c if (temp != data0) { temp 478 arch/alpha/kernel/core_cia.c "(%#x != %#x)\n", temp, data0); temp 492 arch/alpha/kernel/core_cia.c temp = cia_readl(bus_addr + 5*PAGE_SIZE); temp 502 arch/alpha/kernel/core_cia.c } else if (temp != data0) { temp 504 arch/alpha/kernel/core_cia.c "(%#x != %#x)\n", temp, data0); temp 516 arch/alpha/kernel/core_cia.c temp = cia_readl(bus_addr + 6*PAGE_SIZE); temp 637 arch/alpha/kernel/core_cia.c int temp, cia_rev, tbia_window; temp 647 arch/alpha/kernel/core_cia.c temp = *(vip)CIA_IOC_ERR_MASK; temp 648 arch/alpha/kernel/core_cia.c temp &= ~(CIA_ERR_CPU_PE | CIA_ERR_MEM_NEM | CIA_ERR_PA_PTE_INV temp 650 arch/alpha/kernel/core_cia.c *(vip)CIA_IOC_ERR_MASK = temp; temp 653 arch/alpha/kernel/core_cia.c temp = *(vip)CIA_IOC_CIA_ERR; temp 654 arch/alpha/kernel/core_cia.c *(vip)CIA_IOC_CIA_ERR = temp; temp 657 arch/alpha/kernel/core_cia.c temp = *(vip)CIA_IOC_CIA_CTRL; temp 658 arch/alpha/kernel/core_cia.c temp |= CIA_CTRL_FILL_ERR_EN | CIA_CTRL_MCHK_ERR_EN; temp 659 arch/alpha/kernel/core_cia.c *(vip)CIA_IOC_CIA_CTRL = temp; temp 674 arch/alpha/kernel/core_cia.c temp = *(vip)CIA_IOC_CIA_CNFG; temp 675 arch/alpha/kernel/core_cia.c temp |= CIA_CNFG_IOA_BWEN | CIA_CNFG_PCI_MWEN; temp 676 arch/alpha/kernel/core_cia.c *(vip)CIA_IOC_CIA_CNFG = temp; temp 328 arch/alpha/kernel/core_t2.c unsigned long temp; temp 333 arch/alpha/kernel/core_t2.c temp = (base & 0xfff00000UL) | ((base + length - 1) >> 20); temp 334 arch/alpha/kernel/core_t2.c *(vulp)T2_WBASE1 = temp | 0x80000UL; /* OR in ENABLE bit */ temp 335 arch/alpha/kernel/core_t2.c temp = (length - 1) & 0xfff00000UL; temp 336 arch/alpha/kernel/core_t2.c *(vulp)T2_WMASK1 = temp; temp 350 arch/alpha/kernel/core_t2.c unsigned long temp; temp 357 arch/alpha/kernel/core_t2.c temp = (base & 0xfff00000UL) | ((base + length - 1) >> 20); temp 358 arch/alpha/kernel/core_t2.c *(vulp)T2_WBASE2 = temp | 0xc0000UL; /* OR in ENABLE/SG bits */ temp 359 arch/alpha/kernel/core_t2.c temp = (length - 1) & 0xfff00000UL; temp 360 arch/alpha/kernel/core_t2.c *(vulp)T2_WMASK2 = temp; temp 410 arch/alpha/kernel/core_t2.c unsigned long temp; temp 421 arch/alpha/kernel/core_t2.c temp = *(vulp)T2_IOCSR; temp 422 arch/alpha/kernel/core_t2.c if (!(temp & (0x1UL << 26))) { temp 424 arch/alpha/kernel/core_t2.c temp); temp 425 arch/alpha/kernel/core_t2.c *(vulp)T2_IOCSR = temp | (0x1UL << 26); temp 182 arch/alpha/kernel/core_wildfire.c unsigned long temp; temp 193 arch/alpha/kernel/core_wildfire.c temp = fast->qsd_whami.csr; temp 195 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR "fast QSD_WHAMI at base %p is 0x%lx\n", fast, temp); temp 198 arch/alpha/kernel/core_wildfire.c hard_qbb = (temp >> 8) & 7; temp 199 arch/alpha/kernel/core_wildfire.c soft_qbb = (temp >> 4) & 7; temp 220 arch/alpha/kernel/core_wildfire.c temp = qsa->qsa_qbb_id.csr; temp 222 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR "QSA_QBB_ID at base %p is 0x%lx\n", qsa, temp); temp 225 arch/alpha/kernel/core_wildfire.c if (temp & 0x40) /* Is there an HS? */ temp 228 arch/alpha/kernel/core_wildfire.c if (temp & 0x20) { /* Is there a GP? */ temp 230 arch/alpha/kernel/core_wildfire.c temp = 0; temp 232 arch/alpha/kernel/core_wildfire.c temp |= gp->gpa_qbb_map[i].csr << (i * 8); temp 235 arch/alpha/kernel/core_wildfire.c i, gp, temp); temp 240 arch/alpha/kernel/core_wildfire.c if (temp & 8) { /* Is there a QBB? */ temp 241 arch/alpha/kernel/core_wildfire.c soft_qbb = temp & 7; temp 245 arch/alpha/kernel/core_wildfire.c temp >>= 4; temp 254 arch/alpha/kernel/core_wildfire.c temp = qsd->qsd_whami.csr; temp 256 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR "QSD_WHAMI at base %p is 0x%lx\n", qsd, temp); temp 258 arch/alpha/kernel/core_wildfire.c hard_qbb = (temp >> 8) & 7; temp 263 arch/alpha/kernel/core_wildfire.c temp = qsa->qsa_qbb_pop[0].csr; temp 265 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR "QSA_QBB_POP_0 at base %p is 0x%lx\n", qsa, temp); temp 267 arch/alpha/kernel/core_wildfire.c wildfire_cpu_mask |= ((temp >> 0) & 0xf) << (soft_qbb << 2); temp 268 arch/alpha/kernel/core_wildfire.c wildfire_mem_mask |= ((temp >> 4) & 0xf) << (soft_qbb << 2); temp 270 arch/alpha/kernel/core_wildfire.c temp = qsa->qsa_qbb_pop[1].csr; temp 272 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR "QSA_QBB_POP_1 at base %p is 0x%lx\n", qsa, temp); temp 275 arch/alpha/kernel/core_wildfire.c wildfire_ior_mask |= ((temp >> 4) & 0xf) << (soft_qbb << 2); temp 277 arch/alpha/kernel/core_wildfire.c temp = qsa->qsa_qbb_id.csr; temp 279 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR "QSA_QBB_ID at %p is 0x%lx\n", qsa, temp); temp 281 arch/alpha/kernel/core_wildfire.c if (temp & 0x20) temp 146 arch/arc/include/asm/atomic.h unsigned long temp; \ temp 152 arch/arc/include/asm/atomic.h temp = v->counter; \ temp 153 arch/arc/include/asm/atomic.h temp c_op i; \ temp 154 arch/arc/include/asm/atomic.h v->counter = temp; \ temp 157 arch/arc/include/asm/atomic.h return temp; \ temp 204 arch/arc/include/asm/atomic.h int temp; temp 208 arch/arc/include/asm/atomic.h : "=r"(temp) temp 211 arch/arc/include/asm/atomic.h return temp; temp 238 arch/arc/include/asm/atomic.h unsigned int temp = i; \ temp 248 arch/arc/include/asm/atomic.h : "+r"(temp) \ temp 254 arch/arc/include/asm/atomic.h temp c_op i; \ temp 256 arch/arc/include/asm/atomic.h return temp; \ temp 262 arch/arc/include/asm/atomic.h unsigned int temp = i; \ temp 272 arch/arc/include/asm/atomic.h : "+r"(temp) \ temp 278 arch/arc/include/asm/atomic.h return temp; \ temp 530 arch/arc/include/asm/atomic.h s64 old, temp; temp 544 arch/arc/include/asm/atomic.h : "=&r"(old), "=&r" (temp) temp 31 arch/arc/include/asm/bitops.h unsigned int temp; \ temp 42 arch/arc/include/asm/bitops.h : "=&r"(temp) /* Early clobber, to prevent reg reuse */ \ temp 62 arch/arc/include/asm/bitops.h unsigned long old, temp; \ temp 79 arch/arc/include/asm/bitops.h : "=&r"(old), "=&r"(temp) \ temp 109 arch/arc/include/asm/bitops.h unsigned long temp, flags; \ temp 117 arch/arc/include/asm/bitops.h temp = *m; \ temp 118 arch/arc/include/asm/bitops.h *m = temp c_op (1UL << (nr & 0x1f)); \ temp 196 arch/arc/include/asm/bitops.h unsigned long temp; \ temp 199 arch/arc/include/asm/bitops.h temp = *m; \ temp 200 arch/arc/include/asm/bitops.h *m = temp c_op (1UL << (nr & 0x1f)); \ temp 101 arch/arc/include/asm/irqflags-arcv2.h unsigned long temp; temp 105 arch/arc/include/asm/irqflags-arcv2.h : "=&r"(temp) temp 113 arch/arc/include/asm/irqflags-arcv2.h temp = (1 << 5) | temp 114 arch/arc/include/asm/irqflags-arcv2.h ((!!(temp & STATUS_IE_MASK)) << CLRI_STATUS_IE_BIT) | temp 115 arch/arc/include/asm/irqflags-arcv2.h ((temp >> 1) & CLRI_STATUS_E_MASK); temp 116 arch/arc/include/asm/irqflags-arcv2.h return temp; temp 63 arch/arc/include/asm/irqflags-compact.h unsigned long temp, flags; temp 70 arch/arc/include/asm/irqflags-compact.h : "=r"(temp), "=r"(flags) temp 95 arch/arc/include/asm/irqflags-compact.h unsigned long temp; temp 101 arch/arc/include/asm/irqflags-compact.h : "=&r"(temp) temp 112 arch/arc/include/asm/irqflags-compact.h unsigned long temp; temp 118 arch/arc/include/asm/irqflags-compact.h : "=&r"(temp) temp 128 arch/arc/include/asm/irqflags-compact.h unsigned long temp; temp 132 arch/arc/include/asm/irqflags-compact.h : "=&r"(temp) temp 136 arch/arc/include/asm/irqflags-compact.h return temp; temp 19 arch/arm/include/asm/edac.h unsigned int temp, temp2; temp 31 arch/arm/include/asm/edac.h : "=&r"(temp), "=&r"(temp2) temp 74 arch/arm/include/asm/irqflags.h unsigned long flags, temp; temp 80 arch/arm/include/asm/irqflags.h : "=r" (flags), "=r" (temp) temp 92 arch/arm/include/asm/irqflags.h unsigned long temp; temp 97 arch/arm/include/asm/irqflags.h : "=r" (temp) temp 108 arch/arm/include/asm/irqflags.h unsigned long temp; temp 113 arch/arm/include/asm/irqflags.h : "=r" (temp) temp 123 arch/arm/include/asm/irqflags.h unsigned long temp; \ temp 128 arch/arm/include/asm/irqflags.h : "=r" (temp) \ temp 138 arch/arm/include/asm/irqflags.h unsigned long temp; \ temp 143 arch/arm/include/asm/irqflags.h : "=r" (temp) \ temp 62 arch/arm/kernel/pj4-cp0.c u32 temp; temp 73 arch/arm/kernel/pj4-cp0.c : "=r" (temp) : "r" (value)); temp 35 arch/arm/kernel/swp_emulate.c #define __user_swpX_asm(data, addr, res, temp, B) \ temp 53 arch/arm/kernel/swp_emulate.c : "=&r" (res), "+r" (data), "=&r" (temp) \ temp 57 arch/arm/kernel/swp_emulate.c #define __user_swp_asm(data, addr, res, temp) \ temp 58 arch/arm/kernel/swp_emulate.c __user_swpX_asm(data, addr, res, temp, "") temp 59 arch/arm/kernel/swp_emulate.c #define __user_swpb_asm(data, addr, res, temp) \ temp 60 arch/arm/kernel/swp_emulate.c __user_swpX_asm(data, addr, res, temp, "b") temp 128 arch/arm/kernel/swp_emulate.c unsigned long temp; temp 133 arch/arm/kernel/swp_emulate.c __user_swpb_asm(*data, address, res, temp); temp 135 arch/arm/kernel/swp_emulate.c __user_swp_asm(*data, address, res, temp); temp 103 arch/arm/kernel/xscale-cp0.c u32 temp; temp 110 arch/arm/kernel/xscale-cp0.c : "=r" (temp) : "r" (value)); temp 225 arch/arm/mach-hisi/hotplug.c unsigned int temp; temp 238 arch/arm/mach-hisi/hotplug.c temp = readl_relaxed(ctrl_base + HIP01_PERI9); temp 239 arch/arm/mach-hisi/hotplug.c temp |= PERI9_CPU1_RESET; temp 240 arch/arm/mach-hisi/hotplug.c writel_relaxed(temp, ctrl_base + HIP01_PERI9); temp 245 arch/arm/mach-hisi/hotplug.c temp = readl_relaxed(ctrl_base + HIP01_PERI9); temp 246 arch/arm/mach-hisi/hotplug.c temp &= ~PERI9_CPU1_RESET; temp 247 arch/arm/mach-hisi/hotplug.c writel_relaxed(temp, ctrl_base + HIP01_PERI9); temp 12 arch/arm/mach-iop32x/cp6.c u32 temp; temp 19 arch/arm/mach-iop32x/cp6.c : "=r"(temp)); temp 160 arch/arm/mach-mmp/pm-mmp2.c int temp; temp 162 arch/arm/mach-mmp/pm-mmp2.c temp = __raw_readl(MMP2_ICU_INT4_MASK); temp 163 arch/arm/mach-mmp/pm-mmp2.c if (temp & (1 << 1)) { temp 168 arch/arm/mach-mmp/pm-mmp2.c temp = __raw_readl(APMU_SRAM_PWR_DWN); temp 169 arch/arm/mach-mmp/pm-mmp2.c temp |= ((1 << 19) | (1 << 18)); temp 170 arch/arm/mach-mmp/pm-mmp2.c __raw_writel(temp, APMU_SRAM_PWR_DWN); temp 464 arch/arm/mach-pxa/sharpsl_pm.c int i, j, k, temp, sum = 0; temp 467 arch/arm/mach-pxa/sharpsl_pm.c temp = val[0]; temp 470 arch/arm/mach-pxa/sharpsl_pm.c if (temp < val[i]) { temp 471 arch/arm/mach-pxa/sharpsl_pm.c temp = val[i]; temp 477 arch/arm/mach-pxa/sharpsl_pm.c temp = val[4]; temp 480 arch/arm/mach-pxa/sharpsl_pm.c if (temp > val[i]) { temp 481 arch/arm/mach-pxa/sharpsl_pm.c temp = val[i]; temp 555 arch/arm/mach-pxa/sharpsl_pm.c int temp, i, buff[5]; temp 562 arch/arm/mach-pxa/sharpsl_pm.c temp = get_select_val(buff); temp 563 arch/arm/mach-pxa/sharpsl_pm.c dev_dbg(sharpsl_pm.dev, "AC Voltage: %d\n", temp); temp 565 arch/arm/mach-pxa/sharpsl_pm.c if ((temp > sharpsl_pm.machinfo->charge_acin_high) || (temp < sharpsl_pm.machinfo->charge_acin_low)) { temp 566 arch/arm/mach-pxa/sharpsl_pm.c dev_err(sharpsl_pm.dev, "Error: AC check failed: voltage %d.\n", temp); temp 55 arch/arm/mach-s3c24xx/bast-irq.c unsigned long temp; temp 57 arch/arm/mach-s3c24xx/bast-irq.c temp = __raw_readb(BAST_VA_PC104_IRQMASK); temp 58 arch/arm/mach-s3c24xx/bast-irq.c temp &= ~bast_pc104_irqmasks[data->irq]; temp 59 arch/arm/mach-s3c24xx/bast-irq.c __raw_writeb(temp, BAST_VA_PC104_IRQMASK); temp 74 arch/arm/mach-s3c24xx/bast-irq.c unsigned long temp; temp 76 arch/arm/mach-s3c24xx/bast-irq.c temp = __raw_readb(BAST_VA_PC104_IRQMASK); temp 77 arch/arm/mach-s3c24xx/bast-irq.c temp |= bast_pc104_irqmasks[data->irq]; temp 78 arch/arm/mach-s3c24xx/bast-irq.c __raw_writeb(temp, BAST_VA_PC104_IRQMASK); temp 39 arch/arm/mach-s3c24xx/include/mach/io.h unsigned long temp; \ temp 45 arch/arm/mach-s3c24xx/include/mach/io.h : "=&r" (temp) \ temp 54 arch/arm/mach-s3c24xx/include/mach/io.h unsigned long temp, value; \ temp 60 arch/arm/mach-s3c24xx/include/mach/io.h : "=&r" (temp), "=r" (value) \ temp 72 arch/arm/mach-socfpga/socfpga.c u32 temp; temp 74 arch/arm/mach-socfpga/socfpga.c temp = readl(rst_manager_base_addr + SOCFPGA_RSTMGR_CTRL); temp 77 arch/arm/mach-socfpga/socfpga.c temp |= RSTMGR_CTRL_SWCOLDRSTREQ; temp 79 arch/arm/mach-socfpga/socfpga.c temp |= RSTMGR_CTRL_SWWARMRSTREQ; temp 80 arch/arm/mach-socfpga/socfpga.c writel(temp, rst_manager_base_addr + SOCFPGA_RSTMGR_CTRL); temp 85 arch/arm/mach-socfpga/socfpga.c u32 temp; temp 87 arch/arm/mach-socfpga/socfpga.c temp = readl(rst_manager_base_addr + SOCFPGA_A10_RSTMGR_CTRL); temp 90 arch/arm/mach-socfpga/socfpga.c temp |= RSTMGR_CTRL_SWCOLDRSTREQ; temp 92 arch/arm/mach-socfpga/socfpga.c temp |= RSTMGR_CTRL_SWWARMRSTREQ; temp 93 arch/arm/mach-socfpga/socfpga.c writel(temp, rst_manager_base_addr + SOCFPGA_A10_RSTMGR_CTRL); temp 150 arch/arm/probes/decode.c unsigned long temp = cpsr ^ (cpsr << 3); /* PSR_N_BIT ^= PSR_V_BIT */ temp 151 arch/arm/probes/decode.c temp |= (cpsr << 1); /* PSR_N_BIT |= PSR_Z_BIT */ temp 152 arch/arm/probes/decode.c return (~temp) & PSR_N_BIT; temp 157 arch/arm/probes/decode.c unsigned long temp = cpsr ^ (cpsr << 3); /* PSR_N_BIT ^= PSR_V_BIT */ temp 158 arch/arm/probes/decode.c temp |= (cpsr << 1); /* PSR_N_BIT |= PSR_Z_BIT */ temp 159 arch/arm/probes/decode.c return temp & PSR_N_BIT; temp 20 arch/arm/probes/uprobes/actions-arm.c probes_opcode_t temp; temp 46 arch/arm/probes/uprobes/actions-arm.c temp = __mem_to_opcode_arm(*pinsn); temp 47 arch/arm/probes/uprobes/actions-arm.c insn = temp; temp 51 arch/arm/probes/uprobes/actions-arm.c for (; regs; regs >>= 4, mask <<= 4, free <<= 4, temp >>= 4) { temp 55 arch/arm/probes/uprobes/actions-arm.c if ((temp & 0xf) != 15) temp 278 arch/arm64/kernel/armv8_deprecated.c #define __user_swpX_asm(data, addr, res, temp, temp2, B) \ temp 300 arch/arm64/kernel/armv8_deprecated.c : "=&r" (res), "+r" (data), "=&r" (temp), "=&r" (temp2) \ temp 308 arch/arm64/kernel/armv8_deprecated.c #define __user_swp_asm(data, addr, res, temp, temp2) \ temp 309 arch/arm64/kernel/armv8_deprecated.c __user_swpX_asm(data, addr, res, temp, temp2, "") temp 310 arch/arm64/kernel/armv8_deprecated.c #define __user_swpb_asm(data, addr, res, temp, temp2) \ temp 311 arch/arm64/kernel/armv8_deprecated.c __user_swpX_asm(data, addr, res, temp, temp2, "b") temp 331 arch/arm64/kernel/armv8_deprecated.c unsigned long temp, temp2; temp 334 arch/arm64/kernel/armv8_deprecated.c __user_swpb_asm(*data, address, res, temp, temp2); temp 336 arch/arm64/kernel/armv8_deprecated.c __user_swp_asm(*data, address, res, temp, temp2); temp 1466 arch/arm64/kernel/insn.c unsigned long temp = pstate ^ (pstate << 3); temp 1468 arch/arm64/kernel/insn.c temp |= (pstate << 1); /*PSR_N_BIT |= PSR_Z_BIT */ temp 1469 arch/arm64/kernel/insn.c return (temp & PSR_N_BIT) == 0; temp 1475 arch/arm64/kernel/insn.c unsigned long temp = pstate ^ (pstate << 3); temp 1477 arch/arm64/kernel/insn.c temp |= (pstate << 1); /*PSR_N_BIT |= PSR_Z_BIT */ temp 1478 arch/arm64/kernel/insn.c return (temp & PSR_N_BIT) != 0; temp 57 arch/csky/kernel/module.c short *temp; temp 82 arch/csky/kernel/module.c temp = ((short *)location) + 1; temp 83 arch/csky/kernel/module.c *temp = (short) temp 87 arch/csky/kernel/module.c temp = ((short *)location) + 1; temp 88 arch/csky/kernel/module.c *temp = (short) temp 38 arch/h8300/include/asm/hash.h u32 temp; temp 48 arch/h8300/include/asm/hash.h : "=&r" (temp), "=r" (x) temp 60 arch/hexagon/include/asm/spinlock.h int temp; temp 68 arch/hexagon/include/asm/spinlock.h : "=&r" (temp) temp 72 arch/hexagon/include/asm/spinlock.h return temp; temp 93 arch/hexagon/include/asm/spinlock.h int temp; temp 101 arch/hexagon/include/asm/spinlock.h : "=&r" (temp) temp 105 arch/hexagon/include/asm/spinlock.h return temp; temp 138 arch/hexagon/include/asm/spinlock.h int temp; temp 146 arch/hexagon/include/asm/spinlock.h : "=&r" (temp) temp 150 arch/hexagon/include/asm/spinlock.h return temp; temp 51 arch/ia64/include/asm/mca_asm.h #define DATA_PA_TO_VA(addr,temp) \ temp 52 arch/ia64/include/asm/mca_asm.h mov temp = 0x7 ;; \ temp 53 arch/ia64/include/asm/mca_asm.h dep addr = temp, addr, 61, 3 temp 1011 arch/ia64/kernel/iosapic.c struct iosapic_rte_info *rte, *temp; temp 1013 arch/ia64/kernel/iosapic.c list_for_each_entry_safe(rte, temp, &iosapic_intr_info[irq].rtes, temp 472 arch/m68k/coldfire/m53xx.c int fref, temp, fout, mfd; temp 494 arch/m68k/coldfire/m53xx.c temp = 100 * fsys / fref; temp 495 arch/m68k/coldfire/m53xx.c mfd = 4 * BUSDIV * temp / 100; temp 547 arch/m68k/coldfire/m53xx.c u32 temp; temp 557 arch/m68k/coldfire/m53xx.c temp = readw(MCF_CCM_CDR) & MCF_CCM_CDR_SSIDIV(0xF); temp 560 arch/m68k/coldfire/m53xx.c writew(MCF_CCM_CDR_LPDIV(div) | MCF_CCM_CDR_SSIDIV(temp), MCF_CCM_CDR); temp 82 arch/m68k/emu/nfcon.c char temp[2] = { ch, 0 }; temp 84 arch/m68k/emu/nfcon.c nf_call(stderr_id, virt_to_phys(temp)); temp 111 arch/m68k/fpsp040/fpsp.h .set VER_TMP,LV+123 | temp holding for version number temp 130 arch/m68k/fpsp040/fpsp.h .set WBTEMP,LV-76 | write back temp (12 bytes) temp 103 arch/m68k/include/asm/math-emu.h struct fp_ext temp[2]; temp 124 arch/m68k/kernel/signal.c unsigned long temp; temp 131 arch/m68k/kernel/signal.c : "=r" (temp) temp 134 arch/m68k/kernel/signal.c temp &= PAGE_MASK; temp 135 arch/m68k/kernel/signal.c temp |= vaddr & ~PAGE_MASK; temp 141 arch/m68k/kernel/signal.c : : "a" (temp)); temp 144 arch/m68k/kernel/signal.c unsigned long temp; temp 148 arch/m68k/kernel/signal.c : "=a" (temp) temp 153 arch/m68k/kernel/signal.c : : "a" (temp)); temp 160 arch/m68k/kernel/signal.c unsigned long temp; temp 161 arch/m68k/kernel/signal.c asm volatile ("movec %%cacr,%0" : "=r" (temp)); temp 162 arch/m68k/kernel/signal.c temp += 4; temp 165 arch/m68k/kernel/signal.c : : "r" (vaddr), "r" (temp)); temp 168 arch/m68k/kernel/signal.c : : "r" (vaddr + 4), "r" (temp)); temp 735 arch/m68k/kernel/signal.c int temp; temp 743 arch/m68k/kernel/signal.c err = __get_user(temp, &uc->uc_mcontext.version); temp 744 arch/m68k/kernel/signal.c if (temp != MCONTEXT_VERSION) temp 765 arch/m68k/kernel/signal.c err |= __get_user(temp, &gregs[17]); temp 766 arch/m68k/kernel/signal.c regs->sr = (regs->sr & 0xff00) | (temp & 0xff); temp 768 arch/m68k/kernel/signal.c err |= __get_user(temp, &uc->uc_formatvec); temp 776 arch/m68k/kernel/signal.c if (mangle_kernel_stack(regs, temp, &uc->uc_extra)) temp 503 arch/m68k/kernel/traps.c volatile unsigned short temp; temp 536 arch/m68k/kernel/traps.c : "=a&" (desc), "=m" (temp) temp 539 arch/m68k/kernel/traps.c temp, addr, current); temp 545 arch/m68k/kernel/traps.c : "=m" (temp) : "a" (addr), "d" (ssw)); temp 547 arch/m68k/kernel/traps.c mmusr = temp; temp 586 arch/m68k/kernel/traps.c : "=m" (temp) temp 588 arch/m68k/kernel/traps.c mmusr = temp; temp 644 arch/m68k/kernel/traps.c : "=a&" (desc), "=m" (temp) temp 647 arch/m68k/kernel/traps.c temp, addr, current); temp 653 arch/m68k/kernel/traps.c : "=m" (temp) : "a" (addr)); temp 655 arch/m68k/kernel/traps.c mmusr = temp; temp 13 arch/m68k/lib/memcpy.c size_t temp; temp 42 arch/m68k/lib/memcpy.c temp = n >> 2; temp 43 arch/m68k/lib/memcpy.c if (temp) { temp 47 arch/m68k/lib/memcpy.c for (; temp; temp--) temp 69 arch/m68k/lib/memcpy.c : "=a" (lfrom), "=a" (lto), "=d" (temp), "=&d" (temp1) temp 70 arch/m68k/lib/memcpy.c : "0" (lfrom), "1" (lto), "2" (temp)); temp 13 arch/m68k/lib/memmove.c size_t temp; temp 35 arch/m68k/lib/memmove.c temp = n >> 2; temp 36 arch/m68k/lib/memmove.c if (temp) { temp 39 arch/m68k/lib/memmove.c temp--; temp 42 arch/m68k/lib/memmove.c while (temp--); temp 77 arch/m68k/lib/memmove.c temp = n >> 2; temp 78 arch/m68k/lib/memmove.c if (temp) { temp 81 arch/m68k/lib/memmove.c temp--; temp 84 arch/m68k/lib/memmove.c while (temp--); temp 13 arch/m68k/lib/memset.c size_t temp; temp 32 arch/m68k/lib/memset.c temp = count >> 2; temp 33 arch/m68k/lib/memset.c if (temp) { temp 36 arch/m68k/lib/memset.c for (; temp; temp--) temp 58 arch/m68k/lib/memset.c : "=a" (ls), "=d" (temp), "=&d" (temp1) temp 59 arch/m68k/lib/memset.c : "d" (c), "0" (ls), "1" (temp)); temp 213 arch/m68k/mac/misc.c unsigned char temp; temp 215 arch/m68k/mac/misc.c via_rtc_command(RTC_CMD_XPRAM_READ | RTC_CMD_XPRAM_ARG(offset), &temp); temp 217 arch/m68k/mac/misc.c return temp; temp 222 arch/m68k/mac/misc.c unsigned char temp; temp 224 arch/m68k/mac/misc.c temp = 0x55; temp 225 arch/m68k/mac/misc.c via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); temp 227 arch/m68k/mac/misc.c temp = data; temp 228 arch/m68k/mac/misc.c via_rtc_command(RTC_CMD_XPRAM_WRITE | RTC_CMD_XPRAM_ARG(offset), &temp); temp 230 arch/m68k/mac/misc.c temp = 0x55 | RTC_FLG_WRITE_PROTECT; temp 231 arch/m68k/mac/misc.c via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); temp 298 arch/m68k/mac/misc.c __u8 temp; temp 306 arch/m68k/mac/misc.c temp = 0x55; temp 307 arch/m68k/mac/misc.c via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); temp 317 arch/m68k/mac/misc.c temp = 0x55 | RTC_FLG_WRITE_PROTECT; temp 318 arch/m68k/mac/misc.c via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); temp 135 arch/m68k/math-emu/fp_arith.c FPDATA->temp[1] = *dest; temp 137 arch/m68k/math-emu/fp_arith.c return fp_fadd(&FPDATA->temp[1], src); temp 153 arch/m68k/math-emu/fp_arith.c union fp_mant128 temp; temp 199 arch/m68k/math-emu/fp_arith.c fp_multiplymant(&temp, dest, src); temp 203 arch/m68k/math-emu/fp_arith.c if ((long)temp.m32[0] > 0) { temp 205 arch/m68k/math-emu/fp_arith.c fp_putmant128(dest, &temp, 1); temp 207 arch/m68k/math-emu/fp_arith.c fp_putmant128(dest, &temp, 0); temp 231 arch/m68k/math-emu/fp_arith.c union fp_mant128 temp; temp 286 arch/m68k/math-emu/fp_arith.c fp_dividemant(&temp, dest, src); temp 290 arch/m68k/math-emu/fp_arith.c if (!temp.m32[0]) { temp 292 arch/m68k/math-emu/fp_arith.c fp_putmant128(dest, &temp, 32); temp 294 arch/m68k/math-emu/fp_arith.c fp_putmant128(dest, &temp, 31); temp 142 arch/m68k/math-emu/multi_arith.h : "g,d" (temp.m32[1]), "0,0" (dest->m32[2])); \ temp 144 arch/m68k/math-emu/multi_arith.h : "d" (temp.m32[0]), "0" (dest->m32[1])); \ temp 168 arch/m68k/math-emu/multi_arith.h union fp_mant64 temp; temp 173 arch/m68k/math-emu/multi_arith.h fp_mul64(temp.m32[0], temp.m32[1], src1->mant.m32[0], src2->mant.m32[1]); temp 174 arch/m68k/math-emu/multi_arith.h fp_addx96(dest, temp); temp 176 arch/m68k/math-emu/multi_arith.h fp_mul64(temp.m32[0], temp.m32[1], src1->mant.m32[1], src2->mant.m32[0]); temp 177 arch/m68k/math-emu/multi_arith.h fp_addx96(dest, temp); temp 144 arch/microblaze/kernel/cpu/cache.c unsigned int volatile temp = 0; \ temp 153 arch/microblaze/kernel/cpu/cache.c : : "r" (temp), "r" (start), "r" (end), \ temp 36 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c u32 temp; /* for saving temp value */ temp 45 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c temp = PVR_USE_BARREL(pvr) | PVR_USE_MSR_INSTR(pvr) | temp 47 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c if (ci->use_instr != temp) temp 49 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c ci->use_instr = temp; temp 51 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c temp = PVR_USE_HW_MUL(pvr) | PVR_USE_MUL64(pvr); temp 52 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c if (ci->use_mult != temp) temp 54 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c ci->use_mult = temp; temp 56 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c temp = PVR_USE_FPU(pvr) | PVR_USE_FPU2(pvr); temp 57 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c if (ci->use_fpu != temp) temp 59 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c ci->use_fpu = temp; temp 93 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c temp = PVR_DCACHE_USE_WRITEBACK(pvr); temp 94 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c if (ci->dcache_wb != temp) temp 96 arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c ci->dcache_wb = temp; temp 41 arch/microblaze/kernel/kgdb.c int temp; temp 48 arch/microblaze/kernel/kgdb.c __asm__ __volatile__ ("mfs %0, rbtr;" : "=r"(temp) : ); temp 49 arch/microblaze/kernel/kgdb.c gdb_regs[GDB_BTR] = temp; temp 56 arch/microblaze/kernel/kgdb.c __asm__ __volatile__ ("mfs %0, redr;" : "=r"(temp) : ); temp 57 arch/microblaze/kernel/kgdb.c gdb_regs[GDB_REDR] = temp; temp 58 arch/microblaze/kernel/kgdb.c __asm__ __volatile__ ("mfs %0, rpid;" : "=r"(temp) : ); temp 59 arch/microblaze/kernel/kgdb.c gdb_regs[GDB_RPID] = temp; temp 60 arch/microblaze/kernel/kgdb.c __asm__ __volatile__ ("mfs %0, rzpr;" : "=r"(temp) : ); temp 61 arch/microblaze/kernel/kgdb.c gdb_regs[GDB_RZPR] = temp; temp 62 arch/microblaze/kernel/kgdb.c __asm__ __volatile__ ("mfs %0, rtlbx;" : "=r"(temp) : ); temp 63 arch/microblaze/kernel/kgdb.c gdb_regs[GDB_RTLBX] = temp; temp 64 arch/microblaze/kernel/kgdb.c __asm__ __volatile__ ("mfs %0, rtlblo;" : "=r"(temp) : ); temp 65 arch/microblaze/kernel/kgdb.c gdb_regs[GDB_RTLBLO] = temp; temp 66 arch/microblaze/kernel/kgdb.c __asm__ __volatile__ ("mfs %0, rtlbhi;" : "=r"(temp) : ); temp 67 arch/microblaze/kernel/kgdb.c gdb_regs[GDB_RTLBHI] = temp; temp 59 arch/mips/include/asm/atomic.h int temp; \ temp 70 arch/mips/include/asm/atomic.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (v->counter) \ temp 87 arch/mips/include/asm/atomic.h int temp; \ temp 99 arch/mips/include/asm/atomic.h : "=&r" (result), "=&r" (temp), \ temp 121 arch/mips/include/asm/atomic.h int temp; \ temp 133 arch/mips/include/asm/atomic.h : "=&r" (result), "=&r" (temp), \ temp 194 arch/mips/include/asm/atomic.h int temp; temp 211 arch/mips/include/asm/atomic.h : "=&r" (result), "=&r" (temp), temp 261 arch/mips/include/asm/atomic.h s64 temp; \ temp 272 arch/mips/include/asm/atomic.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (v->counter) \ temp 289 arch/mips/include/asm/atomic.h s64 temp; \ temp 301 arch/mips/include/asm/atomic.h : "=&r" (result), "=&r" (temp), \ temp 323 arch/mips/include/asm/atomic.h s64 temp; \ temp 335 arch/mips/include/asm/atomic.h : "=&r" (result), "=&r" (temp), \ temp 397 arch/mips/include/asm/atomic.h s64 temp; temp 410 arch/mips/include/asm/atomic.h : "=&r" (result), "=&r" (temp), temp 57 arch/mips/include/asm/bitops.h unsigned long temp; temp 68 arch/mips/include/asm/bitops.h : "=&r" (temp), "=" GCC_OFF_SMALL_ASM() (*m) temp 79 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m) temp 82 arch/mips/include/asm/bitops.h } while (unlikely(!temp)); temp 94 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m) temp 97 arch/mips/include/asm/bitops.h } while (unlikely(!temp)); temp 116 arch/mips/include/asm/bitops.h unsigned long temp; temp 127 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m) temp 138 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m) temp 141 arch/mips/include/asm/bitops.h } while (unlikely(!temp)); temp 153 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m) temp 156 arch/mips/include/asm/bitops.h } while (unlikely(!temp)); temp 190 arch/mips/include/asm/bitops.h unsigned long temp; temp 200 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m) temp 205 arch/mips/include/asm/bitops.h unsigned long temp; temp 216 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m) temp 219 arch/mips/include/asm/bitops.h } while (unlikely(!temp)); temp 242 arch/mips/include/asm/bitops.h unsigned long temp; temp 253 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m), "=&r" (res) temp 258 arch/mips/include/asm/bitops.h unsigned long temp; temp 269 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m), "=&r" (res) temp 274 arch/mips/include/asm/bitops.h res = temp & (1UL << bit); temp 299 arch/mips/include/asm/bitops.h unsigned long temp; temp 310 arch/mips/include/asm/bitops.h : "=&r" (temp), "+m" (*m), "=&r" (res) temp 315 arch/mips/include/asm/bitops.h unsigned long temp; temp 326 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m), "=&r" (res) temp 331 arch/mips/include/asm/bitops.h res = temp & (1UL << bit); temp 357 arch/mips/include/asm/bitops.h unsigned long temp; temp 369 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m), "=&r" (res) temp 375 arch/mips/include/asm/bitops.h unsigned long temp; temp 384 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m), "=&r" (res) temp 387 arch/mips/include/asm/bitops.h } while (unlikely(!temp)); temp 391 arch/mips/include/asm/bitops.h unsigned long temp; temp 403 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m), "=&r" (res) temp 408 arch/mips/include/asm/bitops.h res = temp & (1UL << bit); temp 435 arch/mips/include/asm/bitops.h unsigned long temp; temp 446 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m), "=&r" (res) temp 451 arch/mips/include/asm/bitops.h unsigned long temp; temp 462 arch/mips/include/asm/bitops.h : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (*m), "=&r" (res) temp 467 arch/mips/include/asm/bitops.h res = temp & (1UL << bit); temp 12 arch/mips/include/asm/edac.h unsigned long temp; temp 31 arch/mips/include/asm/edac.h : "=&r" (temp), "=" GCC_OFF_SMALL_ASM() (*virt_addr) temp 415 arch/mips/include/asm/kvm_host.h unsigned long temp; temp 424 arch/mips/include/asm/kvm_host.h : "=&r" (temp), "+m" (*reg) temp 426 arch/mips/include/asm/kvm_host.h } while (unlikely(!temp)); temp 432 arch/mips/include/asm/kvm_host.h unsigned long temp; temp 441 arch/mips/include/asm/kvm_host.h : "=&r" (temp), "+m" (*reg) temp 443 arch/mips/include/asm/kvm_host.h } while (unlikely(!temp)); temp 450 arch/mips/include/asm/kvm_host.h unsigned long temp; temp 460 arch/mips/include/asm/kvm_host.h : "=&r" (temp), "+m" (*reg) temp 462 arch/mips/include/asm/kvm_host.h } while (unlikely(!temp)); temp 35 arch/mips/include/asm/local.h unsigned long temp; temp 46 arch/mips/include/asm/local.h : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) temp 50 arch/mips/include/asm/local.h unsigned long temp; temp 61 arch/mips/include/asm/local.h : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) temp 82 arch/mips/include/asm/local.h unsigned long temp; temp 93 arch/mips/include/asm/local.h : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) temp 97 arch/mips/include/asm/local.h unsigned long temp; temp 108 arch/mips/include/asm/local.h : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) temp 76 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h u32 temp; temp 88 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h : "=&r" (temp), "=" GCC_OFF_SMALL_ASM() (*addr) temp 98 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h u32 temp; temp 109 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h : "=&r" (temp), "=" GCC_OFF_SMALL_ASM() (*addr) temp 119 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h u32 temp; temp 130 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h : "=&r" (temp), "=" GCC_OFF_SMALL_ASM() (*addr) temp 140 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h u32 temp; temp 151 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h : "=&r" (temp), "=" GCC_OFF_SMALL_ASM() (*addr) temp 161 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h u32 temp; temp 169 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h : "=&r" (temp) temp 172 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h return temp; temp 184 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h u32 temp; temp 192 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h : "=&r" (temp) temp 195 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h return temp; temp 142 arch/mips/include/asm/stackframe.h .macro set_saved_sp stackp temp temp2 temp 189 arch/mips/include/asm/stackframe.h .macro set_saved_sp stackp temp temp2 temp 1199 arch/mips/kernel/cpu-probe.c unsigned int guestctl0, temp; temp 1222 arch/mips/kernel/cpu-probe.c temp = read_c0_guestctl0(); temp 1224 arch/mips/kernel/cpu-probe.c if (temp & MIPS_GCTL0_DRG) { temp 137 arch/mips/loongson64/common/cs5536/cs5536_isa.c u32 temp; temp 148 arch/mips/loongson64/common/cs5536/cs5536_isa.c temp = lo & 0x0000ffff; temp 151 arch/mips/loongson64/common/cs5536/cs5536_isa.c temp |= SB_TAS_ERR_FLAG; temp 155 arch/mips/loongson64/common/cs5536/cs5536_isa.c temp |= SB_TAR_ERR_FLAG; temp 159 arch/mips/loongson64/common/cs5536/cs5536_isa.c temp |= SB_MAR_ERR_FLAG; temp 163 arch/mips/loongson64/common/cs5536/cs5536_isa.c temp |= SB_PARE_ERR_FLAG; temp 165 arch/mips/loongson64/common/cs5536/cs5536_isa.c lo = temp; temp 31 arch/mips/pci/ops-lantiq.c u32 temp; temp 57 arch/mips/pci/ops-lantiq.c temp = ltq_r32(((u32 *)(cfg_base))); temp 58 arch/mips/pci/ops-lantiq.c temp = swab32(temp); temp 61 arch/mips/pci/ops-lantiq.c ltq_w32(temp, ((u32 *)cfg_base)); temp 41 arch/nios2/kernel/signal.c int temp; temp 48 arch/nios2/kernel/signal.c err = __get_user(temp, &uc->uc_mcontext.version); temp 49 arch/nios2/kernel/signal.c if (temp != MCONTEXT_VERSION) temp 81 arch/nios2/kernel/signal.c err |= __get_user(temp, &gregs[26]); /* Not really necessary no user temp 33 arch/parisc/include/uapi/asm/swab.h unsigned int temp; temp 37 arch/parisc/include/uapi/asm/swab.h : "=r" (x), "=&r" (temp) temp 56 arch/parisc/include/uapi/asm/swab.h __u64 temp; temp 61 arch/parisc/include/uapi/asm/swab.h : "=r" (x), "=&r" (temp) temp 191 arch/parisc/kernel/inventory.c unsigned long temp; /* 64-bit scratch value */ temp 209 arch/parisc/kernel/inventory.c temp = pa_pdc_cell->cba; temp 210 arch/parisc/kernel/inventory.c dev = alloc_pa_dev(PAT_GET_CBA(temp), &(pa_pdc_cell->mod_path)); temp 145 arch/parisc/kernel/module.c int sign, temp; temp 148 arch/parisc/kernel/module.c temp = sign_unext(x, len-1); temp 149 arch/parisc/kernel/module.c return (temp << 1) | sign; temp 23 arch/parisc/lib/bitops.c unsigned long temp, flags; temp 26 arch/parisc/lib/bitops.c temp = *ptr; temp 29 arch/parisc/lib/bitops.c return temp; temp 36 arch/parisc/lib/bitops.c long temp; temp 39 arch/parisc/lib/bitops.c temp = (long) *ptr; /* XXX - sign extension wanted? */ temp 42 arch/parisc/lib/bitops.c return (unsigned long)temp; temp 49 arch/parisc/lib/bitops.c long temp; temp 52 arch/parisc/lib/bitops.c temp = (long) *ptr; /* XXX - sign extension wanted? */ temp 55 arch/parisc/lib/bitops.c return (unsigned long)temp; temp 51 arch/parisc/math-emu/fcnvfx.c register unsigned int src, temp; temp 80 arch/parisc/math-emu/fcnvfx.c temp = src; temp 81 arch/parisc/math-emu/fcnvfx.c Sgl_clear_signexponent_set_hidden(temp); temp 82 arch/parisc/math-emu/fcnvfx.c Int_from_sgl_mantissa(temp,src_exponent); temp 83 arch/parisc/math-emu/fcnvfx.c if (Sgl_isone_sign(src)) result = -Sgl_all(temp); temp 84 arch/parisc/math-emu/fcnvfx.c else result = Sgl_all(temp); temp 100 arch/parisc/math-emu/fcnvfx.c || (Sgl_isone_lowmantissa(temp))) temp 149 arch/parisc/math-emu/fcnvfx.c register unsigned int src, temp, resultp2; temp 185 arch/parisc/math-emu/fcnvfx.c temp = src; temp 186 arch/parisc/math-emu/fcnvfx.c Sgl_clear_signexponent_set_hidden(temp); temp 187 arch/parisc/math-emu/fcnvfx.c Dint_from_sgl_mantissa(temp,src_exponent,resultp1,resultp2); temp 52 arch/parisc/math-emu/fcnvfxt.c register unsigned int src, temp; temp 80 arch/parisc/math-emu/fcnvfxt.c temp = src; temp 81 arch/parisc/math-emu/fcnvfxt.c Sgl_clear_signexponent_set_hidden(temp); temp 82 arch/parisc/math-emu/fcnvfxt.c Int_from_sgl_mantissa(temp,src_exponent); temp 83 arch/parisc/math-emu/fcnvfxt.c if (Sgl_isone_sign(src)) result = -Sgl_all(temp); temp 84 arch/parisc/math-emu/fcnvfxt.c else result = Sgl_all(temp); temp 117 arch/parisc/math-emu/fcnvfxt.c register unsigned int src, temp, resultp2; temp 152 arch/parisc/math-emu/fcnvfxt.c temp = src; temp 153 arch/parisc/math-emu/fcnvfxt.c Sgl_clear_signexponent_set_hidden(temp); temp 154 arch/parisc/math-emu/fcnvfxt.c Dint_from_sgl_mantissa(temp,src_exponent,resultp1,resultp2); temp 24 arch/powerpc/crypto/sha1.c extern void powerpc_sha_transform(u32 *state, const u8 *src, u32 *temp); temp 50 arch/powerpc/crypto/sha1.c u32 temp[SHA_WORKSPACE_WORDS]; temp 59 arch/powerpc/crypto/sha1.c powerpc_sha_transform(sctx->state, src, temp); temp 64 arch/powerpc/crypto/sha1.c memzero_explicit(temp, sizeof(temp)); temp 22 arch/powerpc/include/asm/edac.h unsigned int temp; temp 34 arch/powerpc/include/asm/edac.h : "=&r"(temp) temp 115 arch/powerpc/kernel/align.c } data, temp; temp 169 arch/powerpc/kernel/align.c temp.ll = data.ll = 0; temp 175 arch/powerpc/kernel/align.c ret |= __get_user_inatomic(temp.v[0], p++); temp 176 arch/powerpc/kernel/align.c ret |= __get_user_inatomic(temp.v[1], p++); temp 177 arch/powerpc/kernel/align.c ret |= __get_user_inatomic(temp.v[2], p++); temp 178 arch/powerpc/kernel/align.c ret |= __get_user_inatomic(temp.v[3], p++); temp 181 arch/powerpc/kernel/align.c ret |= __get_user_inatomic(temp.v[4], p++); temp 182 arch/powerpc/kernel/align.c ret |= __get_user_inatomic(temp.v[5], p++); temp 185 arch/powerpc/kernel/align.c ret |= __get_user_inatomic(temp.v[6], p++); temp 186 arch/powerpc/kernel/align.c ret |= __get_user_inatomic(temp.v[7], p++); temp 195 arch/powerpc/kernel/align.c data.ll = temp.ll; temp 198 arch/powerpc/kernel/align.c data.h[0] = temp.h[3]; temp 199 arch/powerpc/kernel/align.c data.h[2] = temp.h[3]; temp 203 arch/powerpc/kernel/align.c data.h[1] = temp.h[3]; temp 204 arch/powerpc/kernel/align.c data.h[3] = temp.h[3]; temp 207 arch/powerpc/kernel/align.c data.h[0] = temp.h[2]; temp 208 arch/powerpc/kernel/align.c data.h[2] = temp.h[3]; temp 212 arch/powerpc/kernel/align.c data.h[1] = temp.h[2]; temp 213 arch/powerpc/kernel/align.c data.h[3] = temp.h[3]; temp 216 arch/powerpc/kernel/align.c data.w[0] = temp.w[1]; temp 217 arch/powerpc/kernel/align.c data.w[1] = temp.w[1]; temp 220 arch/powerpc/kernel/align.c data.h[0] = temp.h[2]; temp 221 arch/powerpc/kernel/align.c data.h[1] = temp.h[2]; temp 222 arch/powerpc/kernel/align.c data.h[2] = temp.h[3]; temp 223 arch/powerpc/kernel/align.c data.h[3] = temp.h[3]; temp 263 arch/powerpc/kernel/setup-common.c u32 temp; temp 264 arch/powerpc/kernel/setup-common.c temp = cpu_temp_both(cpu_id); temp 266 arch/powerpc/kernel/setup-common.c temp & 0xff, temp >> 16); temp 257 arch/powerpc/platforms/44x/warp.c s16 temp = swab16(val); temp 258 arch/powerpc/platforms/44x/warp.c out_be32(fpga + 0x20, temp); temp 101 arch/powerpc/platforms/83xx/usb.c u32 temp; temp 189 arch/powerpc/platforms/83xx/usb.c temp = CONTROL_PHY_CLK_SEL_ULPI; temp 195 arch/powerpc/platforms/83xx/usb.c temp |= CONTROL_OTG_PORT; temp 198 arch/powerpc/platforms/83xx/usb.c out_be32(usb_regs + FSL_USB2_CONTROL_OFFS, temp); temp 99 arch/powerpc/platforms/85xx/mpc85xx_mds.c int temp; temp 108 arch/powerpc/platforms/85xx/mpc85xx_mds.c temp = phy_read(phydev, 30); temp 110 arch/powerpc/platforms/85xx/mpc85xx_mds.c if (temp < 0) temp 111 arch/powerpc/platforms/85xx/mpc85xx_mds.c return temp; temp 113 arch/powerpc/platforms/85xx/mpc85xx_mds.c temp = (temp & (~0x8000)) | 0x4000; temp 114 arch/powerpc/platforms/85xx/mpc85xx_mds.c err = phy_write(phydev,30, temp); temp 124 arch/powerpc/platforms/85xx/mpc85xx_mds.c temp = phy_read(phydev, 30); temp 126 arch/powerpc/platforms/85xx/mpc85xx_mds.c if (temp < 0) temp 127 arch/powerpc/platforms/85xx/mpc85xx_mds.c return temp; temp 129 arch/powerpc/platforms/85xx/mpc85xx_mds.c temp = phy_read(phydev, 30); temp 131 arch/powerpc/platforms/85xx/mpc85xx_mds.c if (temp < 0) temp 132 arch/powerpc/platforms/85xx/mpc85xx_mds.c return temp; temp 134 arch/powerpc/platforms/85xx/mpc85xx_mds.c temp &= ~0x0020; temp 136 arch/powerpc/platforms/85xx/mpc85xx_mds.c err = phy_write(phydev,30,temp); temp 142 arch/powerpc/platforms/85xx/mpc85xx_mds.c temp = phy_read(phydev, 16); temp 144 arch/powerpc/platforms/85xx/mpc85xx_mds.c if (temp < 0) temp 145 arch/powerpc/platforms/85xx/mpc85xx_mds.c return temp; temp 147 arch/powerpc/platforms/85xx/mpc85xx_mds.c temp &= ~0x0060; temp 148 arch/powerpc/platforms/85xx/mpc85xx_mds.c err = phy_write(phydev,16,temp); temp 377 arch/powerpc/platforms/85xx/p1022_ds.c u64 temp; temp 395 arch/powerpc/platforms/85xx/p1022_ds.c temp = 1000000000000ULL; temp 396 arch/powerpc/platforms/85xx/p1022_ds.c do_div(temp, pixclock); temp 397 arch/powerpc/platforms/85xx/p1022_ds.c freq = temp; temp 47 arch/powerpc/platforms/85xx/p1022_rdk.c u64 temp; temp 65 arch/powerpc/platforms/85xx/p1022_rdk.c temp = 1000000000000ULL; temp 66 arch/powerpc/platforms/85xx/p1022_rdk.c do_div(temp, pixclock); temp 67 arch/powerpc/platforms/85xx/p1022_rdk.c freq = temp; temp 81 arch/powerpc/platforms/85xx/t1042rdb_diu.c u64 temp; temp 100 arch/powerpc/platforms/85xx/t1042rdb_diu.c temp = 1000000000000ULL; temp 101 arch/powerpc/platforms/85xx/t1042rdb_diu.c do_div(temp, pixclock); temp 102 arch/powerpc/platforms/85xx/t1042rdb_diu.c freq = temp; temp 28 arch/powerpc/platforms/86xx/common.c unsigned int temp; temp 34 arch/powerpc/platforms/86xx/common.c temp = mfspr(SPRN_HID0); temp 35 arch/powerpc/platforms/86xx/common.c temp |= HID0_TBEN; temp 36 arch/powerpc/platforms/86xx/common.c mtspr(SPRN_HID0, temp); temp 229 arch/powerpc/platforms/86xx/mpc8610_hpcd.c u64 temp; temp 247 arch/powerpc/platforms/86xx/mpc8610_hpcd.c temp = 1000000000000ULL; temp 248 arch/powerpc/platforms/86xx/mpc8610_hpcd.c do_div(temp, pixclock); temp 249 arch/powerpc/platforms/86xx/mpc8610_hpcd.c freq = temp; temp 62 arch/powerpc/platforms/cell/cbe_thermal.c static inline u8 temp_to_reg(u8 temp) temp 64 arch/powerpc/platforms/cell/cbe_thermal.c return ((temp - TEMP_MIN) >> 1) & 0x3f; temp 116 arch/powerpc/platforms/cell/cbe_thermal.c unsigned int temp; temp 120 arch/powerpc/platforms/cell/cbe_thermal.c ret = sscanf(buf, "%u", &temp); temp 122 arch/powerpc/platforms/cell/cbe_thermal.c if (ret != 1 || temp < TEMP_MIN || temp > TEMP_MAX) temp 125 arch/powerpc/platforms/cell/cbe_thermal.c new_value = temp_to_reg(temp); temp 60 arch/powerpc/platforms/fsl_uli1575.c unsigned char temp; temp 69 arch/powerpc/platforms/fsl_uli1575.c pci_read_config_byte(dev, 0x7c, &temp); temp 77 arch/powerpc/platforms/fsl_uli1575.c pci_write_config_byte(dev, 0x7c, temp); temp 201 arch/powerpc/platforms/fsl_uli1575.c unsigned short temp; temp 210 arch/powerpc/platforms/fsl_uli1575.c pci_read_config_word(dev, 0x4a, &temp); temp 211 arch/powerpc/platforms/fsl_uli1575.c pci_write_config_word(dev, 0x4a, temp | 0x1000); temp 1551 arch/powerpc/platforms/powermac/feature.c u32 temp; temp 1581 arch/powerpc/platforms/powermac/feature.c temp = MACIO_IN32(KEYLARGO_FCR3); temp 1583 arch/powerpc/platforms/powermac/feature.c temp |= KL3_SHUTDOWN_PLL2X; temp 1585 arch/powerpc/platforms/powermac/feature.c temp |= KL3_SHUTDOWN_PLL_TOTAL; temp 1588 arch/powerpc/platforms/powermac/feature.c temp |= KL3_SHUTDOWN_PLLKW6 | KL3_SHUTDOWN_PLLKW4 | temp 1591 arch/powerpc/platforms/powermac/feature.c temp |= KL3_SHUTDOWN_PLLKW12; temp 1592 arch/powerpc/platforms/powermac/feature.c temp &= ~(KL3_CLK66_ENABLE | KL3_CLK49_ENABLE | KL3_CLK45_ENABLE temp 1595 arch/powerpc/platforms/powermac/feature.c temp &= ~(KL3_TIMER_CLK18_ENABLE | KL3_VIA_CLK16_ENABLE); temp 1596 arch/powerpc/platforms/powermac/feature.c MACIO_OUT32(KEYLARGO_FCR3, temp); temp 1604 arch/powerpc/platforms/powermac/feature.c u32 temp; temp 1622 arch/powerpc/platforms/powermac/feature.c temp = MACIO_IN32(KEYLARGO_FCR3); temp 1623 arch/powerpc/platforms/powermac/feature.c temp |= KL3_SHUTDOWN_PLLKW6 | KL3_SHUTDOWN_PLLKW4 | temp 1625 arch/powerpc/platforms/powermac/feature.c temp &= ~(KL3_CLK49_ENABLE | KL3_CLK45_ENABLE | KL3_CLK31_ENABLE temp 1628 arch/powerpc/platforms/powermac/feature.c temp &= ~(KL3_VIA_CLK16_ENABLE | KL3_TIMER_CLK18_ENABLE); temp 1629 arch/powerpc/platforms/powermac/feature.c MACIO_OUT32(KEYLARGO_FCR3, temp); temp 1637 arch/powerpc/platforms/powermac/feature.c u32 temp; temp 1650 arch/powerpc/platforms/powermac/feature.c temp = MACIO_IN32(KEYLARGO_FCR3); temp 1651 arch/powerpc/platforms/powermac/feature.c temp &= ~(KL3_CLK49_ENABLE | KL3_CLK45_ENABLE | temp 1654 arch/powerpc/platforms/powermac/feature.c temp &= ~(KL3_TIMER_CLK18_ENABLE | KL3_IT_VIA_CLK32_ENABLE); temp 1655 arch/powerpc/platforms/powermac/feature.c MACIO_OUT32(KEYLARGO_FCR3, temp); temp 2699 arch/powerpc/platforms/powermac/feature.c struct macio_chip temp = macio_chips[0]; temp 2701 arch/powerpc/platforms/powermac/feature.c macio_chips[1] = temp; temp 2705 arch/powerpc/platforms/powermac/feature.c struct macio_chip temp = macio_chips[0]; temp 2707 arch/powerpc/platforms/powermac/feature.c macio_chips[1] = temp; temp 525 arch/powerpc/sysdev/fsl_pci.c u16 temp; temp 612 arch/powerpc/sysdev/fsl_pci.c PCI_BUS_FUNCTION, &temp); temp 613 arch/powerpc/sysdev/fsl_pci.c temp |= PCI_BUS_FUNCTION_MDS; temp 615 arch/powerpc/sysdev/fsl_pci.c PCI_BUS_FUNCTION, temp); temp 525 arch/powerpc/sysdev/ipic.c u32 temp; temp 529 arch/powerpc/sysdev/ipic.c temp = ipic_read(ipic->regs, ipic_info[src].mask); temp 530 arch/powerpc/sysdev/ipic.c temp |= (1 << (31 - ipic_info[src].bit)); temp 531 arch/powerpc/sysdev/ipic.c ipic_write(ipic->regs, ipic_info[src].mask, temp); temp 541 arch/powerpc/sysdev/ipic.c u32 temp; temp 545 arch/powerpc/sysdev/ipic.c temp = ipic_read(ipic->regs, ipic_info[src].mask); temp 546 arch/powerpc/sysdev/ipic.c temp &= ~(1 << (31 - ipic_info[src].bit)); temp 547 arch/powerpc/sysdev/ipic.c ipic_write(ipic->regs, ipic_info[src].mask, temp); temp 561 arch/powerpc/sysdev/ipic.c u32 temp; temp 565 arch/powerpc/sysdev/ipic.c temp = 1 << (31 - ipic_info[src].bit); temp 566 arch/powerpc/sysdev/ipic.c ipic_write(ipic->regs, ipic_info[src].ack, temp); temp 580 arch/powerpc/sysdev/ipic.c u32 temp; temp 584 arch/powerpc/sysdev/ipic.c temp = ipic_read(ipic->regs, ipic_info[src].mask); temp 585 arch/powerpc/sysdev/ipic.c temp &= ~(1 << (31 - ipic_info[src].bit)); temp 586 arch/powerpc/sysdev/ipic.c ipic_write(ipic->regs, ipic_info[src].mask, temp); temp 588 arch/powerpc/sysdev/ipic.c temp = 1 << (31 - ipic_info[src].bit); temp 589 arch/powerpc/sysdev/ipic.c ipic_write(ipic->regs, ipic_info[src].ack, temp); temp 703 arch/powerpc/sysdev/ipic.c u32 temp = 0, ret; temp 728 arch/powerpc/sysdev/ipic.c temp |= SICFR_IPSA; temp 730 arch/powerpc/sysdev/ipic.c temp |= SICFR_IPSB; temp 732 arch/powerpc/sysdev/ipic.c temp |= SICFR_IPSC; temp 734 arch/powerpc/sysdev/ipic.c temp |= SICFR_IPSD; temp 736 arch/powerpc/sysdev/ipic.c temp |= SICFR_MPSA; temp 738 arch/powerpc/sysdev/ipic.c temp |= SICFR_MPSB; temp 740 arch/powerpc/sysdev/ipic.c ipic_write(ipic->regs, IPIC_SICFR, temp); temp 743 arch/powerpc/sysdev/ipic.c temp = 0; temp 745 arch/powerpc/sysdev/ipic.c temp = SERCR_MCPR; temp 746 arch/powerpc/sysdev/ipic.c ipic_write(ipic->regs, IPIC_SERCR, temp); temp 749 arch/powerpc/sysdev/ipic.c temp = ipic_read(ipic->regs, IPIC_SEMSR); temp 752 arch/powerpc/sysdev/ipic.c temp |= SEMSR_SIRQ0; temp 754 arch/powerpc/sysdev/ipic.c temp &= ~SEMSR_SIRQ0; temp 756 arch/powerpc/sysdev/ipic.c ipic_write(ipic->regs, IPIC_SEMSR, temp); temp 137 arch/powerpc/sysdev/tsi108_pci.c u32 temp; temp 150 arch/powerpc/sysdev/tsi108_pci.c __tsi108_read_pci_config(temp, cfg_addr, "lbzx"); temp 153 arch/powerpc/sysdev/tsi108_pci.c __tsi108_read_pci_config(temp, cfg_addr, "lhbrx"); temp 156 arch/powerpc/sysdev/tsi108_pci.c __tsi108_read_pci_config(temp, cfg_addr, "lwbrx"); temp 160 arch/powerpc/sysdev/tsi108_pci.c *val = temp; temp 163 arch/powerpc/sysdev/tsi108_pci.c if ((0xFFFFFFFF != temp) && (0xFFFF != temp) && (0xFF != temp)) { temp 271 arch/powerpc/sysdev/tsi108_pci.c u_int temp = 0; temp 283 arch/powerpc/sysdev/tsi108_pci.c temp = temp 288 arch/powerpc/sysdev/tsi108_pci.c if (temp & (1 << mask % 4)) { temp 296 arch/powerpc/sysdev/tsi108_pci.c temp = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_ENABLE); temp 298 arch/powerpc/sysdev/tsi108_pci.c temp & ~TSI108_PCI_IRP_ENABLE_P_INT); temp 308 arch/powerpc/sysdev/tsi108_pci.c temp = temp 311 arch/powerpc/sysdev/tsi108_pci.c printk(">> stat=0x%08x intad=0x%08x ", pci_irp_stat, temp); temp 312 arch/powerpc/sysdev/tsi108_pci.c temp = temp 315 arch/powerpc/sysdev/tsi108_pci.c printk("cfg_ctl=0x%08x ", temp); temp 316 arch/powerpc/sysdev/tsi108_pci.c temp = temp 319 arch/powerpc/sysdev/tsi108_pci.c printk("irp_enable=0x%08x\n", temp); temp 2379 arch/powerpc/xmon/xmon.c unsigned char temp[16]; temp 2383 arch/powerpc/xmon/xmon.c nr = mread(adrs, temp, r); temp 2387 arch/powerpc/xmon/xmon.c printf("%.2x", temp[m]); temp 2680 arch/powerpc/xmon/xmon.c unsigned char temp[16]; temp 2689 arch/powerpc/xmon/xmon.c if (mread(addr, temp, 16) != 16) { temp 2697 arch/powerpc/xmon/xmon.c case 1: val = temp[j]; break; temp 2698 arch/powerpc/xmon/xmon.c case 2: val = *(u16 *)&temp[j]; break; temp 2699 arch/powerpc/xmon/xmon.c case 4: val = *(u32 *)&temp[j]; break; temp 2700 arch/powerpc/xmon/xmon.c case 8: val = *(u64 *)&temp[j]; break; temp 2798 arch/powerpc/xmon/xmon.c unsigned char temp[16]; temp 2804 arch/powerpc/xmon/xmon.c nr = mread(adrs, temp, r); temp 2810 arch/powerpc/xmon/xmon.c printf("%.2x", temp[m]); temp 2822 arch/powerpc/xmon/xmon.c c = temp[m]; temp 88 arch/s390/appldata/appldata_net_sum.c struct rtnl_link_stats64 temp; temp 90 arch/s390/appldata/appldata_net_sum.c stats = dev_get_stats(dev, &temp); temp 342 arch/s390/kvm/guestdbg.c void *temp = NULL; temp 352 arch/s390/kvm/guestdbg.c temp = kmalloc(wp_info->len, GFP_KERNEL); temp 353 arch/s390/kvm/guestdbg.c if (!temp) temp 357 arch/s390/kvm/guestdbg.c if (!read_guest_abs(vcpu, wp_info->phys_addr, temp, temp 359 arch/s390/kvm/guestdbg.c if (memcmp(temp, wp_info->old_data, wp_info->len)) { temp 360 arch/s390/kvm/guestdbg.c kfree(temp); temp 364 arch/s390/kvm/guestdbg.c kfree(temp); temp 365 arch/s390/kvm/guestdbg.c temp = NULL; temp 26 arch/sh/include/asm/atomic-irq.h unsigned long temp, flags; \ temp 29 arch/sh/include/asm/atomic-irq.h temp = v->counter; \ temp 30 arch/sh/include/asm/atomic-irq.h temp c_op i; \ temp 31 arch/sh/include/asm/atomic-irq.h v->counter = temp; \ temp 34 arch/sh/include/asm/atomic-irq.h return temp; \ temp 40 arch/sh/include/asm/atomic-irq.h unsigned long temp, flags; \ temp 43 arch/sh/include/asm/atomic-irq.h temp = v->counter; \ temp 47 arch/sh/include/asm/atomic-irq.h return temp; \ temp 37 arch/sh/include/asm/atomic-llsc.h unsigned long temp; \ temp 45 arch/sh/include/asm/atomic-llsc.h : "=&z" (temp) \ temp 49 arch/sh/include/asm/atomic-llsc.h return temp; \ temp 55 arch/sh/include/asm/atomic-llsc.h unsigned long res, temp; \ temp 64 arch/sh/include/asm/atomic-llsc.h : "=&z" (temp), "=&r" (res) \ temp 329 arch/sparc/net/bpf_jit_comp_32.c u32 temp[8], *prog, *func, seen = 0, pass; temp 356 arch/sparc/net/bpf_jit_comp_32.c prog = temp; temp 711 arch/sparc/net/bpf_jit_comp_32.c ilen = (void *) prog - (void *) temp; temp 719 arch/sparc/net/bpf_jit_comp_32.c memcpy(image + proglen, temp, ilen); temp 723 arch/sparc/net/bpf_jit_comp_32.c prog = temp; temp 40 arch/unicore32/include/asm/assembler.h .macro disable_irq, temp temp 47 arch/unicore32/include/asm/assembler.h .macro enable_irq, temp temp 24 arch/unicore32/include/asm/irqflags.h unsigned long temp; temp 26 arch/unicore32/include/asm/irqflags.h asm volatile("mov %0, asr" : "=r" (temp) : : "memory", "cc"); temp 28 arch/unicore32/include/asm/irqflags.h return temp & PSR_c; temp 36 arch/unicore32/include/asm/irqflags.h unsigned long temp; temp 42 arch/unicore32/include/asm/irqflags.h : "=&r" (temp) temp 278 arch/x86/kernel/sysfb_efi.c u16 temp = screen_info.lfb_width; temp 281 arch/x86/kernel/sysfb_efi.c screen_info.lfb_height = temp; temp 399 arch/x86/net/bpf_jit_comp.c u8 temp[BPF_MAX_INSN_SIZE + BPF_INSN_SAFETY]; temp 402 arch/x86/net/bpf_jit_comp.c u8 *prog = temp; temp 406 arch/x86/net/bpf_jit_comp.c addrs[0] = prog - temp; temp 1046 arch/x86/net/bpf_jit_comp.c ilen = prog - temp; temp 1057 arch/x86/net/bpf_jit_comp.c memcpy(image + proglen, temp, ilen); temp 1061 arch/x86/net/bpf_jit_comp.c prog = temp; temp 1468 arch/x86/net/bpf_jit_comp32.c u8 temp[BPF_MAX_INSN_SIZE + BPF_INSN_SAFETY]; temp 1471 arch/x86/net/bpf_jit_comp32.c u8 *prog = temp; temp 2274 arch/x86/net/bpf_jit_comp32.c ilen = prog - temp; temp 2285 arch/x86/net/bpf_jit_comp32.c memcpy(image + proglen, temp, ilen); temp 2289 arch/x86/net/bpf_jit_comp32.c prog = temp; temp 146 arch/xtensa/mm/cache.c unsigned long temp = page->index << PAGE_SHIFT; temp 147 arch/xtensa/mm/cache.c unsigned long alias = !(DCACHE_ALIAS_EQ(temp, phys)); temp 163 arch/xtensa/mm/cache.c virt = TLBTEMP_BASE_1 + (temp & DCACHE_ALIAS_MASK); temp 76 block/partitions/ibm.c unsigned char temp[5]; temp 106 block/partitions/ibm.c memcpy(temp, data, 4); temp 107 block/partitions/ibm.c temp[4] = 0; temp 108 block/partitions/ibm.c EBCASC(temp, 4); temp 110 block/partitions/ibm.c if (!strcmp(temp, "VOL1") || temp 111 block/partitions/ibm.c !strcmp(temp, "LNX1") || temp 112 block/partitions/ibm.c !strcmp(temp, "CMS1")) { temp 113 block/partitions/ibm.c if (!strcmp(temp, "VOL1")) { temp 350 crypto/blowfish_common.c u32 data[2], temp; temp 363 crypto/blowfish_common.c temp = (((u32)key[j] << 24) | temp 368 crypto/blowfish_common.c P[i] = P[i] ^ temp; temp 407 crypto/drbg.c unsigned char *temp = iv + drbg_blocklen(drbg); temp 471 crypto/drbg.c ret = drbg_ctr_bcc(drbg, temp + templen, K, &bcc_list); temp 480 crypto/drbg.c X = temp + (drbg_keylen(drbg)); temp 486 crypto/drbg.c drbg_kcapi_symsetkey(drbg, temp); temp 510 crypto/drbg.c memset(temp, 0, drbg_statelen(drbg) + drbg_blocklen(drbg)); temp 535 crypto/drbg.c unsigned char *temp = drbg->scratchpad; temp 566 crypto/drbg.c temp, drbg_statelen(drbg)); temp 571 crypto/drbg.c ret = crypto_skcipher_setkey(drbg->ctr_handle, temp, temp 576 crypto/drbg.c memcpy(drbg->V, temp + drbg_keylen(drbg), drbg_blocklen(drbg)); temp 582 crypto/drbg.c memset(temp, 0, drbg_statelen(drbg) + drbg_blocklen(drbg)); temp 229 crypto/ecc.c u64 temp = in[i]; temp 231 crypto/ecc.c result[i] = (temp << shift) | carry; temp 232 crypto/ecc.c carry = temp >> (64 - shift); temp 247 crypto/ecc.c u64 temp = *vli; temp 248 crypto/ecc.c *vli = (temp >> 1) | carry; temp 249 crypto/ecc.c carry = temp << 63; temp 34 crypto/sha1_generic.c u32 temp[SHA_WORKSPACE_WORDS]; temp 37 crypto/sha1_generic.c sha_transform(sst->state, src, temp); temp 40 crypto/sha1_generic.c memzero_explicit(temp, sizeof(temp)); temp 356 drivers/acpi/acpi_ipmi.c struct acpi_ipmi_msg *tx_msg, *temp; temp 361 drivers/acpi/acpi_ipmi.c list_for_each_entry_safe(tx_msg, temp, &ipmi->tx_msg_list, head) { temp 378 drivers/acpi/acpi_ipmi.c struct acpi_ipmi_msg *tx_msg, *temp; temp 390 drivers/acpi/acpi_ipmi.c list_for_each_entry_safe(tx_msg, temp, &ipmi_device->tx_msg_list, head) { temp 438 drivers/acpi/acpi_ipmi.c struct acpi_ipmi_device *ipmi_device, *temp; temp 460 drivers/acpi/acpi_ipmi.c list_for_each_entry(temp, &driver_data.ipmi_devices, head) { temp 465 drivers/acpi/acpi_ipmi.c if (temp->handle == handle) temp 486 drivers/acpi/acpi_ipmi.c struct acpi_ipmi_device *ipmi_device, *temp; temp 490 drivers/acpi/acpi_ipmi.c list_for_each_entry_safe(ipmi_device, temp, temp 26 drivers/acpi/acpi_lpat.c int i, delta_temp, delta_raw, temp; temp 38 drivers/acpi/acpi_lpat.c delta_temp = lpat[i+1].temp - lpat[i].temp; temp 40 drivers/acpi/acpi_lpat.c temp = lpat[i].temp + (raw - lpat[i].raw) * delta_temp / delta_raw; temp 42 drivers/acpi/acpi_lpat.c return temp; temp 58 drivers/acpi/acpi_lpat.c int temp) temp 64 drivers/acpi/acpi_lpat.c if (temp >= lpat[i].temp && temp <= lpat[i+1].temp) temp 71 drivers/acpi/acpi_lpat.c delta_temp = lpat[i+1].temp - lpat[i].temp; temp 73 drivers/acpi/acpi_lpat.c raw = lpat[i].raw + (temp - lpat[i].temp) * delta_raw / delta_temp; temp 674 drivers/acpi/acpica/dbinput.c u32 temp; temp 690 drivers/acpi/acpica/dbinput.c temp = 0; temp 860 drivers/acpi/acpica/dbinput.c temp = acpi_gbl_db_console_debug_level; temp 865 drivers/acpi/acpica/dbinput.c temp, acpi_gbl_db_console_debug_level); temp 867 drivers/acpi/acpica/dbinput.c temp = acpi_gbl_db_debug_level; temp 872 drivers/acpi/acpica/dbinput.c temp, acpi_gbl_db_debug_level); temp 909 drivers/acpi/acpica/dbinput.c temp = strtoul(acpi_gbl_db_args[2], NULL, 0); temp 910 drivers/acpi/acpica/dbinput.c acpi_db_send_notify(acpi_gbl_db_args[1], temp); temp 311 drivers/acpi/acpica/dbstats.c u32 temp; temp 314 drivers/acpi/acpica/dbstats.c temp = acpi_db_match_argument(type_arg, acpi_db_stat_types); temp 315 drivers/acpi/acpica/dbstats.c if (temp == ACPI_TYPE_NOT_FOUND) { temp 320 drivers/acpi/acpica/dbstats.c switch (temp) { temp 486 drivers/acpi/acpica/dbstats.c temp = temp 495 drivers/acpi/acpica/dbstats.c acpi_os_printf("Stack Use %X (%u)\n", temp, temp 496 drivers/acpi/acpica/dbstats.c temp); temp 133 drivers/acpi/acpica/dbtest.c u32 temp; temp 136 drivers/acpi/acpica/dbtest.c temp = acpi_db_match_argument(type_arg, acpi_db_test_types); temp 137 drivers/acpi/acpica/dbtest.c if (temp == ACPI_TYPE_NOT_FOUND) { temp 142 drivers/acpi/acpica/dbtest.c switch (temp) { temp 30 drivers/acpi/acpica/nsalloc.c u32 temp; temp 43 drivers/acpi/acpica/nsalloc.c temp = acpi_gbl_ns_node_list->total_allocated - temp 45 drivers/acpi/acpica/nsalloc.c if (temp > acpi_gbl_ns_node_list->max_occupied) { temp 46 drivers/acpi/acpica/nsalloc.c acpi_gbl_ns_node_list->max_occupied = temp; temp 84 drivers/acpi/pmic/intel_pmic.c int raw_temp, temp; temp 98 drivers/acpi/pmic/intel_pmic.c temp = acpi_lpat_raw_to_temp(opregion->lpat_table, raw_temp); temp 99 drivers/acpi/pmic/intel_pmic.c if (temp < 0) temp 100 drivers/acpi/pmic/intel_pmic.c return temp; temp 102 drivers/acpi/pmic/intel_pmic.c *value = temp; temp 109 drivers/acpi/sbshc.c u8 temp, sz = 0; temp 118 drivers/acpi/sbshc.c if (smb_hc_read(hc, ACPI_SMB_PROTOCOL, &temp)) temp 120 drivers/acpi/sbshc.c if (temp) { temp 510 drivers/acpi/thermal.c static int thermal_get_temp(struct thermal_zone_device *thermal, int *temp) temp 522 drivers/acpi/thermal.c *temp = DECI_KELVIN_TO_MILLICELSIUS_WITH_OFFSET(tz->temperature, temp 617 drivers/acpi/thermal.c int trip, int *temp) temp 627 drivers/acpi/thermal.c *temp = DECI_KELVIN_TO_MILLICELSIUS_WITH_OFFSET( temp 637 drivers/acpi/thermal.c *temp = DECI_KELVIN_TO_MILLICELSIUS_WITH_OFFSET( temp 647 drivers/acpi/thermal.c *temp = DECI_KELVIN_TO_MILLICELSIUS_WITH_OFFSET( temp 658 drivers/acpi/thermal.c *temp = DECI_KELVIN_TO_MILLICELSIUS_WITH_OFFSET( temp 695 drivers/acpi/thermal.c int temp = DECI_KELVIN_TO_MILLICELSIUS_WITH_OFFSET( temp 700 drivers/acpi/thermal.c if (temp > trip_temp) { temp 5835 drivers/android/binder.c int temp = atomic_read(&stats->bc[i]); temp 5837 drivers/android/binder.c if (temp) temp 5839 drivers/android/binder.c binder_command_strings[i], temp); temp 5845 drivers/android/binder.c int temp = atomic_read(&stats->br[i]); temp 5847 drivers/android/binder.c if (temp) temp 5849 drivers/android/binder.c binder_return_strings[i], temp); temp 330 drivers/ata/ahci_imx.c static int sata_ahci_read_temperature(void *dev, int *temp) temp 414 drivers/ata/ahci_imx.c *temp = ((-559) * a * a) / 1000 + (1379) * a + (-458000); temp 423 drivers/ata/ahci_imx.c unsigned int temp = 0; temp 426 drivers/ata/ahci_imx.c err = sata_ahci_read_temperature(dev, &temp); temp 430 drivers/ata/ahci_imx.c return sprintf(buf, "%u\n", temp); temp 525 drivers/ata/pata_arasan_cf.c u32 temp; temp 536 drivers/ata/pata_arasan_cf.c for_each_sg(qc->sg, sg, qc->n_elem, temp) { temp 163 drivers/ata/pata_samsung_cf.c u8 temp; temp 168 drivers/ata/pata_samsung_cf.c temp = readb(info->ide_addr + S3C_ATA_PIO_RDATA); temp 169 drivers/ata/pata_samsung_cf.c return temp; temp 443 drivers/ata/pata_samsung_cf.c u32 temp = readl(s3c_ide_regbase + S3C_ATA_CTRL); temp 444 drivers/ata/pata_samsung_cf.c temp = state ? (temp | 1) : (temp & ~1); temp 445 drivers/ata/pata_samsung_cf.c writel(temp, s3c_ide_regbase + S3C_ATA_CTRL); temp 372 drivers/ata/sata_fsl.c u32 temp; temp 380 drivers/ata/sata_fsl.c temp = ioread32(csr_base + TRANSCFG); temp 381 drivers/ata/sata_fsl.c temp &= 0xffffffe0; temp 382 drivers/ata/sata_fsl.c iowrite32(temp | rx_watermark, csr_base + TRANSCFG); temp 648 drivers/ata/sata_fsl.c u32 temp; temp 658 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 659 drivers/ata/sata_fsl.c iowrite32((temp & ~0x3F), hcr_base + HCONTROL); temp 669 drivers/ata/sata_fsl.c u32 temp; temp 672 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HSTATUS); temp 674 drivers/ata/sata_fsl.c VPRINTK("xx_thaw, pending IRQs = 0x%x\n", (temp & 0x3F)); temp 676 drivers/ata/sata_fsl.c if (temp & 0x3F) temp 677 drivers/ata/sata_fsl.c iowrite32((temp & 0x3F), hcr_base + HSTATUS); temp 680 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 681 drivers/ata/sata_fsl.c iowrite32((temp | DEFAULT_PORT_IRQ_ENABLE_MASK), hcr_base + HCONTROL); temp 691 drivers/ata/sata_fsl.c u32 temp; temp 693 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 694 drivers/ata/sata_fsl.c iowrite32((temp | HCONTROL_PMP_ATTACHED), hcr_base + HCONTROL); temp 701 drivers/ata/sata_fsl.c u32 temp; temp 703 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 704 drivers/ata/sata_fsl.c temp &= ~HCONTROL_PMP_ATTACHED; temp 705 drivers/ata/sata_fsl.c iowrite32(temp, hcr_base + HCONTROL); temp 708 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 709 drivers/ata/sata_fsl.c iowrite32((temp | DEFAULT_PORT_IRQ_ENABLE_MASK), hcr_base + HCONTROL); temp 721 drivers/ata/sata_fsl.c u32 temp; temp 759 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 760 drivers/ata/sata_fsl.c iowrite32((temp | HCONTROL_ONLINE_PHY_RST), hcr_base + HCONTROL); temp 775 drivers/ata/sata_fsl.c u32 temp; temp 780 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 781 drivers/ata/sata_fsl.c temp &= ~HCONTROL_ONLINE_PHY_RST; temp 782 drivers/ata/sata_fsl.c temp |= HCONTROL_FORCE_OFFLINE; temp 783 drivers/ata/sata_fsl.c iowrite32(temp, hcr_base + HCONTROL); temp 800 drivers/ata/sata_fsl.c u32 temp; temp 802 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + SIGNATURE); temp 804 drivers/ata/sata_fsl.c VPRINTK("raw sig = 0x%x\n", temp); temp 808 drivers/ata/sata_fsl.c tf.lbah = (temp >> 24) & 0xff; temp 809 drivers/ata/sata_fsl.c tf.lbam = (temp >> 16) & 0xff; temp 810 drivers/ata/sata_fsl.c tf.lbal = (temp >> 8) & 0xff; temp 811 drivers/ata/sata_fsl.c tf.nsect = temp & 0xff; temp 822 drivers/ata/sata_fsl.c u32 temp; temp 832 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 833 drivers/ata/sata_fsl.c temp &= ~HCONTROL_ONLINE_PHY_RST; temp 834 drivers/ata/sata_fsl.c iowrite32(temp, hcr_base + HCONTROL); temp 837 drivers/ata/sata_fsl.c temp = ata_wait_register(ap, hcr_base + HSTATUS, ONLINE, ONLINE, temp 840 drivers/ata/sata_fsl.c if (temp & ONLINE) { temp 871 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 872 drivers/ata/sata_fsl.c temp |= (HCONTROL_ONLINE_PHY_RST | HCONTROL_SNOOP_ENABLE); temp 873 drivers/ata/sata_fsl.c temp |= HCONTROL_PMP_ATTACHED; temp 874 drivers/ata/sata_fsl.c iowrite32(temp, hcr_base + HCONTROL); temp 876 drivers/ata/sata_fsl.c temp = ata_wait_register(ap, hcr_base + HSTATUS, ONLINE, 0, 1, 500); temp 878 drivers/ata/sata_fsl.c if (!(temp & ONLINE)) { temp 893 drivers/ata/sata_fsl.c temp = ata_wait_register(ap, hcr_base + HSTATUS, 0xFF, 0, 1, 500); temp 894 drivers/ata/sata_fsl.c if ((!(temp & 0x10)) || ata_link_offline(link)) { temp 905 drivers/ata/sata_fsl.c temp = ata_wait_register(ap, hcr_base + HSTATUS, 0xFF, 0x10, temp 908 drivers/ata/sata_fsl.c if ((temp & 0xFF) != 0x18) { temp 937 drivers/ata/sata_fsl.c u32 temp; temp 987 drivers/ata/sata_fsl.c temp = ata_wait_register(ap, CQ + hcr_base, 0x1, 0x1, 1, 5000); temp 988 drivers/ata/sata_fsl.c if (temp & 0x1) { temp 1348 drivers/ata/sata_fsl.c u32 temp; temp 1357 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 1358 drivers/ata/sata_fsl.c iowrite32(temp & ~HCONTROL_LEGACY, hcr_base + HCONTROL); temp 1361 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HSTATUS); temp 1362 drivers/ata/sata_fsl.c if (temp & 0x3F) temp 1363 drivers/ata/sata_fsl.c iowrite32((temp & 0x3F), hcr_base + HSTATUS); temp 1366 drivers/ata/sata_fsl.c temp = ioread32(hcr_base + HCONTROL); temp 1367 drivers/ata/sata_fsl.c iowrite32((temp & ~0x3F), hcr_base + HCONTROL); temp 1449 drivers/ata/sata_fsl.c u32 temp; temp 1464 drivers/ata/sata_fsl.c temp = ioread32(csr_base + TRANSCFG); temp 1465 drivers/ata/sata_fsl.c temp = temp & 0xffffffe0; temp 1466 drivers/ata/sata_fsl.c iowrite32(temp | TRANSCFG_RX_WATER_MARK, csr_base + TRANSCFG); temp 934 drivers/block/null_blk_main.c size_t temp, count = 0; temp 940 drivers/block/null_blk_main.c temp = min_t(size_t, nullb->dev->blocksize, n - count); temp 953 drivers/block/null_blk_main.c memcpy(dst + offset, src + off + count, temp); temp 962 drivers/block/null_blk_main.c count += temp; temp 963 drivers/block/null_blk_main.c sector += temp >> SECTOR_SHIFT; temp 971 drivers/block/null_blk_main.c size_t temp, count = 0; temp 977 drivers/block/null_blk_main.c temp = min_t(size_t, nullb->dev->blocksize, n - count); temp 985 drivers/block/null_blk_main.c memset(dst + off + count, 0, temp); temp 989 drivers/block/null_blk_main.c memcpy(dst + off + count, src + offset, temp); temp 994 drivers/block/null_blk_main.c count += temp; temp 995 drivers/block/null_blk_main.c sector += temp >> SECTOR_SHIFT; temp 1002 drivers/block/null_blk_main.c size_t temp; temp 1006 drivers/block/null_blk_main.c temp = min_t(size_t, n, nullb->dev->blocksize); temp 1010 drivers/block/null_blk_main.c sector += temp >> SECTOR_SHIFT; temp 1011 drivers/block/null_blk_main.c n -= temp; temp 24 drivers/char/agp/ali-agp.c u32 temp; temp 27 drivers/char/agp/ali-agp.c pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); temp 28 drivers/char/agp/ali-agp.c temp &= ~(0xfffffff0); temp 32 drivers/char/agp/ali-agp.c if (temp == values[i].size_value) { temp 45 drivers/char/agp/ali-agp.c u32 temp; temp 47 drivers/char/agp/ali-agp.c pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); temp 48 drivers/char/agp/ali-agp.c temp &= 0xfffffff0; temp 49 drivers/char/agp/ali-agp.c temp |= (1<<0 | 1<<1); temp 50 drivers/char/agp/ali-agp.c pci_write_config_dword(agp_bridge->dev, ALI_TAGCTRL, temp); temp 56 drivers/char/agp/ali-agp.c u32 temp; temp 60 drivers/char/agp/ali-agp.c pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); temp 63 drivers/char/agp/ali-agp.c ((temp & 0xffffff00) | 0x00000001|0x00000002)); temp 65 drivers/char/agp/ali-agp.c pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); temp 67 drivers/char/agp/ali-agp.c ((temp & 0x00000ff0) | previous_size->size_value)); temp 72 drivers/char/agp/ali-agp.c u32 temp; temp 78 drivers/char/agp/ali-agp.c pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); temp 79 drivers/char/agp/ali-agp.c temp = (((temp & 0x00000ff0) | (agp_bridge->gatt_bus_addr & 0xfffff000)) temp 81 drivers/char/agp/ali-agp.c pci_write_config_dword(agp_bridge->dev, ALI_ATTBASE, temp); temp 84 drivers/char/agp/ali-agp.c pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); temp 85 drivers/char/agp/ali-agp.c pci_write_config_dword(agp_bridge->dev, ALI_TLBCTRL, ((temp & 0xffffff00) | 0x00000010)); temp 118 drivers/char/agp/ali-agp.c pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); temp 119 drivers/char/agp/ali-agp.c temp &= 0xffffff7f; //enable TLB temp 120 drivers/char/agp/ali-agp.c pci_write_config_dword(agp_bridge->dev, ALI_TLBCTRL, temp); temp 129 drivers/char/agp/ali-agp.c u32 temp; temp 136 drivers/char/agp/ali-agp.c &temp); temp 138 drivers/char/agp/ali-agp.c (((temp & ALI_CACHE_FLUSH_ADDR_MASK) | temp 147 drivers/char/agp/ali-agp.c u32 temp; temp 152 drivers/char/agp/ali-agp.c pci_read_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, &temp); temp 154 drivers/char/agp/ali-agp.c (((temp & ALI_CACHE_FLUSH_ADDR_MASK) | temp 172 drivers/char/agp/ali-agp.c u32 temp; temp 180 drivers/char/agp/ali-agp.c pci_read_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, &temp); temp 182 drivers/char/agp/ali-agp.c (((temp & ALI_CACHE_FLUSH_ADDR_MASK) | temp 89 drivers/char/agp/alpha-agp.c void *temp; temp 94 drivers/char/agp/alpha-agp.c temp = agp_bridge->current_size; temp 95 drivers/char/agp/alpha-agp.c num_entries = A_SIZE_FIX(temp)->num_entries; temp 188 drivers/char/agp/amd-k7-agp.c u32 temp; temp 191 drivers/char/agp/amd-k7-agp.c pci_read_config_dword(agp_bridge->dev, AMD_APSIZE, &temp); temp 192 drivers/char/agp/amd-k7-agp.c temp = (temp & 0x0000000e); temp 195 drivers/char/agp/amd-k7-agp.c if (temp == values[i].size_value) { temp 211 drivers/char/agp/amd-k7-agp.c u32 temp; temp 241 drivers/char/agp/amd-k7-agp.c pci_read_config_dword(agp_bridge->dev, AMD_APSIZE, &temp); temp 242 drivers/char/agp/amd-k7-agp.c temp = (((temp & ~(0x0000000e)) | current_size->size_value) | 1); temp 243 drivers/char/agp/amd-k7-agp.c pci_write_config_dword(agp_bridge->dev, AMD_APSIZE, temp); temp 254 drivers/char/agp/amd-k7-agp.c u32 temp; temp 265 drivers/char/agp/amd-k7-agp.c pci_read_config_dword(agp_bridge->dev, AMD_APSIZE, &temp); temp 266 drivers/char/agp/amd-k7-agp.c temp = ((temp & ~(0x0000000f)) | previous_size->size_value); temp 267 drivers/char/agp/amd-k7-agp.c pci_write_config_dword(agp_bridge->dev, AMD_APSIZE, temp); temp 279 drivers/char/agp/amd-k7-agp.c static void amd_irongate_tlbflush(struct agp_memory *temp) temp 40 drivers/char/agp/amd64-agp.c static void amd64_tlbflush(struct agp_memory *temp) temp 125 drivers/char/agp/amd64-agp.c u32 temp; temp 132 drivers/char/agp/amd64-agp.c pci_read_config_dword(dev, AMD64_GARTAPERTURECTL, &temp); temp 133 drivers/char/agp/amd64-agp.c temp = (temp & 0xe); temp 137 drivers/char/agp/amd64-agp.c if (temp == values[i].size_value) { temp 149 drivers/char/agp/ati-agp.c u32 temp; temp 153 drivers/char/agp/ati-agp.c pci_read_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, &temp); temp 155 drivers/char/agp/ati-agp.c pci_read_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, &temp); temp 157 drivers/char/agp/ati-agp.c temp = (temp & 0x0000000e); temp 160 drivers/char/agp/ati-agp.c if (temp == values[i].size_value) { temp 181 drivers/char/agp/ati-agp.c u32 temp; temp 187 drivers/char/agp/ati-agp.c pci_read_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, &temp); temp 188 drivers/char/agp/ati-agp.c temp = ((temp & ~(0x0000000f)) | previous_size->size_value); temp 189 drivers/char/agp/ati-agp.c pci_write_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, temp); temp 191 drivers/char/agp/ati-agp.c pci_read_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, &temp); temp 192 drivers/char/agp/ati-agp.c temp = ((temp & ~(0x0000000f)) | previous_size->size_value); temp 193 drivers/char/agp/ati-agp.c pci_write_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, temp); temp 202 drivers/char/agp/ati-agp.c u32 temp; temp 226 drivers/char/agp/ati-agp.c pci_read_config_dword(agp_bridge->dev, PCI_COMMAND, &temp); temp 227 drivers/char/agp/ati-agp.c pci_write_config_dword(agp_bridge->dev, PCI_COMMAND, temp | (1<<14)); temp 349 drivers/char/agp/ati-agp.c u32 temp; temp 372 drivers/char/agp/ati-agp.c pci_read_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, &temp); temp 373 drivers/char/agp/ati-agp.c temp = (((temp & ~(0x0000000e)) | current_size->size_value) temp 375 drivers/char/agp/ati-agp.c pci_write_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, temp); temp 376 drivers/char/agp/ati-agp.c pci_read_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, &temp); temp 378 drivers/char/agp/ati-agp.c pci_read_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, &temp); temp 379 drivers/char/agp/ati-agp.c temp = (((temp & ~(0x0000000e)) | current_size->size_value) temp 381 drivers/char/agp/ati-agp.c pci_write_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, temp); temp 382 drivers/char/agp/ati-agp.c pci_read_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, &temp); temp 91 drivers/char/agp/efficeon-agp.c u16 temp; temp 94 drivers/char/agp/efficeon-agp.c pci_read_config_word(agp_bridge->dev, INTEL_APSIZE, &temp); temp 98 drivers/char/agp/efficeon-agp.c if (temp == values[i].size_value) { temp 118 drivers/char/agp/efficeon-agp.c u16 temp; temp 123 drivers/char/agp/efficeon-agp.c pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp); temp 124 drivers/char/agp/efficeon-agp.c pci_write_config_word(agp_bridge->dev, INTEL_NBXCFG, temp & ~(1 << 9)); temp 66 drivers/char/agp/frontend.c static void agp_remove_from_pool(struct agp_memory *temp) temp 73 drivers/char/agp/frontend.c DBG("mem=%p", temp); temp 74 drivers/char/agp/frontend.c if (agp_find_mem_by_key(temp->key) != NULL) { temp 75 drivers/char/agp/frontend.c next = temp->next; temp 76 drivers/char/agp/frontend.c prev = temp->prev; temp 199 drivers/char/agp/frontend.c static void agp_insert_into_pool(struct agp_memory * temp) temp 206 drivers/char/agp/frontend.c prev->prev = temp; temp 207 drivers/char/agp/frontend.c temp->next = prev; temp 209 drivers/char/agp/frontend.c agp_fe.current_controller->pool = temp; temp 338 drivers/char/agp/frontend.c struct agp_client *temp; temp 345 drivers/char/agp/frontend.c temp = client; temp 346 drivers/char/agp/frontend.c agp_remove_seg_from_client(temp); temp 347 drivers/char/agp/frontend.c priv = agp_find_private(temp->pid); temp 354 drivers/char/agp/frontend.c kfree(temp); temp 361 drivers/char/agp/frontend.c struct agp_memory *temp; temp 366 drivers/char/agp/frontend.c temp = memory; temp 368 drivers/char/agp/frontend.c agp_free_memory_wrap(temp); temp 490 drivers/char/agp/frontend.c struct agp_client *temp; temp 495 drivers/char/agp/frontend.c temp = agp_find_client_in_controller(agp_fe.current_controller, id); temp 496 drivers/char/agp/frontend.c return temp; temp 287 drivers/char/agp/generic.c void *temp; temp 289 drivers/char/agp/generic.c temp = agp_bridge->current_size; temp 293 drivers/char/agp/generic.c current_size = A_SIZE_8(temp)->size; temp 296 drivers/char/agp/generic.c current_size = A_SIZE_16(temp)->size; temp 299 drivers/char/agp/generic.c current_size = A_SIZE_32(temp)->size; temp 302 drivers/char/agp/generic.c current_size = A_SIZE_LVL2(temp)->size; temp 305 drivers/char/agp/generic.c current_size = A_SIZE_FIX(temp)->size; temp 322 drivers/char/agp/generic.c void *temp; temp 324 drivers/char/agp/generic.c temp = agp_bridge->current_size; temp 328 drivers/char/agp/generic.c num_entries = A_SIZE_8(temp)->num_entries; temp 331 drivers/char/agp/generic.c num_entries = A_SIZE_16(temp)->num_entries; temp 334 drivers/char/agp/generic.c num_entries = A_SIZE_32(temp)->num_entries; temp 337 drivers/char/agp/generic.c num_entries = A_SIZE_LVL2(temp)->num_entries; temp 340 drivers/char/agp/generic.c num_entries = A_SIZE_FIX(temp)->num_entries; temp 805 drivers/char/agp/generic.c u32 bridge_agpstat, temp; temp 834 drivers/char/agp/generic.c bridge->capndx+AGPCTRL, &temp); temp 835 drivers/char/agp/generic.c temp |= (1<<9); temp 837 drivers/char/agp/generic.c bridge->capndx+AGPCTRL, temp); temp 857 drivers/char/agp/generic.c void *temp; temp 866 drivers/char/agp/generic.c temp = bridge->current_size; temp 873 drivers/char/agp/generic.c size = A_SIZE_8(temp)->size; temp 875 drivers/char/agp/generic.c A_SIZE_8(temp)->page_order; temp 877 drivers/char/agp/generic.c A_SIZE_8(temp)->num_entries; temp 880 drivers/char/agp/generic.c size = A_SIZE_16(temp)->size; temp 881 drivers/char/agp/generic.c page_order = A_SIZE_16(temp)->page_order; temp 882 drivers/char/agp/generic.c num_entries = A_SIZE_16(temp)->num_entries; temp 885 drivers/char/agp/generic.c size = A_SIZE_32(temp)->size; temp 886 drivers/char/agp/generic.c page_order = A_SIZE_32(temp)->page_order; temp 887 drivers/char/agp/generic.c num_entries = A_SIZE_32(temp)->num_entries; temp 917 drivers/char/agp/generic.c temp = bridge->current_size; temp 923 drivers/char/agp/generic.c size = ((struct aper_size_info_fixed *) temp)->size; temp 924 drivers/char/agp/generic.c page_order = ((struct aper_size_info_fixed *) temp)->page_order; temp 925 drivers/char/agp/generic.c num_entries = ((struct aper_size_info_fixed *) temp)->num_entries; temp 976 drivers/char/agp/generic.c void *temp; temp 979 drivers/char/agp/generic.c temp = bridge->current_size; temp 983 drivers/char/agp/generic.c page_order = A_SIZE_8(temp)->page_order; temp 986 drivers/char/agp/generic.c page_order = A_SIZE_16(temp)->page_order; temp 989 drivers/char/agp/generic.c page_order = A_SIZE_32(temp)->page_order; temp 992 drivers/char/agp/generic.c page_order = A_SIZE_FIX(temp)->page_order; temp 1034 drivers/char/agp/generic.c void *temp; temp 1045 drivers/char/agp/generic.c temp = bridge->current_size; temp 1049 drivers/char/agp/generic.c num_entries = A_SIZE_8(temp)->num_entries; temp 1052 drivers/char/agp/generic.c num_entries = A_SIZE_16(temp)->num_entries; temp 1055 drivers/char/agp/generic.c num_entries = A_SIZE_32(temp)->num_entries; temp 1058 drivers/char/agp/generic.c num_entries = A_SIZE_FIX(temp)->num_entries; temp 1377 drivers/char/agp/generic.c u32 temp; temp 1390 drivers/char/agp/generic.c pci_read_config_dword(agp_bridge->dev, agp_bridge->capndx+AGPCTRL, &temp); temp 1391 drivers/char/agp/generic.c pci_write_config_dword(agp_bridge->dev, agp_bridge->capndx+AGPCTRL, temp | AGPCTRL_APERENB | AGPCTRL_GTLBEN); temp 107 drivers/char/agp/i460-agp.c u8 temp; temp 111 drivers/char/agp/i460-agp.c pci_read_config_byte(agp_bridge->dev, INTEL_I460_GXBCTL, &temp); temp 112 drivers/char/agp/i460-agp.c i460.io_page_shift = (temp & I460_4M_PS) ? 22 : 12; temp 126 drivers/char/agp/i460-agp.c pci_read_config_byte(agp_bridge->dev, INTEL_I460_AGPSIZ, &temp); temp 129 drivers/char/agp/i460-agp.c if (temp & I460_SRAM_IO_DISABLE) { temp 136 drivers/char/agp/i460-agp.c if ((i460.io_page_shift == 0) && ((temp & I460_AGPSIZ_MASK) == 4)) { temp 142 drivers/char/agp/i460-agp.c if (temp & I460_BAPBASE_ENABLE) temp 159 drivers/char/agp/i460-agp.c if ((temp & I460_AGPSIZ_MASK) == values[i].size_value) { temp 181 drivers/char/agp/i460-agp.c u8 temp; temp 183 drivers/char/agp/i460-agp.c pci_read_config_byte(agp_bridge->dev, INTEL_I460_AGPSIZ, &temp); temp 185 drivers/char/agp/i460-agp.c ((temp & ~I460_AGPSIZ_MASK) | size_value)); temp 204 drivers/char/agp/i460-agp.c } temp; temp 209 drivers/char/agp/i460-agp.c temp.large = 0; temp 219 drivers/char/agp/i460-agp.c pci_read_config_dword(agp_bridge->dev, i460.dynamic_apbase, &(temp.small[0])); temp 220 drivers/char/agp/i460-agp.c pci_read_config_dword(agp_bridge->dev, i460.dynamic_apbase + 4, &(temp.small[1])); temp 223 drivers/char/agp/i460-agp.c agp_bridge->gart_bus_addr = temp.large & ~((1UL << 3) - 1); temp 245 drivers/char/agp/i460-agp.c void *temp; temp 250 drivers/char/agp/i460-agp.c temp = agp_bridge->current_size; temp 251 drivers/char/agp/i460-agp.c page_order = A_SIZE_8(temp)->page_order; temp 252 drivers/char/agp/i460-agp.c num_entries = A_SIZE_8(temp)->num_entries; temp 274 drivers/char/agp/i460-agp.c void *temp; temp 276 drivers/char/agp/i460-agp.c temp = agp_bridge->current_size; temp 278 drivers/char/agp/i460-agp.c num_entries = A_SIZE_8(temp)->num_entries; temp 298 drivers/char/agp/i460-agp.c void *temp; temp 308 drivers/char/agp/i460-agp.c temp = agp_bridge->current_size; temp 309 drivers/char/agp/i460-agp.c num_entries = A_SIZE_8(temp)->num_entries; temp 405 drivers/char/agp/i460-agp.c void *temp; temp 410 drivers/char/agp/i460-agp.c temp = agp_bridge->current_size; temp 411 drivers/char/agp/i460-agp.c num_entries = A_SIZE_8(temp)->num_entries; temp 466 drivers/char/agp/i460-agp.c void *temp; temp 468 drivers/char/agp/i460-agp.c temp = agp_bridge->current_size; temp 469 drivers/char/agp/i460-agp.c num_entries = A_SIZE_8(temp)->num_entries; temp 20 drivers/char/agp/intel-agp.c u16 temp; temp 23 drivers/char/agp/intel-agp.c pci_read_config_word(agp_bridge->dev, INTEL_APSIZE, &temp); temp 27 drivers/char/agp/intel-agp.c if (temp == values[i].size_value) { temp 37 drivers/char/agp/intel-agp.c static int __intel_8xx_fetch_size(u8 temp) temp 45 drivers/char/agp/intel-agp.c if (temp == values[i].size_value) { temp 57 drivers/char/agp/intel-agp.c u8 temp; temp 59 drivers/char/agp/intel-agp.c pci_read_config_byte(agp_bridge->dev, INTEL_APSIZE, &temp); temp 60 drivers/char/agp/intel-agp.c return __intel_8xx_fetch_size(temp); temp 65 drivers/char/agp/intel-agp.c u8 temp; temp 69 drivers/char/agp/intel-agp.c pci_read_config_byte(agp_bridge->dev, INTEL_APSIZE, &temp); temp 70 drivers/char/agp/intel-agp.c temp &= (1 << 3); temp 72 drivers/char/agp/intel-agp.c return __intel_8xx_fetch_size(temp); temp 84 drivers/char/agp/intel-agp.c u32 temp; temp 85 drivers/char/agp/intel-agp.c pci_read_config_dword(agp_bridge->dev, INTEL_AGPCTRL, &temp); temp 86 drivers/char/agp/intel-agp.c pci_write_config_dword(agp_bridge->dev, INTEL_AGPCTRL, temp & ~(1 << 7)); temp 87 drivers/char/agp/intel-agp.c pci_read_config_dword(agp_bridge->dev, INTEL_AGPCTRL, &temp); temp 88 drivers/char/agp/intel-agp.c pci_write_config_dword(agp_bridge->dev, INTEL_AGPCTRL, temp | (1 << 7)); temp 94 drivers/char/agp/intel-agp.c u16 temp; temp 98 drivers/char/agp/intel-agp.c pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp); temp 99 drivers/char/agp/intel-agp.c pci_write_config_word(agp_bridge->dev, INTEL_NBXCFG, temp & ~(1 << 9)); temp 106 drivers/char/agp/intel-agp.c u16 temp; temp 110 drivers/char/agp/intel-agp.c pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp); temp 111 drivers/char/agp/intel-agp.c pci_write_config_word(agp_bridge->dev, INTEL_NBXCFG, temp & ~(1 << 9)); temp 193 drivers/char/agp/intel-agp.c u8 temp; temp 197 drivers/char/agp/intel-agp.c pci_read_config_byte(agp_bridge->dev, INTEL_I820_RDCR, &temp); temp 199 drivers/char/agp/intel-agp.c temp & ~(1 << 1)); temp 1018 drivers/char/agp/intel-gtt.c u32 temp; temp 1020 drivers/char/agp/intel-gtt.c pci_read_config_dword(intel_private.bridge_dev, I915_IFPADDR, &temp); temp 1021 drivers/char/agp/intel-gtt.c if (!(temp & 0x1)) { temp 1026 drivers/char/agp/intel-gtt.c temp &= ~1; temp 1029 drivers/char/agp/intel-gtt.c intel_private.ifp_resource.start = temp; temp 1030 drivers/char/agp/intel-gtt.c intel_private.ifp_resource.end = temp + PAGE_SIZE; temp 111 drivers/char/agp/nvidia-agp.c u32 temp; temp 148 drivers/char/agp/nvidia-agp.c pci_read_config_dword(nvidia_private.dev_2, NVIDIA_2_GARTCTRL, &temp); temp 149 drivers/char/agp/nvidia-agp.c pci_write_config_dword(nvidia_private.dev_2, NVIDIA_2_GARTCTRL, temp | 0x11); temp 152 drivers/char/agp/nvidia-agp.c pci_read_config_dword(agp_bridge->dev, NVIDIA_0_APSIZE, &temp); temp 153 drivers/char/agp/nvidia-agp.c pci_write_config_dword(agp_bridge->dev, NVIDIA_0_APSIZE, temp | 0x100); temp 169 drivers/char/agp/nvidia-agp.c u32 temp; temp 172 drivers/char/agp/nvidia-agp.c pci_read_config_dword(agp_bridge->dev, NVIDIA_0_APSIZE, &temp); temp 173 drivers/char/agp/nvidia-agp.c pci_write_config_dword(agp_bridge->dev, NVIDIA_0_APSIZE, temp & ~(0x100)); temp 176 drivers/char/agp/nvidia-agp.c pci_read_config_dword(nvidia_private.dev_2, NVIDIA_2_GARTCTRL, &temp); temp 177 drivers/char/agp/nvidia-agp.c pci_write_config_dword(nvidia_private.dev_2, NVIDIA_2_GARTCTRL, temp & ~(0x11)); temp 264 drivers/char/agp/nvidia-agp.c u32 wbc_reg, temp; temp 286 drivers/char/agp/nvidia-agp.c temp = readl(nvidia_private.aperture+(i * PAGE_SIZE / sizeof(u32))); temp 288 drivers/char/agp/nvidia-agp.c temp = readl(nvidia_private.aperture+(i * PAGE_SIZE / sizeof(u32))); temp 143 drivers/char/agp/sworks-agp.c u32 temp; temp 178 drivers/char/agp/sworks-agp.c pci_read_config_dword(agp_bridge->dev,serverworks_private.gart_addr_ofs,&temp); temp 179 drivers/char/agp/sworks-agp.c agp_bridge->gart_bus_addr = (temp & PCI_BASE_ADDRESS_MEM_MASK); temp 204 drivers/char/agp/sworks-agp.c u32 temp; temp 209 drivers/char/agp/sworks-agp.c pci_read_config_dword(agp_bridge->dev,serverworks_private.gart_addr_ofs,&temp); temp 213 drivers/char/agp/sworks-agp.c pci_write_config_dword(agp_bridge->dev,serverworks_private.gart_addr_ofs,temp); temp 236 drivers/char/agp/sworks-agp.c static void serverworks_tlbflush(struct agp_memory *temp) temp 266 drivers/char/agp/sworks-agp.c u32 temp; temp 273 drivers/char/agp/sworks-agp.c pci_read_config_dword(agp_bridge->dev, serverworks_private.mm_addr_ofs, &temp); temp 274 drivers/char/agp/sworks-agp.c temp = (temp & PCI_BASE_ADDRESS_MEM_MASK); temp 275 drivers/char/agp/sworks-agp.c serverworks_private.registers = (volatile u8 __iomem *) ioremap(temp, 4096); temp 277 drivers/char/agp/sworks-agp.c dev_err(&agp_bridge->dev->dev, "can't ioremap(%#x)\n", temp); temp 454 drivers/char/agp/sworks-agp.c u32 temp, temp2; temp 488 drivers/char/agp/sworks-agp.c pci_read_config_dword(pdev, SVWRKS_APSIZE, &temp); temp 489 drivers/char/agp/sworks-agp.c if (temp & PCI_BASE_ADDRESS_MEM_TYPE_64) { temp 500 drivers/char/agp/sworks-agp.c pci_read_config_dword(pdev, serverworks_private.mm_addr_ofs, &temp); temp 501 drivers/char/agp/sworks-agp.c if (temp & PCI_BASE_ADDRESS_MEM_TYPE_64) { temp 152 drivers/char/agp/uninorth-agp.c void *temp; temp 168 drivers/char/agp/uninorth-agp.c temp = agp_bridge->current_size; temp 169 drivers/char/agp/uninorth-agp.c num_entries = A_SIZE_32(temp)->num_entries; temp 376 drivers/char/agp/uninorth-agp.c void *temp; temp 385 drivers/char/agp/uninorth-agp.c temp = bridge->current_size; temp 389 drivers/char/agp/uninorth-agp.c size = A_SIZE_32(temp)->size; temp 390 drivers/char/agp/uninorth-agp.c page_order = A_SIZE_32(temp)->page_order; temp 391 drivers/char/agp/uninorth-agp.c num_entries = A_SIZE_32(temp)->num_entries; temp 452 drivers/char/agp/uninorth-agp.c void *temp; temp 455 drivers/char/agp/uninorth-agp.c temp = bridge->current_size; temp 456 drivers/char/agp/uninorth-agp.c page_order = A_SIZE_32(temp)->page_order; temp 27 drivers/char/agp/via-agp.c u8 temp; temp 31 drivers/char/agp/via-agp.c pci_read_config_byte(agp_bridge->dev, VIA_APSIZE, &temp); temp 33 drivers/char/agp/via-agp.c if (temp == values[i].size_value) { temp 40 drivers/char/agp/via-agp.c printk(KERN_ERR PFX "Unknown aperture size from AGP bridge (0x%x)\n", temp); temp 82 drivers/char/agp/via-agp.c u32 temp; temp 84 drivers/char/agp/via-agp.c pci_read_config_dword(agp_bridge->dev, VIA_GARTCTRL, &temp); temp 85 drivers/char/agp/via-agp.c temp |= (1<<7); temp 86 drivers/char/agp/via-agp.c pci_write_config_dword(agp_bridge->dev, VIA_GARTCTRL, temp); temp 87 drivers/char/agp/via-agp.c temp &= ~(1<<7); temp 88 drivers/char/agp/via-agp.c pci_write_config_dword(agp_bridge->dev, VIA_GARTCTRL, temp); temp 109 drivers/char/agp/via-agp.c u16 temp; temp 113 drivers/char/agp/via-agp.c pci_read_config_word(agp_bridge->dev, VIA_AGP3_APSIZE, &temp); temp 114 drivers/char/agp/via-agp.c temp &= 0xfff; temp 117 drivers/char/agp/via-agp.c if (temp == values[i].size_value) { temp 130 drivers/char/agp/via-agp.c u32 temp; temp 148 drivers/char/agp/via-agp.c pci_read_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, &temp); temp 149 drivers/char/agp/via-agp.c pci_write_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, temp | (3<<7)); temp 165 drivers/char/agp/via-agp.c u32 temp; temp 167 drivers/char/agp/via-agp.c pci_read_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, &temp); temp 168 drivers/char/agp/via-agp.c pci_write_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, temp & ~(1<<7)); temp 169 drivers/char/agp/via-agp.c pci_write_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, temp); temp 337 drivers/char/ds1620.c int temp; temp 340 drivers/char/ds1620.c temp = cvt_9_to_int(ds1620_in(THERM_READ_TEMP, 9)); temp 345 drivers/char/ds1620.c temp >> 1, temp & 1 ? 5 : 0, temp 844 drivers/char/hpet.c unsigned long long temp; temp 895 drivers/char/hpet.c temp = 1000000000000000uLL; /* 10^15 femtoseconds per second */ temp 896 drivers/char/hpet.c temp += period >> 1; /* round */ temp 897 drivers/char/hpet.c do_div(temp, period); temp 898 drivers/char/hpet.c hpetp->hp_tick_freq = temp; /* ticks per second */ temp 907 drivers/char/hpet.c temp = hpetp->hp_tick_freq; temp 908 drivers/char/hpet.c remainder = do_div(temp, 1000000); temp 913 drivers/char/hpet.c (unsigned) temp, remainder); temp 703 drivers/char/mwave/3780i.c unsigned short temp; temp 720 drivers/char/mwave/3780i.c temp = (unsigned short) ~(*pusIPCSource); temp 724 drivers/char/mwave/3780i.c *pusIPCSource, temp); temp 149 drivers/char/nwflash.c int nBlock, temp, rc; temp 187 drivers/char/nwflash.c temp = ((int) (p + count) >> 16) - nBlock + 1; temp 193 drivers/char/nwflash.c temp -= 1; temp 197 drivers/char/nwflash.c "starting at %d.\n", temp, nBlock); temp 199 drivers/char/nwflash.c for (; temp; temp--, nBlock++) { temp 297 drivers/char/nwflash.c int temp, temp1; temp 382 drivers/char/nwflash.c for (temp = 0; temp < 16 * 1024; temp++, pWritePtr += 4) { temp 182 drivers/char/tpm/st33zp24/st33zp24.c u8 temp; temp 187 drivers/char/tpm/st33zp24/st33zp24.c &temp, 1); temp 191 drivers/char/tpm/st33zp24/st33zp24.c burstcnt = temp; temp 193 drivers/char/tpm/st33zp24/st33zp24.c &temp, 1); temp 197 drivers/char/tpm/st33zp24/st33zp24.c burstcnt |= temp << 8; temp 494 drivers/char/tpm/tpm_i2c_nuvoton.c u32 temp; temp 499 drivers/char/tpm/tpm_i2c_nuvoton.c rc = i2c_nuvoton_read_buf(client, TPM_VID_DID_RID, 4, (u8 *)&temp); temp 504 drivers/char/tpm/tpm_i2c_nuvoton.c if (memcmp(&temp, vid_did_rid_value, sizeof(vid_did_rid_value))) { temp 511 drivers/char/tpm/tpm_i2c_nuvoton.c (u8 *) (&temp)); temp 516 drivers/char/tpm/tpm_i2c_nuvoton.c if (memcmp(&temp, vid_did_rid_value, temp 521 drivers/char/tpm/tpm_i2c_nuvoton.c *res = temp; temp 926 drivers/clk/bcm/clk-bcm2835.c u64 temp = (u64)parent_rate << CM_DIV_FRAC_BITS; temp 930 drivers/clk/bcm/clk-bcm2835.c rem = do_div(temp, rate); temp 931 drivers/clk/bcm/clk-bcm2835.c div = temp; temp 964 drivers/clk/bcm/clk-bcm2835.c u64 temp; temp 979 drivers/clk/bcm/clk-bcm2835.c temp = (u64)parent_rate << data->frac_bits; temp 981 drivers/clk/bcm/clk-bcm2835.c do_div(temp, div); temp 983 drivers/clk/bcm/clk-bcm2835.c return temp; temp 83 drivers/clk/imx/clk-pllv2.c u64 temp; temp 99 drivers/clk/imx/clk-pllv2.c temp = (u64) ref_clk * abs(mfn); temp 100 drivers/clk/imx/clk-pllv2.c do_div(temp, mfd + 1); temp 102 drivers/clk/imx/clk-pllv2.c temp = (ref_clk * mfi) - temp; temp 104 drivers/clk/imx/clk-pllv2.c temp = (ref_clk * mfi) + temp; temp 106 drivers/clk/imx/clk-pllv2.c return temp; temp 118 drivers/cpufreq/cpufreq-nforce2.c int temp; temp 124 drivers/cpufreq/cpufreq-nforce2.c for (temp = 0; temp <= 0x3f; temp++) temp 137 drivers/cpufreq/cpufreq-nforce2.c u32 fsb, temp = 0; temp 149 drivers/cpufreq/cpufreq-nforce2.c pci_read_config_byte(nforce2_dev, NFORCE2_PLLENABLE, (u8 *)&temp); temp 151 drivers/cpufreq/cpufreq-nforce2.c if (bootfsb || !temp) temp 155 drivers/cpufreq/cpufreq-nforce2.c pci_read_config_dword(nforce2_dev, NFORCE2_PLLREG, &temp); temp 156 drivers/cpufreq/cpufreq-nforce2.c fsb = nforce2_calc_fsb(temp); temp 169 drivers/cpufreq/cpufreq-nforce2.c u32 temp = 0; temp 186 drivers/cpufreq/cpufreq-nforce2.c pci_read_config_byte(nforce2_dev, NFORCE2_PLLENABLE, (u8 *)&temp); temp 187 drivers/cpufreq/cpufreq-nforce2.c if (!temp) { temp 197 drivers/cpufreq/cpufreq-nforce2.c temp = 0x01; temp 198 drivers/cpufreq/cpufreq-nforce2.c pci_write_config_byte(nforce2_dev, NFORCE2_PLLENABLE, (u8)temp); temp 222 drivers/cpufreq/cpufreq-nforce2.c temp = 0x40; temp 223 drivers/cpufreq/cpufreq-nforce2.c pci_write_config_byte(nforce2_dev, NFORCE2_PLLADR, (u8)temp); temp 178 drivers/crypto/chelsio/chcr_algo.c u8 temp[SHA512_DIGEST_SIZE]; temp 190 drivers/crypto/chelsio/chcr_algo.c sg_pcopy_to_buffer(req->src, sg_nents(req->src), temp, temp 193 drivers/crypto/chelsio/chcr_algo.c cmp = crypto_memneq(temp, (fw6_pld + 1), authsize); temp 237 drivers/crypto/chelsio/chcr_algo.c u32 temp; temp 262 drivers/crypto/chelsio/chcr_algo.c temp = w_ring[nk - 1]; temp 266 drivers/crypto/chelsio/chcr_algo.c temp = (temp << 8) | (temp >> 24); temp 267 drivers/crypto/chelsio/chcr_algo.c temp = aes_ks_subword(temp); temp 268 drivers/crypto/chelsio/chcr_algo.c temp ^= round_constant[i / nk]; temp 270 drivers/crypto/chelsio/chcr_algo.c temp = aes_ks_subword(temp); temp 272 drivers/crypto/chelsio/chcr_algo.c w_ring[i % nk] ^= temp; temp 273 drivers/crypto/chelsio/chcr_algo.c temp = w_ring[i % nk]; temp 768 drivers/crypto/chelsio/chcr_algo.c unsigned int temp = 0, transhdr_len, dst_size; temp 783 drivers/crypto/chelsio/chcr_algo.c temp = reqctx->imm ? roundup(wrparam->bytes, 16) : temp 785 drivers/crypto/chelsio/chcr_algo.c transhdr_len += temp; temp 836 drivers/crypto/chelsio/chcr_algo.c temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + kctx_len + IV temp 839 drivers/crypto/chelsio/chcr_algo.c transhdr_len, temp, temp 1011 drivers/crypto/chelsio/chcr_algo.c u32 temp = be32_to_cpu(*--b); temp 1013 drivers/crypto/chelsio/chcr_algo.c temp = ~temp; temp 1014 drivers/crypto/chelsio/chcr_algo.c c = (u64)temp + 1; // No of block can processed withou overflow temp 1502 drivers/crypto/chelsio/chcr_algo.c unsigned int temp = 0; temp 1570 drivers/crypto/chelsio/chcr_algo.c temp = param->kctx_len + DUMMY_BYTES + (req_ctx->hctx_wr.imm ? temp 1575 drivers/crypto/chelsio/chcr_algo.c temp, 0); temp 2335 drivers/crypto/chelsio/chcr_algo.c unsigned int dst_size = 0, temp, subtype = get_aead_subtype(tfm); temp 2368 drivers/crypto/chelsio/chcr_algo.c temp = reqctx->imm ? roundup(req->assoclen + req->cryptlen, 16) temp 2370 drivers/crypto/chelsio/chcr_algo.c transhdr_len += temp; temp 2387 drivers/crypto/chelsio/chcr_algo.c temp = (reqctx->op == CHCR_ENCRYPT_OP) ? 0 : authsize; temp 2401 drivers/crypto/chelsio/chcr_algo.c (temp & 0x1F0) >> 4); temp 2403 drivers/crypto/chelsio/chcr_algo.c temp & 0xF, temp 2405 drivers/crypto/chelsio/chcr_algo.c temp, temp); temp 2408 drivers/crypto/chelsio/chcr_algo.c temp = CHCR_SCMD_CIPHER_MODE_AES_CTR; temp 2410 drivers/crypto/chelsio/chcr_algo.c temp = CHCR_SCMD_CIPHER_MODE_AES_CBC; temp 2413 drivers/crypto/chelsio/chcr_algo.c temp, temp 2447 drivers/crypto/chelsio/chcr_algo.c temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + IV + temp 2450 drivers/crypto/chelsio/chcr_algo.c transhdr_len, temp, 0); temp 2569 drivers/crypto/chelsio/chcr_algo.c u32 temp; temp 2573 drivers/crypto/chelsio/chcr_algo.c temp = req->assoclen + req->cryptlen + temp 2575 drivers/crypto/chelsio/chcr_algo.c dsgl_walk_add_sg(&dsgl_walk, req->dst, temp, 0); temp 2895 drivers/crypto/chelsio/chcr_algo.c unsigned int dst_size = 0, kctx_len, dnents, temp, snents; temp 2927 drivers/crypto/chelsio/chcr_algo.c temp = reqctx->imm ? roundup(req->assoclen + req->cryptlen + temp 2930 drivers/crypto/chelsio/chcr_algo.c transhdr_len += temp; temp 2965 drivers/crypto/chelsio/chcr_algo.c temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + IV + temp 2969 drivers/crypto/chelsio/chcr_algo.c transhdr_len, temp, 0); temp 2992 drivers/crypto/chelsio/chcr_algo.c unsigned int dst_size = 0, temp = 0, kctx_len, assoclen = req->assoclen; temp 3018 drivers/crypto/chelsio/chcr_algo.c temp = reqctx->imm ? roundup(req->assoclen + req->cryptlen, 16) : temp 3020 drivers/crypto/chelsio/chcr_algo.c transhdr_len += temp; temp 3038 drivers/crypto/chelsio/chcr_algo.c temp = (reqctx->op == CHCR_ENCRYPT_OP) ? 0 : authsize; temp 3049 drivers/crypto/chelsio/chcr_algo.c temp, temp); temp 3081 drivers/crypto/chelsio/chcr_algo.c temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + IV + temp 3084 drivers/crypto/chelsio/chcr_algo.c transhdr_len, temp, reqctx->verify); temp 385 drivers/crypto/hisilicon/sec/sec_algs.c struct sec_request_el *el, *temp; temp 389 drivers/crypto/hisilicon/sec/sec_algs.c list_for_each_entry_safe(el, temp, &sec_req->elements, head) { temp 721 drivers/crypto/hisilicon/sec/sec_algs.c struct sec_request_el *el, *temp; temp 838 drivers/crypto/hisilicon/sec/sec_algs.c list_for_each_entry_safe(el, temp, &sec_req->elements, head) { temp 821 drivers/dma/fsl-qdma.c struct fsl_qdma_queue *temp; temp 849 drivers/dma/fsl-qdma.c temp = fsl_queue + i + (j * fsl_qdma->n_queues); temp 858 drivers/dma/fsl-qdma.c qdma_writel(fsl_qdma, temp->bus_addr, temp 860 drivers/dma/fsl-qdma.c qdma_writel(fsl_qdma, temp->bus_addr, temp 865 drivers/dma/fsl-qdma.c reg |= FSL_QDMA_BCQMR_CD_THLD(ilog2(temp->n_cq) - 4); temp 866 drivers/dma/fsl-qdma.c reg |= FSL_QDMA_BCQMR_CQ_SIZE(ilog2(temp->n_cq) - 6); temp 731 drivers/dma/sprd-dma.c u32 temp, fix_mode = 0, fix_en = 0; temp 802 drivers/dma/sprd-dma.c temp = src_datawidth << SPRD_DMA_SRC_DATAWIDTH_OFFSET; temp 803 drivers/dma/sprd-dma.c temp |= dst_datawidth << SPRD_DMA_DES_DATAWIDTH_OFFSET; temp 804 drivers/dma/sprd-dma.c temp |= req_mode << SPRD_DMA_REQ_MODE_OFFSET; temp 805 drivers/dma/sprd-dma.c temp |= fix_mode << SPRD_DMA_FIX_SEL_OFFSET; temp 806 drivers/dma/sprd-dma.c temp |= fix_en << SPRD_DMA_FIX_EN_OFFSET; temp 807 drivers/dma/sprd-dma.c temp |= slave_cfg->src_maxburst & SPRD_DMA_FRG_LEN_MASK; temp 808 drivers/dma/sprd-dma.c hw->frg_len = temp; temp 813 drivers/dma/sprd-dma.c temp = (dst_step & SPRD_DMA_TRSF_STEP_MASK) << SPRD_DMA_DEST_TRSF_STEP_OFFSET; temp 814 drivers/dma/sprd-dma.c temp |= (src_step & SPRD_DMA_TRSF_STEP_MASK) << SPRD_DMA_SRC_TRSF_STEP_OFFSET; temp 815 drivers/dma/sprd-dma.c hw->trsf_step = temp; temp 822 drivers/dma/sprd-dma.c temp = sglen ? (sg_index + 1) % sglen : 0; temp 825 drivers/dma/sprd-dma.c temp = temp * sizeof(*hw) + SPRD_DMA_CHN_SRC_ADDR; temp 830 drivers/dma/sprd-dma.c llist_ptr = schan->linklist.phy_addr + temp; temp 872 drivers/dma/sprd-dma.c u32 step, temp; temp 903 drivers/dma/sprd-dma.c temp = datawidth << SPRD_DMA_SRC_DATAWIDTH_OFFSET; temp 904 drivers/dma/sprd-dma.c temp |= datawidth << SPRD_DMA_DES_DATAWIDTH_OFFSET; temp 905 drivers/dma/sprd-dma.c temp |= SPRD_DMA_TRANS_REQ << SPRD_DMA_REQ_MODE_OFFSET; temp 906 drivers/dma/sprd-dma.c temp |= len & SPRD_DMA_FRG_LEN_MASK; temp 907 drivers/dma/sprd-dma.c hw->frg_len = temp; temp 912 drivers/dma/sprd-dma.c temp = (step & SPRD_DMA_TRSF_STEP_MASK) << SPRD_DMA_DEST_TRSF_STEP_OFFSET; temp 913 drivers/dma/sprd-dma.c temp |= (step & SPRD_DMA_TRSF_STEP_MASK) << SPRD_DMA_SRC_TRSF_STEP_OFFSET; temp 914 drivers/dma/sprd-dma.c hw->trsf_step = temp; temp 1728 drivers/edac/amd64_edac.c u32 temp = hweight_long((u32) ((sys_addr >> 16) & 0x1F)) & 1; temp 1730 drivers/edac/amd64_edac.c return ((sys_addr >> shift) & 1) ^ temp; temp 149 drivers/firmware/google/vpd.c struct vpd_attrib_info *temp; temp 151 drivers/firmware/google/vpd.c list_for_each_entry_safe(info, temp, &sec->attribs, list) { temp 249 drivers/firmware/google/vpd.c struct vpd_cbmem *temp; temp 253 drivers/firmware/google/vpd.c temp = memremap(physaddr, sizeof(struct vpd_cbmem), MEMREMAP_WB); temp 254 drivers/firmware/google/vpd.c if (!temp) temp 257 drivers/firmware/google/vpd.c memcpy(&header, temp, sizeof(struct vpd_cbmem)); temp 258 drivers/firmware/google/vpd.c memunmap(temp); temp 103 drivers/gpio/gpio-amd8111.c u8 temp; temp 107 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); temp 108 drivers/gpio/gpio-amd8111.c temp = (temp & AMD_GPIO_DEBOUNCE) | AMD_GPIO_MODE_OUT | (value ? AMD_GPIO_X_OUT_HI : AMD_GPIO_X_OUT_LOW); temp 109 drivers/gpio/gpio-amd8111.c iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); temp 112 drivers/gpio/gpio-amd8111.c dev_dbg(&agp->pdev->dev, "Setting gpio %d, value %d, reg=%02x\n", offset, !!value, temp); temp 118 drivers/gpio/gpio-amd8111.c u8 temp; temp 120 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); temp 122 drivers/gpio/gpio-amd8111.c dev_dbg(&agp->pdev->dev, "Getting gpio %d, reg=%02x\n", offset, temp); temp 124 drivers/gpio/gpio-amd8111.c return (temp & AMD_GPIO_RTIN) ? 1 : 0; temp 130 drivers/gpio/gpio-amd8111.c u8 temp; temp 134 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); temp 135 drivers/gpio/gpio-amd8111.c temp = (temp & AMD_GPIO_DEBOUNCE) | AMD_GPIO_MODE_OUT | (value ? AMD_GPIO_X_OUT_HI : AMD_GPIO_X_OUT_LOW); temp 136 drivers/gpio/gpio-amd8111.c iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); temp 139 drivers/gpio/gpio-amd8111.c dev_dbg(&agp->pdev->dev, "Dirout gpio %d, value %d, reg=%02x\n", offset, !!value, temp); temp 147 drivers/gpio/gpio-amd8111.c u8 temp; temp 151 drivers/gpio/gpio-amd8111.c temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); temp 152 drivers/gpio/gpio-amd8111.c temp = (temp & AMD_GPIO_DEBOUNCE) | AMD_GPIO_MODE_IN; temp 153 drivers/gpio/gpio-amd8111.c iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); temp 156 drivers/gpio/gpio-amd8111.c dev_dbg(&agp->pdev->dev, "Dirin gpio %d, reg=%02x\n", offset, temp); temp 92 drivers/gpio/gpio-davinci.c u32 temp; temp 98 drivers/gpio/gpio-davinci.c temp = readl_relaxed(&g->dir); temp 100 drivers/gpio/gpio-davinci.c temp &= ~mask; temp 103 drivers/gpio/gpio-davinci.c temp |= mask; temp 105 drivers/gpio/gpio-davinci.c writel_relaxed(temp, &g->dir); temp 38 drivers/gpio/gpio-exar.c int temp; temp 41 drivers/gpio/gpio-exar.c temp = readb(exar_gpio->regs + reg); temp 42 drivers/gpio/gpio-exar.c temp &= ~BIT(offset); temp 44 drivers/gpio/gpio-exar.c temp |= BIT(offset); temp 45 drivers/gpio/gpio-exar.c writeb(temp, exar_gpio->regs + reg); temp 68 drivers/gpio/gpio-loongson.c u32 temp; temp 71 drivers/gpio/gpio-loongson.c temp = LOONGSON_GPIOIE; temp 72 drivers/gpio/gpio-loongson.c temp |= BIT(gpio); temp 73 drivers/gpio/gpio-loongson.c LOONGSON_GPIOIE = temp; temp 82 drivers/gpio/gpio-loongson.c u32 temp; temp 86 drivers/gpio/gpio-loongson.c temp = LOONGSON_GPIOIE; temp 87 drivers/gpio/gpio-loongson.c temp &= ~BIT(gpio); temp 88 drivers/gpio/gpio-loongson.c LOONGSON_GPIOIE = temp; temp 259 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c uint32_t temp; temp 266 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_RB_CNTL); temp 267 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c temp = temp & ~SDMA0_RLC0_RB_CNTL__RB_ENABLE_MASK; temp 268 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c WREG32(sdma_base_addr + mmSDMA0_RLC0_RB_CNTL, temp); temp 271 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_CONTEXT_STATUS); temp 272 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c if (temp & SDMA0_RLC0_CONTEXT_STATUS__IDLE_MASK) temp 644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c uint32_t temp; temp 680 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c temp = RREG32(mmCP_HQD_IQ_TIMER); temp 681 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, PROCESSING_IQ)) { temp 685 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, ACTIVE)) { temp 686 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, RETRY_TYPE) temp 693 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, WAIT_TIME) temp 709 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c temp = RREG32(mmCP_HQD_DEQUEUE_REQUEST); temp 710 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c if (!(temp & CP_HQD_DEQUEUE_REQUEST__IQ_REQ_PEND_MASK)) temp 729 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c temp = RREG32(SOC15_REG_OFFSET(GC, 0, mmCP_HQD_ACTIVE)); temp 730 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c if (!(temp & CP_HQD_ACTIVE__ACTIVE_MASK)) temp 750 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c uint32_t temp; temp 757 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_RB_CNTL); temp 758 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c temp = temp & ~SDMA0_RLC0_RB_CNTL__RB_ENABLE_MASK; temp 759 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c WREG32(sdma_base_addr + mmSDMA0_RLC0_RB_CNTL, temp); temp 762 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_CONTEXT_STATUS); temp 763 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c if (temp & SDMA0_RLC0_CONTEXT_STATUS__IDLE_MASK) temp 547 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c uint32_t temp; temp 580 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c temp = RREG32(mmCP_HQD_IQ_TIMER); temp 581 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, PROCESSING_IQ)) { temp 585 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, ACTIVE)) { temp 586 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, RETRY_TYPE) temp 593 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, WAIT_TIME) temp 609 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c temp = RREG32(mmCP_HQD_DEQUEUE_REQUEST); temp 610 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c if (!(temp & CP_HQD_DEQUEUE_REQUEST__IQ_REQ_PEND_MASK)) temp 628 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c temp = RREG32(mmCP_HQD_ACTIVE); temp 629 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c if (!(temp & CP_HQD_ACTIVE__ACTIVE_MASK)) temp 649 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c uint32_t temp; temp 655 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_RB_CNTL); temp 656 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c temp = temp & ~SDMA0_RLC0_RB_CNTL__RB_ENABLE_MASK; temp 657 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c WREG32(sdma_base_addr + mmSDMA0_RLC0_RB_CNTL, temp); temp 660 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_CONTEXT_STATUS); temp 661 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c if (temp & SDMA0_RLC0_CONTEXT_STATUS__IDLE_MASK) temp 540 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c uint32_t temp; temp 576 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c temp = RREG32(mmCP_HQD_IQ_TIMER); temp 577 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, PROCESSING_IQ)) { temp 581 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, ACTIVE)) { temp 582 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, RETRY_TYPE) temp 589 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c if (REG_GET_FIELD(temp, CP_HQD_IQ_TIMER, WAIT_TIME) temp 605 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c temp = RREG32(mmCP_HQD_DEQUEUE_REQUEST); temp 606 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c if (!(temp & CP_HQD_DEQUEUE_REQUEST__IQ_REQ_PEND_MASK)) temp 624 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c temp = RREG32(mmCP_HQD_ACTIVE); temp 625 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c if (!(temp & CP_HQD_ACTIVE__ACTIVE_MASK)) temp 645 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c uint32_t temp; temp 651 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_RB_CNTL); temp 652 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c temp = temp & ~SDMA0_RLC0_RB_CNTL__RB_ENABLE_MASK; temp 653 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c WREG32(sdma_base_addr + mmSDMA0_RLC0_RB_CNTL, temp); temp 656 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_CONTEXT_STATUS); temp 657 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c if (temp & SDMA0_RLC0_CONTEXT_STATUS__IDLE_MASK) temp 540 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c uint32_t temp; temp 567 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c temp = RREG32(SOC15_REG_OFFSET(GC, 0, mmCP_HQD_ACTIVE)); temp 568 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c if (!(temp & CP_HQD_ACTIVE__ACTIVE_MASK)) temp 588 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c uint32_t temp; temp 595 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_RB_CNTL); temp 596 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c temp = temp & ~SDMA0_RLC0_RB_CNTL__RB_ENABLE_MASK; temp 597 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c WREG32(sdma_base_addr + mmSDMA0_RLC0_RB_CNTL, temp); temp 600 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c temp = RREG32(sdma_base_addr + mmSDMA0_RLC0_CONTEXT_STATUS); temp 601 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c if (temp & SDMA0_RLC0_CONTEXT_STATUS__IDLE_MASK) temp 45 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c uint32_t temp; temp 51 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->mask_clk_reg); temp 52 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp &= ~(1 << 16); temp 53 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c WREG32(rec->mask_clk_reg, temp); temp 57 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->a_clk_reg) & ~rec->a_clk_mask; temp 58 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c WREG32(rec->a_clk_reg, temp); temp 60 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->a_data_reg) & ~rec->a_data_mask; temp 61 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c WREG32(rec->a_data_reg, temp); temp 64 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->en_clk_reg) & ~rec->en_clk_mask; temp 65 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c WREG32(rec->en_clk_reg, temp); temp 67 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->en_data_reg) & ~rec->en_data_mask; temp 68 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c WREG32(rec->en_data_reg, temp); temp 71 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->mask_clk_reg) | rec->mask_clk_mask; temp 72 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c WREG32(rec->mask_clk_reg, temp); temp 73 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->mask_clk_reg); temp 75 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->mask_data_reg) | rec->mask_data_mask; temp 76 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c WREG32(rec->mask_data_reg, temp); temp 77 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->mask_data_reg); temp 87 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c uint32_t temp; temp 90 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->mask_clk_reg) & ~rec->mask_clk_mask; temp 91 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c WREG32(rec->mask_clk_reg, temp); temp 92 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->mask_clk_reg); temp 94 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->mask_data_reg) & ~rec->mask_data_mask; temp 95 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c WREG32(rec->mask_data_reg, temp); temp 96 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c temp = RREG32(rec->mask_data_reg); temp 1473 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int r, temp = 0, size = sizeof(temp); temp 1487 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (void *)&temp, &size); temp 1494 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (void *)&temp, &size); temp 1501 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (void *)&temp, &size); temp 1507 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return snprintf(buf, PAGE_SIZE, "%d\n", temp); temp 1516 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int temp; temp 1519 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.min_temp; temp 1521 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_temp; temp 1523 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return snprintf(buf, PAGE_SIZE, "%d\n", temp); temp 1532 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int temp; temp 1535 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.min_hotspot_temp; temp 1537 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_hotspot_crit_temp; temp 1539 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return snprintf(buf, PAGE_SIZE, "%d\n", temp); temp 1548 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int temp; temp 1551 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.min_mem_temp; temp 1553 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_mem_crit_temp; temp 1555 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return snprintf(buf, PAGE_SIZE, "%d\n", temp); temp 1576 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int temp = 0; temp 1583 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_hotspot_emergency_temp; temp 1586 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_edge_emergency_temp; temp 1589 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c temp = adev->pm.dpm.thermal.max_mem_emergency_temp; temp 1593 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return snprintf(buf, PAGE_SIZE, "%d\n", temp); temp 2433 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int temp, size = sizeof(temp); temp 2439 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (void *)&temp, &size)) { temp 2440 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (temp < adev->pm.dpm.thermal.min_temp) temp 271 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c struct amdgpu_pmu_entry *pe, *temp; temp 273 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c list_for_each_entry_safe(pe, temp, &amdgpu_pmu_list, entry) { temp 107 drivers/gpu/drm/amd/amdgpu/atom.c uint32_t temp = 0xCDCDCDCD; temp 115 drivers/gpu/drm/amd/amdgpu/atom.c temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); temp 119 drivers/gpu/drm/amd/amdgpu/atom.c ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp); temp 123 drivers/gpu/drm/amd/amdgpu/atom.c temp &= temp 129 drivers/gpu/drm/amd/amdgpu/atom.c temp |= temp 135 drivers/gpu/drm/amd/amdgpu/atom.c temp &= temp 138 drivers/gpu/drm/amd/amdgpu/atom.c temp |= temp 145 drivers/gpu/drm/amd/amdgpu/atom.c temp &= temp 148 drivers/gpu/drm/amd/amdgpu/atom.c temp |= temp 155 drivers/gpu/drm/amd/amdgpu/atom.c temp &= temp 158 drivers/gpu/drm/amd/amdgpu/atom.c temp |= temp 169 drivers/gpu/drm/amd/amdgpu/atom.c return temp; temp 3981 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c int i, temp, data; temp 4029 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c temp = mmRLC_SRM_INDEX_CNTL_ADDR_0; temp 4033 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(temp + i, unique_indices[i] & 0x3FFFF); temp 5645 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c uint32_t temp, data; temp 5661 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c temp = data = RREG32(mmRLC_CGTT_MGCG_OVERRIDE); temp 5672 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (temp != data) temp 5683 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c temp = data = RREG32(mmCGTS_SM_CTRL_REG); temp 5693 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (temp != data) temp 5702 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c temp = data = RREG32(mmRLC_CGTT_MGCG_OVERRIDE); temp 5707 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (temp != data) temp 5725 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c temp = data = RREG32(mmCGTS_SM_CTRL_REG); temp 5728 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (temp != data) temp 5749 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c uint32_t temp, temp1, data, data1; temp 5751 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c temp = data = RREG32(mmRLC_CGCG_CGLS_CTRL); temp 5789 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (temp != data) temp 5828 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (temp != data) temp 2152 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 temp; temp 2162 drivers/gpu/drm/amd/amdgpu/kv_dpm.c temp = sclk >> i; temp 2163 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (temp >= min) temp 2951 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 temp; temp 2955 drivers/gpu/drm/amd/amdgpu/kv_dpm.c temp = RREG32_SMC(0xC0300E0C); temp 2957 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (temp) temp 2958 drivers/gpu/drm/amd/amdgpu/kv_dpm.c actual_temp = (temp / 8) - 49; temp 1443 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c uint32_t temp, data; temp 1448 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c temp = data = RREG32(mmSDMA0_CLK_CTRL + sdma_offsets[i]); temp 1457 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if (data != temp) temp 1462 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c temp = data = RREG32(mmSDMA0_CLK_CTRL + sdma_offsets[i]); temp 1472 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if (data != temp) temp 1482 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c uint32_t temp, data; temp 1487 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c temp = data = RREG32(mmSDMA0_POWER_CNTL + sdma_offsets[i]); temp 1490 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if (temp != data) temp 1495 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c temp = data = RREG32(mmSDMA0_POWER_CNTL + sdma_offsets[i]); temp 1498 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if (temp != data) temp 1309 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c uint32_t temp; temp 1317 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c temp = RREG32_SDMA(i, mmSDMA0_CNTL); temp 1318 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c temp = REG_SET_FIELD(temp, SDMA0_CNTL, UTC_L1_ENABLE, 1); temp 1319 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c WREG32_SDMA(i, mmSDMA0_CNTL, temp); temp 1323 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c temp = RREG32_SDMA(i, mmSDMA0_F32_CNTL); temp 1324 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c temp = REG_SET_FIELD(temp, SDMA0_F32_CNTL, HALT, 0); temp 1325 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c WREG32_SDMA(i, mmSDMA0_F32_CNTL, temp); temp 629 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c u32 temp; temp 715 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp = RREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_CNTL)); temp 716 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp = REG_SET_FIELD(temp, SDMA0_CNTL, UTC_L1_ENABLE, 1); temp 719 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp = REG_SET_FIELD(temp, SDMA0_CNTL, MIDCMD_PREEMPT_ENABLE, 1); temp 720 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_CNTL), temp); temp 723 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp = RREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UTCL1_CNTL)); temp 724 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp = REG_SET_FIELD(temp, SDMA0_UTCL1_CNTL, RESP_MODE, 3); temp 725 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp = REG_SET_FIELD(temp, SDMA0_UTCL1_CNTL, REDO_DELAY, 9); temp 726 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UTCL1_CNTL), temp); temp 729 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp = RREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UTCL1_PAGE)); temp 731 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp &= 0xFF0FFF; temp 732 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp |= ((CACHE_READ_POLICY_L2__DEFAULT << 12) | (CACHE_WRITE_POLICY_L2__DEFAULT << 14)); temp 733 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UTCL1_PAGE), temp); temp 737 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp = RREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_F32_CNTL)); temp 738 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c temp = REG_SET_FIELD(temp, SDMA0_F32_CNTL, HALT, 0); temp 739 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_F32_CNTL), temp); temp 1202 drivers/gpu/drm/amd/amdgpu/si.c uint32_t temp; temp 1204 drivers/gpu/drm/amd/amdgpu/si.c temp = RREG32(CONFIG_CNTL); temp 1206 drivers/gpu/drm/amd/amdgpu/si.c temp &= ~(1<<0); temp 1207 drivers/gpu/drm/amd/amdgpu/si.c temp |= (1<<1); temp 1209 drivers/gpu/drm/amd/amdgpu/si.c temp &= ~(1<<1); temp 1211 drivers/gpu/drm/amd/amdgpu/si.c WREG32(CONFIG_CNTL, temp); temp 7853 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 temp; temp 7857 drivers/gpu/drm/amd/amdgpu/si_dpm.c temp = (RREG32(CG_MULT_THERMAL_STATUS) & CTF_TEMP_MASK) >> temp 7860 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (temp & 0x200) temp 7863 drivers/gpu/drm/amd/amdgpu/si_dpm.c actual_temp = temp & 0x1ff; temp 1360 drivers/gpu/drm/amd/amdgpu/vi.c uint32_t temp, data; temp 1362 drivers/gpu/drm/amd/amdgpu/vi.c temp = data = RREG32_PCIE(ixPCIE_CNTL2); temp 1373 drivers/gpu/drm/amd/amdgpu/vi.c if (temp != data) temp 1380 drivers/gpu/drm/amd/amdgpu/vi.c uint32_t temp, data; temp 1382 drivers/gpu/drm/amd/amdgpu/vi.c temp = data = RREG32(mmHDP_HOST_PATH_CNTL); temp 1389 drivers/gpu/drm/amd/amdgpu/vi.c if (temp != data) temp 1396 drivers/gpu/drm/amd/amdgpu/vi.c uint32_t temp, data; temp 1398 drivers/gpu/drm/amd/amdgpu/vi.c temp = data = RREG32(mmHDP_MEM_POWER_LS); temp 1405 drivers/gpu/drm/amd/amdgpu/vi.c if (temp != data) temp 1412 drivers/gpu/drm/amd/amdgpu/vi.c uint32_t temp, data; temp 1414 drivers/gpu/drm/amd/amdgpu/vi.c temp = data = RREG32(0x157a); temp 1421 drivers/gpu/drm/amd/amdgpu/vi.c if (temp != data) temp 1429 drivers/gpu/drm/amd/amdgpu/vi.c uint32_t temp, data; temp 1431 drivers/gpu/drm/amd/amdgpu/vi.c temp = data = RREG32_SMC(ixCGTT_ROM_CLK_CTRL0); temp 1440 drivers/gpu/drm/amd/amdgpu/vi.c if (temp != data) temp 120 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c unsigned int temp; temp 135 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c temp = get_sh_mem_bases_32(pdd); temp 136 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c qpd->sh_mem_bases = SHARED_BASE(temp); temp 139 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c temp = get_sh_mem_bases_nybble_64(pdd); temp 140 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c qpd->sh_mem_bases = compute_sh_mem_bases_64bit(temp); temp 145 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); temp 154 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c unsigned int temp; temp 171 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c temp = get_sh_mem_bases_nybble_64(pdd); temp 172 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c qpd->sh_mem_bases = compute_sh_mem_bases_64bit(temp); temp 175 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); temp 157 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c unsigned int temp; temp 175 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c temp = get_sh_mem_bases_32(pdd); temp 176 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c qpd->sh_mem_bases = temp << SH_MEM_BASES__SHARED_BASE__SHIFT; temp 180 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c temp = get_sh_mem_bases_nybble_64(pdd); temp 181 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c qpd->sh_mem_bases = compute_sh_mem_bases_64bit(temp); temp 189 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c qpd->pqm->process->is_32bit_user_mode, temp, qpd->sh_mem_bases); temp 198 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c unsigned int temp; temp 219 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c temp = get_sh_mem_bases_nybble_64(pdd); temp 220 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c qpd->sh_mem_bases = compute_sh_mem_bases_64bit(temp); temp 223 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c temp, qpd->sh_mem_bases); temp 1017 drivers/gpu/drm/amd/amdkfd/kfd_events.c unsigned int temp; temp 1035 drivers/gpu/drm/amd/amdkfd/kfd_events.c hash_for_each_rcu(kfd_processes_table, temp, p, kfd_processes) { temp 221 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c unsigned int temp; temp 226 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c hash_for_each_rcu(kfd_processes_table, temp, p, kfd_processes) { temp 262 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c unsigned int temp; temp 266 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c hash_for_each_rcu(kfd_processes_table, temp, p, kfd_processes) { temp 33 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c unsigned int temp = *wptr + increment_bytes / sizeof(uint32_t); temp 35 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c WARN((temp * sizeof(uint32_t)) > buffer_size_bytes, temp 37 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c *wptr = temp; temp 415 drivers/gpu/drm/amd/amdkfd/kfd_process.c struct kfd_process_device *pdd, *temp; temp 417 drivers/gpu/drm/amd/amdkfd/kfd_process.c list_for_each_entry_safe(pdd, temp, &p->per_device_data, temp 908 drivers/gpu/drm/amd/amdkfd/kfd_process.c unsigned int temp; temp 912 drivers/gpu/drm/amd/amdkfd/kfd_process.c hash_for_each_rcu(kfd_processes_table, temp, p, kfd_processes) { temp 1083 drivers/gpu/drm/amd/amdkfd/kfd_process.c unsigned int temp; temp 1086 drivers/gpu/drm/amd/amdkfd/kfd_process.c hash_for_each_rcu(kfd_processes_table, temp, p, kfd_processes) { temp 1102 drivers/gpu/drm/amd/amdkfd/kfd_process.c unsigned int temp; temp 1105 drivers/gpu/drm/amd/amdkfd/kfd_process.c hash_for_each_rcu(kfd_processes_table, temp, p, kfd_processes) { temp 1168 drivers/gpu/drm/amd/amdkfd/kfd_process.c unsigned int temp; temp 1173 drivers/gpu/drm/amd/amdkfd/kfd_process.c hash_for_each_rcu(kfd_processes_table, temp, p, kfd_processes) { temp 2546 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c struct clock_voltage_caps temp = {0, 0}; temp 2556 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c temp = info->disp_clk_voltage[j-1]; temp 2559 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->disp_clk_voltage[j] = temp; temp 1617 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct clock_voltage_caps temp = {0, 0}; temp 1647 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c temp = info->disp_clk_voltage[j-1]; temp 1650 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->disp_clk_voltage[j] = temp; temp 108 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_math.c float temp; temp 112 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_math.c temp = dcn_bw_pow(a, (int)(exp / 2)); temp 114 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_math.c return temp * temp; temp 117 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_math.c return a * temp * temp; temp 119 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_math.c return (temp * temp) / a; temp 910 drivers/gpu/drm/amd/display/dc/core/dc.c struct pipe_ctx *temp; temp 916 drivers/gpu/drm/amd/display/dc/core/dc.c temp = pipe_set[0]; temp 918 drivers/gpu/drm/amd/display/dc/core/dc.c pipe_set[j] = temp; temp 64 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c uint32_t temp = 0; temp 66 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c temp = address.high_part & temp 69 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c set_reg_field_value(value, temp, temp 78 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c temp = 0; temp 80 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c temp = address.low_part >> temp 83 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c set_reg_field_value(value, temp, temp 99 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c uint32_t temp = 0; temp 102 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c temp = address.high_part & temp 105 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c set_reg_field_value(value, temp, temp 114 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c temp = 0; temp 116 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c temp = address.low_part >> temp 119 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c set_reg_field_value(value, temp, temp 220 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt temp; temp 223 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h temp.full = (X << SHIFT_AMOUNT); temp 225 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h temp.full = 0; temp 227 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h return temp; temp 238 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt temp; temp 241 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h temp.full = (X << SHIFT_AMOUNT); temp 243 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h temp.full = 0; temp 245 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h return temp; temp 456 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h fInt temp, root_first, root_second; temp 468 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h temp = fMultiply(ConvertToFraction(4), A); /* root = 4*A */ temp 469 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h temp = fMultiply(temp, C); /* root = 4*A*C */ temp 470 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h temp = fSubtract(fGetSquare(B), temp); /* root = b^2 - 4AC */ temp 471 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h temp = fSqrt(temp); /*root = Sqrt (b^2 - 4AC); */ temp 473 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h root_first = fSubtract(fNegate(B), temp); /* b - Sqrt(b^2 - 4AC) */ temp 474 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h root_second = fAdd(fNegate(B), temp); /* b + Sqrt(b^2 - 4AC) */ temp 5171 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t temp; temp 5176 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c temp = clock >> i; temp 5178 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (temp >= min || i == 0) temp 288 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c int temp; temp 290 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c temp = PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, temp 294 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c if (temp & 0x200) temp 295 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c temp = SMU7_THERMAL_MAXIMUM_TEMP_READING; temp 297 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c temp = temp & 0x1ff; temp 299 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; temp 301 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c return temp; temp 1659 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c uint32_t temp = PHM_GET_FIELD(val, THM_TCON_CUR_TMP, CUR_TEMP); temp 1662 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c actual_temp = ((temp / 8) - 49) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; temp 1664 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c actual_temp = (temp / 8) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; temp 342 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c int temp; temp 344 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c temp = RREG32_SOC15(THM, 0, mmCG_MULT_THERMAL_STATUS); temp 346 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c temp = (temp & CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK) >> temp 349 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c temp = temp & 0x1ff; temp 351 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; temp 353 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c return temp; temp 149 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c int temp = 0; temp 151 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c temp = RREG32_SOC15(THM, 0, mmCG_MULT_THERMAL_STATUS); temp 153 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c temp = (temp & CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK) >> temp 156 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c temp = temp & 0x1ff; temp 158 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; temp 159 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c return temp; temp 219 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c int temp = 0; temp 221 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c temp = RREG32_SOC15(THM, 0, mmCG_MULT_THERMAL_STATUS); temp 223 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c temp = (temp & CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK) >> temp 226 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c temp = temp & 0x1ff; temp 228 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c temp *= PP_TEMPERATURE_UNITS_PER_CENTIGRADES; temp 229 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c return temp; temp 390 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t temp; temp 398 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c temp = clock >> i; temp 400 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (temp >= min || i == 0) temp 544 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t temp; temp 549 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c (uint32_t *)&temp, SMC_RAM_END)) temp 609 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t temp; temp 614 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c (uint32_t *)&temp, SMC_RAM_END)) temp 621 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c (uint8_t)((temp >> 16) & 0xff); temp 623 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c (uint8_t)((temp >> 8) & 0xff); temp 624 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c smu_data->power_tune_table.Reserved = (uint8_t)(temp & 0xff); temp 339 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c uint32_t temp; temp 344 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c (uint32_t *)&temp, SMC_RAM_END)) temp 507 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t temp; temp 512 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c (uint32_t *)&temp, SMC_RAM_END)) temp 519 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c (uint8_t)((temp >> 16) & 0xff); temp 521 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c (uint8_t)((temp >> 8) & 0xff); temp 522 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->power_tune_table.Reserved = (uint8_t)(temp & 0xff); temp 851 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint64_t temp; temp 882 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c temp = clock << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; temp 883 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c temp <<= 0x10; temp 884 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c do_div(temp, ref_clock); temp 885 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c sclk_setting->Fcw_frac = temp & 0xffff; temp 897 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c temp = ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; temp 898 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c temp <<= 0x10; temp 899 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c do_div(temp, ref_clock); temp 900 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c sclk_setting->Fcw1_frac = temp & 0xffff; temp 1914 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint32_t temp; temp 1919 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c (uint32_t *)&temp, SMC_RAM_END)) temp 726 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint64_t temp; temp 759 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c temp = clock << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; temp 760 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c temp <<= 0x10; temp 761 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c do_div(temp, ref_clock); temp 762 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c sclk_setting->Fcw_frac = temp & 0xffff; temp 778 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c temp = ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv; temp 779 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c temp <<= 0x10; temp 780 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c do_div(temp, ref_clock); temp 781 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c sclk_setting->Fcw1_frac = temp & 0xffff; temp 791 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t temp; temp 798 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c temp = clock / (i + 1); temp 800 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c if (temp >= min || i == 0) temp 1772 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t temp; temp 1777 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c (uint32_t *)&temp, SMC_RAM_END)) temp 1784 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c (uint8_t)((temp >> 16) & 0xff); temp 1786 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c (uint8_t)((temp >> 8) & 0xff); temp 1787 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c smu_data->power_tune_table.Reserved = (uint8_t)(temp & 0xff); temp 2982 drivers/gpu/drm/amd/powerplay/vega20_ppt.c uint32_t temp = 0; temp 2994 drivers/gpu/drm/amd/powerplay/vega20_ppt.c temp = RREG32_SOC15(THM, 0, mmCG_MULT_THERMAL_STATUS); temp 2995 drivers/gpu/drm/amd/powerplay/vega20_ppt.c temp = (temp & CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK) >> temp 2998 drivers/gpu/drm/amd/powerplay/vega20_ppt.c temp = temp & 0x1ff; temp 2999 drivers/gpu/drm/amd/powerplay/vega20_ppt.c temp *= SMU_TEMPERATURE_UNITS_PER_CENTIGRADES; temp 3001 drivers/gpu/drm/amd/powerplay/vega20_ppt.c *value = temp; temp 267 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c struct completion temp; temp 303 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c init_completion(&temp); temp 304 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c kcrtc->disable_done = &temp; temp 305 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c disable_done = &temp; temp 69 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c struct komeda_pipeline *temp = NULL; temp 84 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c temp = mdev->pipelines[id - KOMEDA_COMPONENT_COMPIZ0]; temp 85 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c if (!temp) { temp 89 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pos = to_cpos(temp->compiz); temp 103 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c temp = mdev->pipelines[id - KOMEDA_COMPONENT_IPS0]; temp 104 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c if (!temp) { temp 108 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pos = to_cpos(temp->improc); temp 284 drivers/gpu/drm/ast/ast_mode.c u16 temp, precache = 0; temp 292 drivers/gpu/drm/ast/ast_mode.c temp = (mode->crtc_htotal >> 3) - 5; temp 293 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x100) temp 295 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x00, 0x00, temp); temp 297 drivers/gpu/drm/ast/ast_mode.c temp = (mode->crtc_hdisplay >> 3) - 1; temp 298 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x100) temp 300 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x01, 0x00, temp); temp 302 drivers/gpu/drm/ast/ast_mode.c temp = (mode->crtc_hblank_start >> 3) - 1; temp 303 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x100) temp 305 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x02, 0x00, temp); temp 307 drivers/gpu/drm/ast/ast_mode.c temp = ((mode->crtc_hblank_end >> 3) - 1) & 0x7f; temp 308 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x20) temp 310 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x40) temp 312 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x03, 0xE0, (temp & 0x1f)); temp 314 drivers/gpu/drm/ast/ast_mode.c temp = ((mode->crtc_hsync_start-precache) >> 3) - 1; temp 315 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x100) temp 317 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x04, 0x00, temp); temp 319 drivers/gpu/drm/ast/ast_mode.c temp = (((mode->crtc_hsync_end-precache) >> 3) - 1) & 0x3f; temp 320 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x20) temp 322 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x05, 0x60, (u8)((temp & 0x1f) | jreg05)); temp 328 drivers/gpu/drm/ast/ast_mode.c temp = (mode->crtc_vtotal) - 2; temp 329 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x100) temp 331 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x200) temp 333 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x400) temp 335 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x06, 0x00, temp); temp 337 drivers/gpu/drm/ast/ast_mode.c temp = (mode->crtc_vsync_start) - 1; temp 338 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x100) temp 340 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x200) temp 342 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x400) temp 344 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x10, 0x00, temp); temp 346 drivers/gpu/drm/ast/ast_mode.c temp = (mode->crtc_vsync_end - 1) & 0x3f; temp 347 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x10) temp 349 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x20) temp 351 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x11, 0x70, temp & 0xf); temp 353 drivers/gpu/drm/ast/ast_mode.c temp = mode->crtc_vdisplay - 1; temp 354 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x100) temp 356 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x200) temp 358 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x400) temp 360 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x12, 0x00, temp); temp 362 drivers/gpu/drm/ast/ast_mode.c temp = mode->crtc_vblank_start - 1; temp 363 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x100) temp 365 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x200) temp 367 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x400) temp 369 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x15, 0x00, temp); temp 371 drivers/gpu/drm/ast/ast_mode.c temp = mode->crtc_vblank_end - 1; temp 372 drivers/gpu/drm/ast/ast_mode.c if (temp & 0x100) temp 374 drivers/gpu/drm/ast/ast_mode.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x16, 0x00, temp); temp 281 drivers/gpu/drm/ast/ast_post.c u32 data, temp, i; temp 326 drivers/gpu/drm/ast/ast_post.c temp = ast_read32(ast, 0x12070); temp 327 drivers/gpu/drm/ast/ast_post.c temp &= 0xc; temp 328 drivers/gpu/drm/ast/ast_post.c temp <<= 2; temp 329 drivers/gpu/drm/ast/ast_post.c ast_write32(ast, 0x10000 + dram_reg_info->index, data | temp); temp 347 drivers/gpu/drm/ast/ast_post.c temp = ast_read32(ast, 0x10140); temp 348 drivers/gpu/drm/ast/ast_post.c ast_write32(ast, 0x10140, temp | 0x40); temp 354 drivers/gpu/drm/ast/ast_post.c temp = ast_read32(ast, 0x1200c); temp 355 drivers/gpu/drm/ast/ast_post.c ast_write32(ast, 0x1200c, temp & 0xfffffffd); temp 356 drivers/gpu/drm/ast/ast_post.c temp = ast_read32(ast, 0x12040); temp 357 drivers/gpu/drm/ast/ast_post.c ast_write32(ast, 0x12040, temp | 0x40); temp 1605 drivers/gpu/drm/ast/ast_post.c u32 temp; temp 1623 drivers/gpu/drm/ast/ast_post.c temp = ast_read32(ast, 0x12008); temp 1624 drivers/gpu/drm/ast/ast_post.c temp |= 0x73; temp 1625 drivers/gpu/drm/ast/ast_post.c ast_write32(ast, 0x12008, temp); temp 1629 drivers/gpu/drm/ast/ast_post.c temp = ast_mindwm(ast, 0x1e6e2070); temp 1630 drivers/gpu/drm/ast/ast_post.c if (temp & 0x01000000) temp 1632 drivers/gpu/drm/ast/ast_post.c switch (temp & 0x18000000) { temp 1647 drivers/gpu/drm/ast/ast_post.c switch (temp & 0x0c) { temp 1674 drivers/gpu/drm/ast/ast_post.c temp = ast_mindwm(ast, 0x1e6e2040); temp 1675 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1e6e2040, temp | 0x40); temp 2036 drivers/gpu/drm/ast/ast_post.c u32 temp; temp 2057 drivers/gpu/drm/ast/ast_post.c temp = ast_read32(ast, 0x12008); temp 2058 drivers/gpu/drm/ast/ast_post.c temp |= 0x73; temp 2059 drivers/gpu/drm/ast/ast_post.c ast_write32(ast, 0x12008, temp); temp 2063 drivers/gpu/drm/ast/ast_post.c temp = ast_mindwm(ast, 0x1e6e2094); temp 2064 drivers/gpu/drm/ast/ast_post.c temp |= 0x00004000; temp 2065 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1e6e2094, temp); temp 2066 drivers/gpu/drm/ast/ast_post.c temp = ast_mindwm(ast, 0x1e6e2070); temp 2067 drivers/gpu/drm/ast/ast_post.c if (temp & 0x00800000) { temp 2076 drivers/gpu/drm/ast/ast_post.c temp = ast_mindwm(ast, 0x1e6e2040); temp 2077 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1e6e2040, temp | 0x40); temp 1568 drivers/gpu/drm/drm_dp_mst_topology.c char temp[8]; temp 1573 drivers/gpu/drm/drm_dp_mst_topology.c snprintf(temp, sizeof(temp), "-%d", port_num); temp 1574 drivers/gpu/drm/drm_dp_mst_topology.c strlcat(proppath, temp, proppath_size); temp 1576 drivers/gpu/drm/drm_dp_mst_topology.c snprintf(temp, sizeof(temp), "-%d", pnum); temp 1577 drivers/gpu/drm/drm_dp_mst_topology.c strlcat(proppath, temp, proppath_size); temp 240 drivers/gpu/drm/drm_vm.c struct drm_vma_entry *pt, *temp; temp 251 drivers/gpu/drm/drm_vm.c list_for_each_entry_safe(pt, temp, &dev->vmalist, head) { temp 426 drivers/gpu/drm/drm_vm.c struct drm_vma_entry *pt, *temp; temp 431 drivers/gpu/drm/drm_vm.c list_for_each_entry_safe(pt, temp, &dev->vmalist, head) { temp 314 drivers/gpu/drm/gma500/cdv_device.c u32 temp; temp 325 drivers/gpu/drm/gma500/cdv_device.c temp = REG_READ(DPLL_A); temp 326 drivers/gpu/drm/gma500/cdv_device.c if ((temp & DPLL_SYNCLOCK_ENABLE) == 0) { temp 327 drivers/gpu/drm/gma500/cdv_device.c REG_WRITE(DPLL_A, temp | DPLL_SYNCLOCK_ENABLE); temp 331 drivers/gpu/drm/gma500/cdv_device.c temp = REG_READ(DPLL_B); temp 332 drivers/gpu/drm/gma500/cdv_device.c if ((temp & DPLL_SYNCLOCK_ENABLE) == 0) { temp 333 drivers/gpu/drm/gma500/cdv_device.c REG_WRITE(DPLL_B, temp | DPLL_SYNCLOCK_ENABLE); temp 42 drivers/gpu/drm/gma500/cdv_intel_crt.c u32 temp, reg; temp 45 drivers/gpu/drm/gma500/cdv_intel_crt.c temp = REG_READ(reg); temp 46 drivers/gpu/drm/gma500/cdv_intel_crt.c temp &= ~(ADPA_HSYNC_CNTL_DISABLE | ADPA_VSYNC_CNTL_DISABLE); temp 47 drivers/gpu/drm/gma500/cdv_intel_crt.c temp &= ~ADPA_DAC_ENABLE; temp 51 drivers/gpu/drm/gma500/cdv_intel_crt.c temp |= ADPA_DAC_ENABLE; temp 54 drivers/gpu/drm/gma500/cdv_intel_crt.c temp |= ADPA_DAC_ENABLE | ADPA_HSYNC_CNTL_DISABLE; temp 57 drivers/gpu/drm/gma500/cdv_intel_crt.c temp |= ADPA_DAC_ENABLE | ADPA_VSYNC_CNTL_DISABLE; temp 60 drivers/gpu/drm/gma500/cdv_intel_crt.c temp |= ADPA_HSYNC_CNTL_DISABLE | ADPA_VSYNC_CNTL_DISABLE; temp 64 drivers/gpu/drm/gma500/cdv_intel_crt.c REG_WRITE(reg, temp); temp 160 drivers/gpu/drm/gma500/cdv_intel_display.c u32 temp; temp 163 drivers/gpu/drm/gma500/cdv_intel_display.c if (cdv_sb_read(dev, reg, &temp) == 0) temp 164 drivers/gpu/drm/gma500/cdv_intel_display.c DRM_DEBUG_KMS("0x%08x: 0x%08x (before)\n", reg, temp); temp 188 drivers/gpu/drm/gma500/cdv_intel_display.c if (cdv_sb_read(dev, reg, &temp) == 0) temp 189 drivers/gpu/drm/gma500/cdv_intel_display.c DRM_DEBUG_KMS("0x%08x: 0x%08x (after)\n", reg, temp); temp 196 drivers/gpu/drm/gma500/gma_display.c u32 temp; temp 215 drivers/gpu/drm/gma500/gma_display.c temp = REG_READ(map->dpll); temp 216 drivers/gpu/drm/gma500/gma_display.c if ((temp & DPLL_VCO_ENABLE) == 0) { temp 217 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(map->dpll, temp); temp 221 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); temp 225 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); temp 232 drivers/gpu/drm/gma500/gma_display.c temp = REG_READ(map->cntr); temp 233 drivers/gpu/drm/gma500/gma_display.c if ((temp & DISPLAY_PLANE_ENABLE) == 0) { temp 235 drivers/gpu/drm/gma500/gma_display.c temp | DISPLAY_PLANE_ENABLE); temp 243 drivers/gpu/drm/gma500/gma_display.c temp = REG_READ(map->conf); temp 244 drivers/gpu/drm/gma500/gma_display.c if ((temp & PIPEACONF_ENABLE) == 0) temp 245 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(map->conf, temp | PIPEACONF_ENABLE); temp 247 drivers/gpu/drm/gma500/gma_display.c temp = REG_READ(map->status); temp 248 drivers/gpu/drm/gma500/gma_display.c temp &= ~(0xFFFF); temp 249 drivers/gpu/drm/gma500/gma_display.c temp |= PIPE_FIFO_UNDERRUN; temp 250 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(map->status, temp); temp 279 drivers/gpu/drm/gma500/gma_display.c temp = REG_READ(map->cntr); temp 280 drivers/gpu/drm/gma500/gma_display.c if ((temp & DISPLAY_PLANE_ENABLE) != 0) { temp 282 drivers/gpu/drm/gma500/gma_display.c temp & ~DISPLAY_PLANE_ENABLE); temp 289 drivers/gpu/drm/gma500/gma_display.c temp = REG_READ(map->conf); temp 290 drivers/gpu/drm/gma500/gma_display.c if ((temp & PIPEACONF_ENABLE) != 0) { temp 291 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(map->conf, temp & ~PIPEACONF_ENABLE); temp 301 drivers/gpu/drm/gma500/gma_display.c temp = REG_READ(map->dpll); temp 302 drivers/gpu/drm/gma500/gma_display.c if ((temp & DPLL_VCO_ENABLE) != 0) { temp 303 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(map->dpll, temp & ~DPLL_VCO_ENABLE); temp 330 drivers/gpu/drm/gma500/gma_display.c uint32_t temp; temp 340 drivers/gpu/drm/gma500/gma_display.c temp = CURSOR_MODE_DISABLE; temp 342 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(control, temp); temp 413 drivers/gpu/drm/gma500/gma_display.c temp = 0; temp 415 drivers/gpu/drm/gma500/gma_display.c temp |= (pipe << 28); temp 416 drivers/gpu/drm/gma500/gma_display.c temp |= CURSOR_MODE_64_ARGB_AX | MCURSOR_GAMMA_ENABLE; temp 419 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(control, temp); temp 445 drivers/gpu/drm/gma500/gma_display.c uint32_t temp = 0; temp 449 drivers/gpu/drm/gma500/gma_display.c temp |= (CURSOR_POS_SIGN << CURSOR_X_SHIFT); temp 453 drivers/gpu/drm/gma500/gma_display.c temp |= (CURSOR_POS_SIGN << CURSOR_Y_SHIFT); temp 457 drivers/gpu/drm/gma500/gma_display.c temp |= ((x & CURSOR_POS_MASK) << CURSOR_X_SHIFT); temp 458 drivers/gpu/drm/gma500/gma_display.c temp |= ((y & CURSOR_POS_MASK) << CURSOR_Y_SHIFT); temp 463 drivers/gpu/drm/gma500/gma_display.c REG_WRITE((pipe == 0) ? CURAPOS : CURBPOS, temp); temp 233 drivers/gpu/drm/gma500/mdfld_device.c u32 temp = 0; temp 373 drivers/gpu/drm/gma500/mdfld_device.c temp = REG_READ(mipi_reg); temp 374 drivers/gpu/drm/gma500/mdfld_device.c temp |= LP_OUTPUT_HOLD_RELEASE; temp 375 drivers/gpu/drm/gma500/mdfld_device.c REG_WRITE(mipi_reg, temp); temp 380 drivers/gpu/drm/gma500/mdfld_device.c temp = REG_READ(device_ready_reg); temp 381 drivers/gpu/drm/gma500/mdfld_device.c temp &= ~ULPS_MASK; temp 382 drivers/gpu/drm/gma500/mdfld_device.c temp |= 0x3; temp 383 drivers/gpu/drm/gma500/mdfld_device.c temp |= EXIT_ULPS_DEV_READY; temp 384 drivers/gpu/drm/gma500/mdfld_device.c REG_WRITE(device_ready_reg, temp); temp 387 drivers/gpu/drm/gma500/mdfld_device.c temp = REG_READ(device_ready_reg); temp 388 drivers/gpu/drm/gma500/mdfld_device.c temp &= ~ULPS_MASK; temp 389 drivers/gpu/drm/gma500/mdfld_device.c temp |= EXITING_ULPS; temp 390 drivers/gpu/drm/gma500/mdfld_device.c REG_WRITE(device_ready_reg, temp); temp 46 drivers/gpu/drm/gma500/mdfld_intel_display.c int count, temp; temp 64 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->conf); temp 65 drivers/gpu/drm/gma500/mdfld_intel_display.c if ((temp & PIPEACONF_PIPE_STATE) == 0) temp 74 drivers/gpu/drm/gma500/mdfld_intel_display.c int count, temp; temp 92 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->conf); temp 93 drivers/gpu/drm/gma500/mdfld_intel_display.c if (temp & PIPEACONF_PIPE_STATE) temp 233 drivers/gpu/drm/gma500/mdfld_intel_display.c u32 temp; temp 243 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->cntr); temp 244 drivers/gpu/drm/gma500/mdfld_intel_display.c if ((temp & DISPLAY_PLANE_ENABLE) != 0) { temp 246 drivers/gpu/drm/gma500/mdfld_intel_display.c temp & ~DISPLAY_PLANE_ENABLE); temp 255 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->conf); temp 256 drivers/gpu/drm/gma500/mdfld_intel_display.c if ((temp & PIPEACONF_ENABLE) != 0) { temp 257 drivers/gpu/drm/gma500/mdfld_intel_display.c temp &= ~PIPEACONF_ENABLE; temp 258 drivers/gpu/drm/gma500/mdfld_intel_display.c temp |= PIPECONF_PLANE_OFF | PIPECONF_CURSOR_OFF; temp 259 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->conf, temp); temp 266 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->dpll); temp 267 drivers/gpu/drm/gma500/mdfld_intel_display.c if (temp & DPLL_VCO_ENABLE) { temp 271 drivers/gpu/drm/gma500/mdfld_intel_display.c temp &= ~(DPLL_VCO_ENABLE); temp 272 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->dpll, temp); temp 278 drivers/gpu/drm/gma500/mdfld_intel_display.c if (!(temp & MDFLD_PWR_GATE_EN)) { temp 280 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->dpll, temp | MDFLD_PWR_GATE_EN); temp 303 drivers/gpu/drm/gma500/mdfld_intel_display.c u32 temp; temp 322 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->dpll); temp 324 drivers/gpu/drm/gma500/mdfld_intel_display.c if ((temp & DPLL_VCO_ENABLE) == 0) { temp 327 drivers/gpu/drm/gma500/mdfld_intel_display.c if (temp & MDFLD_PWR_GATE_EN) { temp 328 drivers/gpu/drm/gma500/mdfld_intel_display.c temp &= ~MDFLD_PWR_GATE_EN; temp 329 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->dpll, temp); temp 334 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->dpll, temp); temp 339 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); temp 355 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->cntr); temp 356 drivers/gpu/drm/gma500/mdfld_intel_display.c if ((temp & DISPLAY_PLANE_ENABLE) == 0) { temp 358 drivers/gpu/drm/gma500/mdfld_intel_display.c temp | DISPLAY_PLANE_ENABLE); temp 364 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->conf); temp 365 drivers/gpu/drm/gma500/mdfld_intel_display.c if ((temp & PIPEACONF_ENABLE) == 0) { temp 382 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->cntr); temp 384 drivers/gpu/drm/gma500/mdfld_intel_display.c temp & ~DISPLAY_PLANE_ENABLE); temp 389 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->conf); temp 390 drivers/gpu/drm/gma500/mdfld_intel_display.c temp &= ~PIPEACONF_ENABLE; temp 391 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->conf, temp); temp 398 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->cntr); temp 400 drivers/gpu/drm/gma500/mdfld_intel_display.c temp | DISPLAY_PLANE_ENABLE); temp 405 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->conf); temp 406 drivers/gpu/drm/gma500/mdfld_intel_display.c temp |= PIPEACONF_ENABLE; temp 407 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->conf, temp); temp 431 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->cntr); temp 432 drivers/gpu/drm/gma500/mdfld_intel_display.c if ((temp & DISPLAY_PLANE_ENABLE) != 0) { temp 434 drivers/gpu/drm/gma500/mdfld_intel_display.c temp & ~DISPLAY_PLANE_ENABLE); temp 441 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->conf); temp 442 drivers/gpu/drm/gma500/mdfld_intel_display.c if ((temp & PIPEACONF_ENABLE) != 0) { temp 443 drivers/gpu/drm/gma500/mdfld_intel_display.c temp &= ~PIPEACONF_ENABLE; temp 444 drivers/gpu/drm/gma500/mdfld_intel_display.c temp |= PIPECONF_PLANE_OFF | PIPECONF_CURSOR_OFF; temp 445 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->conf, temp); temp 452 drivers/gpu/drm/gma500/mdfld_intel_display.c temp = REG_READ(map->dpll); temp 453 drivers/gpu/drm/gma500/mdfld_intel_display.c if (temp & DPLL_VCO_ENABLE) { temp 457 drivers/gpu/drm/gma500/mdfld_intel_display.c temp &= ~(DPLL_VCO_ENABLE); temp 458 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->dpll, temp); temp 221 drivers/gpu/drm/gma500/oaktrail_crtc.c u32 temp; temp 242 drivers/gpu/drm/gma500/oaktrail_crtc.c temp = REG_READ_WITH_AUX(map->dpll, i); temp 243 drivers/gpu/drm/gma500/oaktrail_crtc.c if ((temp & DPLL_VCO_ENABLE) == 0) { temp 244 drivers/gpu/drm/gma500/oaktrail_crtc.c REG_WRITE_WITH_AUX(map->dpll, temp, i); temp 249 drivers/gpu/drm/gma500/oaktrail_crtc.c temp | DPLL_VCO_ENABLE, i); temp 254 drivers/gpu/drm/gma500/oaktrail_crtc.c temp | DPLL_VCO_ENABLE, i); temp 261 drivers/gpu/drm/gma500/oaktrail_crtc.c temp = REG_READ_WITH_AUX(map->conf, i); temp 262 drivers/gpu/drm/gma500/oaktrail_crtc.c if ((temp & PIPEACONF_ENABLE) == 0) { temp 264 drivers/gpu/drm/gma500/oaktrail_crtc.c temp | PIPEACONF_ENABLE, i); temp 268 drivers/gpu/drm/gma500/oaktrail_crtc.c temp = REG_READ_WITH_AUX(map->cntr, i); temp 269 drivers/gpu/drm/gma500/oaktrail_crtc.c if ((temp & DISPLAY_PLANE_ENABLE) == 0) { temp 271 drivers/gpu/drm/gma500/oaktrail_crtc.c temp | DISPLAY_PLANE_ENABLE, temp 294 drivers/gpu/drm/gma500/oaktrail_crtc.c temp = REG_READ_WITH_AUX(map->cntr, i); temp 295 drivers/gpu/drm/gma500/oaktrail_crtc.c if ((temp & DISPLAY_PLANE_ENABLE) != 0) { temp 297 drivers/gpu/drm/gma500/oaktrail_crtc.c temp & ~DISPLAY_PLANE_ENABLE, i); temp 305 drivers/gpu/drm/gma500/oaktrail_crtc.c temp = REG_READ_WITH_AUX(map->conf, i); temp 306 drivers/gpu/drm/gma500/oaktrail_crtc.c if ((temp & PIPEACONF_ENABLE) != 0) { temp 308 drivers/gpu/drm/gma500/oaktrail_crtc.c temp & ~PIPEACONF_ENABLE, i); temp 314 drivers/gpu/drm/gma500/oaktrail_crtc.c temp = REG_READ_WITH_AUX(map->dpll, i); temp 315 drivers/gpu/drm/gma500/oaktrail_crtc.c if ((temp & DPLL_VCO_ENABLE) != 0) { temp 317 drivers/gpu/drm/gma500/oaktrail_crtc.c temp & ~DPLL_VCO_ENABLE, i); temp 283 drivers/gpu/drm/gma500/oaktrail_hdmi.c u32 dspcntr, pipeconf, dpll, temp; temp 327 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = htotal_calculate(adjusted_mode); temp 328 drivers/gpu/drm/gma500/oaktrail_hdmi.c REG_WRITE(htot_reg, temp); temp 344 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = adjusted_mode->crtc_hblank_end - adjusted_mode->crtc_hblank_start; temp 345 drivers/gpu/drm/gma500/oaktrail_hdmi.c HDMI_WRITE(HDMI_HBLANK_A, ((adjusted_mode->crtc_hdisplay - 1) << 16) | temp); temp 384 drivers/gpu/drm/gma500/oaktrail_hdmi.c u32 temp; temp 393 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = REG_READ(DSPBCNTR); temp 394 drivers/gpu/drm/gma500/oaktrail_hdmi.c if ((temp & DISPLAY_PLANE_ENABLE) != 0) { temp 395 drivers/gpu/drm/gma500/oaktrail_hdmi.c REG_WRITE(DSPBCNTR, temp & ~DISPLAY_PLANE_ENABLE); temp 403 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = REG_READ(PIPEBCONF); temp 404 drivers/gpu/drm/gma500/oaktrail_hdmi.c if ((temp & PIPEACONF_ENABLE) != 0) { temp 405 drivers/gpu/drm/gma500/oaktrail_hdmi.c REG_WRITE(PIPEBCONF, temp & ~PIPEACONF_ENABLE); temp 410 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = REG_READ(PCH_PIPEBCONF); temp 411 drivers/gpu/drm/gma500/oaktrail_hdmi.c if ((temp & PIPEACONF_ENABLE) != 0) { temp 412 drivers/gpu/drm/gma500/oaktrail_hdmi.c REG_WRITE(PCH_PIPEBCONF, temp & ~PIPEACONF_ENABLE); temp 420 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = REG_READ(DPLL_CTRL); temp 421 drivers/gpu/drm/gma500/oaktrail_hdmi.c if ((temp & DPLL_PWRDN) == 0) { temp 422 drivers/gpu/drm/gma500/oaktrail_hdmi.c REG_WRITE(DPLL_CTRL, temp | (DPLL_PWRDN | DPLL_RESET)); temp 434 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = REG_READ(DPLL_CTRL); temp 435 drivers/gpu/drm/gma500/oaktrail_hdmi.c if ((temp & DPLL_PWRDN) != 0) { temp 436 drivers/gpu/drm/gma500/oaktrail_hdmi.c REG_WRITE(DPLL_CTRL, temp & ~(DPLL_PWRDN | DPLL_RESET)); temp 437 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = REG_READ(DPLL_CLK_ENABLE); temp 438 drivers/gpu/drm/gma500/oaktrail_hdmi.c REG_WRITE(DPLL_CLK_ENABLE, temp | DPLL_EN_DISP | DPLL_SEL_HDMI | DPLL_EN_HDMI); temp 445 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = REG_READ(PIPEBCONF); temp 446 drivers/gpu/drm/gma500/oaktrail_hdmi.c if ((temp & PIPEACONF_ENABLE) == 0) { temp 447 drivers/gpu/drm/gma500/oaktrail_hdmi.c REG_WRITE(PIPEBCONF, temp | PIPEACONF_ENABLE); temp 452 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = REG_READ(PCH_PIPEBCONF); temp 453 drivers/gpu/drm/gma500/oaktrail_hdmi.c if ((temp & PIPEACONF_ENABLE) == 0) { temp 454 drivers/gpu/drm/gma500/oaktrail_hdmi.c REG_WRITE(PCH_PIPEBCONF, temp | PIPEACONF_ENABLE); temp 461 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = REG_READ(DSPBCNTR); temp 462 drivers/gpu/drm/gma500/oaktrail_hdmi.c if ((temp & DISPLAY_PLANE_ENABLE) == 0) { temp 463 drivers/gpu/drm/gma500/oaktrail_hdmi.c REG_WRITE(DSPBCNTR, temp | DISPLAY_PLANE_ENABLE); temp 500 drivers/gpu/drm/gma500/oaktrail_hdmi.c u32 temp; temp 506 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = 0x0; temp 508 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = 0x99; temp 511 drivers/gpu/drm/gma500/oaktrail_hdmi.c HDMI_WRITE(HDMI_VIDEO_REG, temp); temp 535 drivers/gpu/drm/gma500/oaktrail_hdmi.c u32 temp; temp 537 drivers/gpu/drm/gma500/oaktrail_hdmi.c temp = HDMI_READ(HDMI_HSR); temp 538 drivers/gpu/drm/gma500/oaktrail_hdmi.c DRM_DEBUG_KMS("HDMI_HSR %x\n", temp); temp 540 drivers/gpu/drm/gma500/oaktrail_hdmi.c if ((temp & HDMI_DETECT_HDP) != 0) temp 79 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c u32 temp; temp 81 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp = HDMI_READ(HDMI_HICR); temp 82 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp |= (HDMI_INTR_I2C_ERROR | HDMI_INTR_I2C_FULL | HDMI_INTR_I2C_DONE); temp 83 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c HDMI_WRITE(HDMI_HICR, temp); temp 97 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c u32 temp; temp 105 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp = ((pmsg->len) << 20) | HI2C_EDID_READ | HI2C_ENABLE_TRANSACTION; temp 106 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c HDMI_WRITE(HDMI_HI2CHCR, temp); temp 180 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c u32 temp; temp 185 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp = HDMI_READ(HDMI_HI2CRDB0 + (i * 4)); temp 186 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c memcpy(buf + (offset + i * 4), &temp, 4); temp 191 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp = HDMI_READ(HDMI_HISR); temp 192 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c HDMI_WRITE(HDMI_HISR, temp | HDMI_INTR_I2C_FULL); temp 196 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp = HDMI_READ(HDMI_HI2CHCR); temp 197 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c HDMI_WRITE(HDMI_HI2CHCR, temp | HI2C_READ_CONTINUE); temp 207 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c u32 temp; temp 210 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp = HDMI_READ(HDMI_HISR); temp 211 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c HDMI_WRITE(HDMI_HISR, temp | HDMI_INTR_I2C_DONE); temp 215 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp = HDMI_READ(HDMI_HI2CHCR); temp 216 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c HDMI_WRITE(HDMI_HI2CHCR, temp & ~HI2C_ENABLE_TRANSACTION); temp 256 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c u32 temp; temp 264 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp = readl(base + 0x44); temp 265 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c DRM_DEBUG_DRIVER("old gpio val %x\n", temp); temp 266 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c writel((temp | 0x00000a00), (base + 0x44)); temp 267 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c temp = readl(base + 0x44); temp 268 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c DRM_DEBUG_DRIVER("new gpio val %x\n", temp); temp 1106 drivers/gpu/drm/gma500/psb_intel_sdvo.c u32 temp; temp 1128 drivers/gpu/drm/gma500/psb_intel_sdvo.c temp = REG_READ_AUX(psb_intel_sdvo->sdvo_reg); temp 1130 drivers/gpu/drm/gma500/psb_intel_sdvo.c temp = REG_READ(psb_intel_sdvo->sdvo_reg); temp 1132 drivers/gpu/drm/gma500/psb_intel_sdvo.c if ((temp & SDVO_ENABLE) != 0) { temp 1133 drivers/gpu/drm/gma500/psb_intel_sdvo.c psb_intel_sdvo_write_sdvox(psb_intel_sdvo, temp & ~SDVO_ENABLE); temp 1141 drivers/gpu/drm/gma500/psb_intel_sdvo.c temp = REG_READ_AUX(psb_intel_sdvo->sdvo_reg); temp 1143 drivers/gpu/drm/gma500/psb_intel_sdvo.c temp = REG_READ(psb_intel_sdvo->sdvo_reg); temp 1145 drivers/gpu/drm/gma500/psb_intel_sdvo.c if ((temp & SDVO_ENABLE) == 0) temp 1146 drivers/gpu/drm/gma500/psb_intel_sdvo.c psb_intel_sdvo_write_sdvox(psb_intel_sdvo, temp | SDVO_ENABLE); temp 132 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c u64 temp; temp 157 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c temp = f_kHz * (u64)q_pll * (u64)ref_clk_ps; temp 158 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c m_n_int = temp / (u64)1000000000; temp 159 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c m_n = (temp % (u64)1000000000) / (u64)100000000; temp 267 drivers/gpu/drm/i915/display/dvo_ivch.c u16 temp; temp 278 drivers/gpu/drm/i915/display/dvo_ivch.c if (!ivch_read(dvo, VR00, &temp)) temp 286 drivers/gpu/drm/i915/display/dvo_ivch.c if ((temp & VR00_BASE_ADDRESS_MASK) != dvo->slave_addr) { temp 289 drivers/gpu/drm/i915/display/dvo_ivch.c (temp & VR00_BASE_ADDRESS_MASK), dvo->slave_addr); temp 208 drivers/gpu/drm/i915/display/intel_color.c u64 temp[9]; temp 212 drivers/gpu/drm/i915/display/intel_color.c input = ctm_mult_by_limited(temp, ctm->matrix); temp 1071 drivers/gpu/drm/i915/display/intel_ddi.c u32 temp, i, rx_ctl_val, ddi_pll_sel; temp 1140 drivers/gpu/drm/i915/display/intel_ddi.c temp = I915_READ(FDI_RX_MISC(PIPE_A)); temp 1141 drivers/gpu/drm/i915/display/intel_ddi.c temp &= ~(FDI_RX_PWRDN_LANE1_MASK | FDI_RX_PWRDN_LANE0_MASK); temp 1142 drivers/gpu/drm/i915/display/intel_ddi.c I915_WRITE(FDI_RX_MISC(PIPE_A), temp); temp 1148 drivers/gpu/drm/i915/display/intel_ddi.c temp = I915_READ(DP_TP_STATUS(PORT_E)); temp 1149 drivers/gpu/drm/i915/display/intel_ddi.c if (temp & DP_TP_STATUS_AUTOTRAIN_DONE) { temp 1167 drivers/gpu/drm/i915/display/intel_ddi.c temp = I915_READ(DDI_BUF_CTL(PORT_E)); temp 1168 drivers/gpu/drm/i915/display/intel_ddi.c temp &= ~DDI_BUF_CTL_ENABLE; temp 1169 drivers/gpu/drm/i915/display/intel_ddi.c I915_WRITE(DDI_BUF_CTL(PORT_E), temp); temp 1173 drivers/gpu/drm/i915/display/intel_ddi.c temp = I915_READ(DP_TP_CTL(PORT_E)); temp 1174 drivers/gpu/drm/i915/display/intel_ddi.c temp &= ~(DP_TP_CTL_ENABLE | DP_TP_CTL_LINK_TRAIN_MASK); temp 1175 drivers/gpu/drm/i915/display/intel_ddi.c temp |= DP_TP_CTL_LINK_TRAIN_PAT1; temp 1176 drivers/gpu/drm/i915/display/intel_ddi.c I915_WRITE(DP_TP_CTL(PORT_E), temp); temp 1182 drivers/gpu/drm/i915/display/intel_ddi.c temp = I915_READ(FDI_RX_MISC(PIPE_A)); temp 1183 drivers/gpu/drm/i915/display/intel_ddi.c temp &= ~(FDI_RX_PWRDN_LANE1_MASK | FDI_RX_PWRDN_LANE0_MASK); temp 1184 drivers/gpu/drm/i915/display/intel_ddi.c temp |= FDI_RX_PWRDN_LANE1_VAL(2) | FDI_RX_PWRDN_LANE0_VAL(2); temp 1185 drivers/gpu/drm/i915/display/intel_ddi.c I915_WRITE(FDI_RX_MISC(PIPE_A), temp); temp 1700 drivers/gpu/drm/i915/display/intel_ddi.c u32 temp; temp 1707 drivers/gpu/drm/i915/display/intel_ddi.c temp = TRANS_MSA_SYNC_CLK; temp 1710 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_MSA_CEA_RANGE; temp 1714 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_MSA_6_BPC; temp 1717 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_MSA_8_BPC; temp 1720 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_MSA_10_BPC; temp 1723 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_MSA_12_BPC; temp 1736 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_MSA_SAMPLING_444 | TRANS_MSA_CLRSP_YCBCR; temp 1744 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_MSA_USE_VSC_SDP; temp 1745 drivers/gpu/drm/i915/display/intel_ddi.c I915_WRITE(TRANS_MSA_MISC(cpu_transcoder), temp); temp 1754 drivers/gpu/drm/i915/display/intel_ddi.c u32 temp; temp 1756 drivers/gpu/drm/i915/display/intel_ddi.c temp = I915_READ(TRANS_DDI_FUNC_CTL(cpu_transcoder)); temp 1758 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_DP_VC_PAYLOAD_ALLOC; temp 1760 drivers/gpu/drm/i915/display/intel_ddi.c temp &= ~TRANS_DDI_DP_VC_PAYLOAD_ALLOC; temp 1761 drivers/gpu/drm/i915/display/intel_ddi.c I915_WRITE(TRANS_DDI_FUNC_CTL(cpu_transcoder), temp); temp 1772 drivers/gpu/drm/i915/display/intel_ddi.c u32 temp; temp 1775 drivers/gpu/drm/i915/display/intel_ddi.c temp = TRANS_DDI_FUNC_ENABLE; temp 1777 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TGL_TRANS_DDI_SELECT_PORT(port); temp 1779 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_SELECT_PORT(port); temp 1783 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_BPC_6; temp 1786 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_BPC_8; temp 1789 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_BPC_10; temp 1792 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_BPC_12; temp 1799 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_PVSYNC; temp 1801 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_PHSYNC; temp 1811 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_EDP_INPUT_A_ONOFF; temp 1813 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_EDP_INPUT_A_ON; temp 1816 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_EDP_INPUT_B_ONOFF; temp 1819 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_EDP_INPUT_C_ONOFF; temp 1829 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_MODE_SELECT_HDMI; temp 1831 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_MODE_SELECT_DVI; temp 1834 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_HDMI_SCRAMBLING; temp 1836 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_HIGH_TMDS_CHAR_RATE; temp 1838 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_MODE_SELECT_FDI; temp 1839 drivers/gpu/drm/i915/display/intel_ddi.c temp |= (crtc_state->fdi_lanes - 1) << 1; temp 1841 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_MODE_SELECT_DP_MST; temp 1842 drivers/gpu/drm/i915/display/intel_ddi.c temp |= DDI_PORT_WIDTH(crtc_state->lane_count); temp 1844 drivers/gpu/drm/i915/display/intel_ddi.c temp |= TRANS_DDI_MODE_SELECT_DP_SST; temp 1845 drivers/gpu/drm/i915/display/intel_ddi.c temp |= DDI_PORT_WIDTH(crtc_state->lane_count); temp 1848 drivers/gpu/drm/i915/display/intel_ddi.c I915_WRITE(TRANS_DDI_FUNC_CTL(cpu_transcoder), temp); temp 3833 drivers/gpu/drm/i915/display/intel_ddi.c u32 temp, flags = 0; temp 3839 drivers/gpu/drm/i915/display/intel_ddi.c temp = I915_READ(TRANS_DDI_FUNC_CTL(cpu_transcoder)); temp 3840 drivers/gpu/drm/i915/display/intel_ddi.c if (temp & TRANS_DDI_PHSYNC) temp 3844 drivers/gpu/drm/i915/display/intel_ddi.c if (temp & TRANS_DDI_PVSYNC) temp 3851 drivers/gpu/drm/i915/display/intel_ddi.c switch (temp & TRANS_DDI_BPC_MASK) { temp 3868 drivers/gpu/drm/i915/display/intel_ddi.c switch (temp & TRANS_DDI_MODE_SELECT_MASK) { temp 3878 drivers/gpu/drm/i915/display/intel_ddi.c if (temp & TRANS_DDI_HDMI_SCRAMBLING) temp 3880 drivers/gpu/drm/i915/display/intel_ddi.c if (temp & TRANS_DDI_HIGH_TMDS_CHAR_RATE) temp 3896 drivers/gpu/drm/i915/display/intel_ddi.c ((temp & DDI_PORT_WIDTH_MASK) >> DDI_PORT_WIDTH_SHIFT) + 1; temp 3902 drivers/gpu/drm/i915/display/intel_ddi.c ((temp & DDI_PORT_WIDTH_MASK) >> DDI_PORT_WIDTH_SHIFT) + 1; temp 4442 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 4446 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4448 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE_IVB; temp 4449 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_NONE_IVB | FDI_TX_ENHANCE_FRAME_ENABLE; temp 4451 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4452 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_NONE | FDI_TX_ENHANCE_FRAME_ENABLE; temp 4454 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4457 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4459 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_PATTERN_MASK_CPT; temp 4460 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_NORMAL_CPT; temp 4462 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4463 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_NONE; temp 4465 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_ENHANCE_FRAME_ENABLE); temp 4485 drivers/gpu/drm/i915/display/intel_display.c u32 temp, tries; temp 4493 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4494 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_RX_SYMBOL_LOCK; temp 4495 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_RX_BIT_LOCK; temp 4496 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4502 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4503 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_DP_PORT_WIDTH_MASK; temp 4504 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_DP_PORT_WIDTH(crtc_state->fdi_lanes); temp 4505 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4506 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_1; temp 4507 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_TX_ENABLE); temp 4510 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4511 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4512 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_1; temp 4513 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_ENABLE); temp 4525 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4526 drivers/gpu/drm/i915/display/intel_display.c DRM_DEBUG_KMS("FDI_RX_IIR 0x%x\n", temp); temp 4528 drivers/gpu/drm/i915/display/intel_display.c if ((temp & FDI_RX_BIT_LOCK)) { temp 4530 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_BIT_LOCK); temp 4539 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4540 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4541 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_2; temp 4542 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4545 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4546 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4547 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_2; temp 4548 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4555 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4556 drivers/gpu/drm/i915/display/intel_display.c DRM_DEBUG_KMS("FDI_RX_IIR 0x%x\n", temp); temp 4558 drivers/gpu/drm/i915/display/intel_display.c if (temp & FDI_RX_SYMBOL_LOCK) { temp 4559 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_SYMBOL_LOCK); temp 4586 drivers/gpu/drm/i915/display/intel_display.c u32 temp, i, retry; temp 4591 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4592 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_RX_SYMBOL_LOCK; temp 4593 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_RX_BIT_LOCK; temp 4594 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4601 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4602 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_DP_PORT_WIDTH_MASK; temp 4603 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_DP_PORT_WIDTH(crtc_state->fdi_lanes); temp 4604 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4605 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_1; temp 4606 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_VOL_EMP_MASK; temp 4608 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_400MV_0DB_SNB_B; temp 4609 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_TX_ENABLE); temp 4615 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4617 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_PATTERN_MASK_CPT; temp 4618 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_1_CPT; temp 4620 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4621 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_1; temp 4623 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_ENABLE); temp 4630 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4631 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_VOL_EMP_MASK; temp 4632 drivers/gpu/drm/i915/display/intel_display.c temp |= snb_b_fdi_train_param[i]; temp 4633 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4640 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4641 drivers/gpu/drm/i915/display/intel_display.c DRM_DEBUG_KMS("FDI_RX_IIR 0x%x\n", temp); temp 4642 drivers/gpu/drm/i915/display/intel_display.c if (temp & FDI_RX_BIT_LOCK) { temp 4643 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_BIT_LOCK); temp 4657 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4658 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4659 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_2; temp 4661 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_VOL_EMP_MASK; temp 4663 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_400MV_0DB_SNB_B; temp 4665 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4668 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4670 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_PATTERN_MASK_CPT; temp 4671 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_2_CPT; temp 4673 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4674 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_2; temp 4676 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4683 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4684 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_VOL_EMP_MASK; temp 4685 drivers/gpu/drm/i915/display/intel_display.c temp |= snb_b_fdi_train_param[i]; temp 4686 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4693 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4694 drivers/gpu/drm/i915/display/intel_display.c DRM_DEBUG_KMS("FDI_RX_IIR 0x%x\n", temp); temp 4695 drivers/gpu/drm/i915/display/intel_display.c if (temp & FDI_RX_SYMBOL_LOCK) { temp 4696 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_SYMBOL_LOCK); temp 4719 drivers/gpu/drm/i915/display/intel_display.c u32 temp, i, j; temp 4724 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4725 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_RX_SYMBOL_LOCK; temp 4726 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_RX_BIT_LOCK; temp 4727 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4739 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4740 drivers/gpu/drm/i915/display/intel_display.c temp &= ~(FDI_LINK_TRAIN_AUTO | FDI_LINK_TRAIN_NONE_IVB); temp 4741 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_TX_ENABLE; temp 4742 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4745 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4746 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_AUTO; temp 4747 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_PATTERN_MASK_CPT; temp 4748 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_RX_ENABLE; temp 4749 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4753 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4754 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_DP_PORT_WIDTH_MASK; temp 4755 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_DP_PORT_WIDTH(crtc_state->fdi_lanes); temp 4756 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_1_IVB; temp 4757 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_VOL_EMP_MASK; temp 4758 drivers/gpu/drm/i915/display/intel_display.c temp |= snb_b_fdi_train_param[j/2]; temp 4759 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_COMPOSITE_SYNC; temp 4760 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_TX_ENABLE); temp 4766 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4767 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_1_CPT; temp 4768 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_COMPOSITE_SYNC; temp 4769 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_ENABLE); temp 4776 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4777 drivers/gpu/drm/i915/display/intel_display.c DRM_DEBUG_KMS("FDI_RX_IIR 0x%x\n", temp); temp 4779 drivers/gpu/drm/i915/display/intel_display.c if (temp & FDI_RX_BIT_LOCK || temp 4781 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_BIT_LOCK); temp 4795 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4796 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE_IVB; temp 4797 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_2_IVB; temp 4798 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4801 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4802 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_PATTERN_MASK_CPT; temp 4803 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_2_CPT; temp 4804 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4811 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4812 drivers/gpu/drm/i915/display/intel_display.c DRM_DEBUG_KMS("FDI_RX_IIR 0x%x\n", temp); temp 4814 drivers/gpu/drm/i915/display/intel_display.c if (temp & FDI_RX_SYMBOL_LOCK || temp 4816 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_SYMBOL_LOCK); temp 4837 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 4841 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4842 drivers/gpu/drm/i915/display/intel_display.c temp &= ~(FDI_DP_PORT_WIDTH_MASK | (0x7 << 16)); temp 4843 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_DP_PORT_WIDTH(crtc_state->fdi_lanes); temp 4844 drivers/gpu/drm/i915/display/intel_display.c temp |= (I915_READ(PIPECONF(pipe)) & PIPECONF_BPC_MASK) << 11; temp 4845 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_RX_PLL_ENABLE); temp 4851 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4852 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_PCDCLK); temp 4859 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4860 drivers/gpu/drm/i915/display/intel_display.c if ((temp & FDI_TX_PLL_ENABLE) == 0) { temp 4861 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp | FDI_TX_PLL_ENABLE); temp 4874 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 4878 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4879 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp & ~FDI_PCDCLK); temp 4883 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4884 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp & ~FDI_TX_PLL_ENABLE); temp 4890 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4891 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp & ~FDI_RX_PLL_ENABLE); temp 4905 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 4909 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4910 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp & ~FDI_TX_ENABLE); temp 4914 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4915 drivers/gpu/drm/i915/display/intel_display.c temp &= ~(0x7 << 16); temp 4916 drivers/gpu/drm/i915/display/intel_display.c temp |= (I915_READ(PIPECONF(pipe)) & PIPECONF_BPC_MASK) << 11; temp 4917 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp & ~FDI_RX_ENABLE); temp 4928 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4929 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4930 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_1; temp 4931 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4934 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 4936 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_PATTERN_MASK_CPT; temp 4937 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_1_CPT; temp 4939 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_LINK_TRAIN_NONE; temp 4940 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_LINK_TRAIN_PATTERN_1; temp 4943 drivers/gpu/drm/i915/display/intel_display.c temp &= ~(0x07 << 16); temp 4944 drivers/gpu/drm/i915/display/intel_display.c temp |= (I915_READ(PIPECONF(pipe)) & PIPECONF_BPC_MASK) << 11; temp 4945 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 4978 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 4984 drivers/gpu/drm/i915/display/intel_display.c temp = intel_sbi_read(dev_priv, SBI_SSCCTL6, SBI_ICLK); temp 4985 drivers/gpu/drm/i915/display/intel_display.c temp |= SBI_SSCCTL_DISABLE; temp 4986 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, SBI_SSCCTL6, temp, SBI_ICLK); temp 4998 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 5042 drivers/gpu/drm/i915/display/intel_display.c temp = intel_sbi_read(dev_priv, SBI_SSCDIVINTPHASE6, SBI_ICLK); temp 5043 drivers/gpu/drm/i915/display/intel_display.c temp &= ~SBI_SSCDIVINTPHASE_DIVSEL_MASK; temp 5044 drivers/gpu/drm/i915/display/intel_display.c temp |= SBI_SSCDIVINTPHASE_DIVSEL(divsel); temp 5045 drivers/gpu/drm/i915/display/intel_display.c temp &= ~SBI_SSCDIVINTPHASE_INCVAL_MASK; temp 5046 drivers/gpu/drm/i915/display/intel_display.c temp |= SBI_SSCDIVINTPHASE_INCVAL(phaseinc); temp 5047 drivers/gpu/drm/i915/display/intel_display.c temp |= SBI_SSCDIVINTPHASE_DIR(phasedir); temp 5048 drivers/gpu/drm/i915/display/intel_display.c temp |= SBI_SSCDIVINTPHASE_PROPAGATE; temp 5049 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, SBI_SSCDIVINTPHASE6, temp, SBI_ICLK); temp 5052 drivers/gpu/drm/i915/display/intel_display.c temp = intel_sbi_read(dev_priv, SBI_SSCAUXDIV6, SBI_ICLK); temp 5053 drivers/gpu/drm/i915/display/intel_display.c temp &= ~SBI_SSCAUXDIV_FINALDIV2SEL(1); temp 5054 drivers/gpu/drm/i915/display/intel_display.c temp |= SBI_SSCAUXDIV_FINALDIV2SEL(auxdiv); temp 5055 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, SBI_SSCAUXDIV6, temp, SBI_ICLK); temp 5058 drivers/gpu/drm/i915/display/intel_display.c temp = intel_sbi_read(dev_priv, SBI_SSCCTL6, SBI_ICLK); temp 5059 drivers/gpu/drm/i915/display/intel_display.c temp &= ~SBI_SSCCTL_DISABLE; temp 5060 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, SBI_SSCCTL6, temp, SBI_ICLK); temp 5076 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 5083 drivers/gpu/drm/i915/display/intel_display.c temp = intel_sbi_read(dev_priv, SBI_SSCCTL6, SBI_ICLK); temp 5084 drivers/gpu/drm/i915/display/intel_display.c if (temp & SBI_SSCCTL_DISABLE) { temp 5089 drivers/gpu/drm/i915/display/intel_display.c temp = intel_sbi_read(dev_priv, SBI_SSCDIVINTPHASE6, SBI_ICLK); temp 5090 drivers/gpu/drm/i915/display/intel_display.c divsel = (temp & SBI_SSCDIVINTPHASE_DIVSEL_MASK) >> temp 5092 drivers/gpu/drm/i915/display/intel_display.c phaseinc = (temp & SBI_SSCDIVINTPHASE_INCVAL_MASK) >> temp 5095 drivers/gpu/drm/i915/display/intel_display.c temp = intel_sbi_read(dev_priv, SBI_SSCAUXDIV6, SBI_ICLK); temp 5096 drivers/gpu/drm/i915/display/intel_display.c auxdiv = (temp & SBI_SSCAUXDIV_FINALDIV2SEL_MASK) >> temp 5133 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 5135 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(SOUTH_CHICKEN1); temp 5136 drivers/gpu/drm/i915/display/intel_display.c if (!!(temp & FDI_BC_BIFURCATION_SELECT) == enable) temp 5142 drivers/gpu/drm/i915/display/intel_display.c temp &= ~FDI_BC_BIFURCATION_SELECT; temp 5144 drivers/gpu/drm/i915/display/intel_display.c temp |= FDI_BC_BIFURCATION_SELECT; temp 5147 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(SOUTH_CHICKEN1, temp); temp 5219 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 5239 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(PCH_DPLL_SEL); temp 5240 drivers/gpu/drm/i915/display/intel_display.c temp |= TRANS_DPLL_ENABLE(pipe); temp 5244 drivers/gpu/drm/i915/display/intel_display.c temp |= sel; temp 5246 drivers/gpu/drm/i915/display/intel_display.c temp &= ~sel; temp 5247 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PCH_DPLL_SEL, temp); temp 5274 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 5275 drivers/gpu/drm/i915/display/intel_display.c temp &= ~(TRANS_DP_PORT_SEL_MASK | temp 5278 drivers/gpu/drm/i915/display/intel_display.c temp |= TRANS_DP_OUTPUT_ENABLE; temp 5279 drivers/gpu/drm/i915/display/intel_display.c temp |= bpc << 9; /* same format but at 11:9 */ temp 5282 drivers/gpu/drm/i915/display/intel_display.c temp |= TRANS_DP_HSYNC_ACTIVE_HIGH; temp 5284 drivers/gpu/drm/i915/display/intel_display.c temp |= TRANS_DP_VSYNC_ACTIVE_HIGH; temp 5288 drivers/gpu/drm/i915/display/intel_display.c temp |= TRANS_DP_PORT_SEL(port); temp 5290 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 5317 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 5319 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(dslreg); temp 5321 drivers/gpu/drm/i915/display/intel_display.c if (wait_for(I915_READ(dslreg) != temp, 5)) { temp 5322 drivers/gpu/drm/i915/display/intel_display.c if (wait_for(I915_READ(dslreg) != temp, 5)) temp 6600 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 6604 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(reg); temp 6605 drivers/gpu/drm/i915/display/intel_display.c temp &= ~(TRANS_DP_OUTPUT_ENABLE | temp 6607 drivers/gpu/drm/i915/display/intel_display.c temp |= TRANS_DP_PORT_SEL_NONE; temp 6608 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(reg, temp); temp 6611 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(PCH_DPLL_SEL); temp 6612 drivers/gpu/drm/i915/display/intel_display.c temp &= ~(TRANS_DPLL_ENABLE(pipe) | TRANS_DPLLB_SEL(pipe)); temp 6613 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PCH_DPLL_SEL, temp); temp 8923 drivers/gpu/drm/i915/display/intel_display.c u32 temp = I915_READ(PCH_DPLL(i)); temp 8925 drivers/gpu/drm/i915/display/intel_display.c if (!(temp & DPLL_VCO_ENABLE)) temp 8928 drivers/gpu/drm/i915/display/intel_display.c if ((temp & PLL_REF_INPUT_MASK) == temp 10076 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 10078 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(DPCLKA_CFGCR0) & DPCLKA_CFGCR0_DDI_CLK_SEL_MASK(port); temp 10079 drivers/gpu/drm/i915/display/intel_display.c id = temp >> DPCLKA_CFGCR0_DDI_CLK_SEL_SHIFT(port); temp 10094 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 10097 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(ICL_DPCLKA_CFGCR0) & temp 10099 drivers/gpu/drm/i915/display/intel_display.c id = temp >> ICL_DPCLKA_CFGCR0_DDI_CLK_SEL_SHIFT(phy); temp 10153 drivers/gpu/drm/i915/display/intel_display.c u32 temp; temp 10155 drivers/gpu/drm/i915/display/intel_display.c temp = I915_READ(DPLL_CTRL2) & DPLL_CTRL2_DDI_CLK_SEL_MASK(port); temp 10156 drivers/gpu/drm/i915/display/intel_display.c id = temp >> (port * 3 + 1); temp 3318 drivers/gpu/drm/i915/display/intel_dp.c u32 temp = I915_READ(DP_TP_CTL(port)); temp 3321 drivers/gpu/drm/i915/display/intel_dp.c temp |= DP_TP_CTL_SCRAMBLE_DISABLE; temp 3323 drivers/gpu/drm/i915/display/intel_dp.c temp &= ~DP_TP_CTL_SCRAMBLE_DISABLE; temp 3325 drivers/gpu/drm/i915/display/intel_dp.c temp &= ~DP_TP_CTL_LINK_TRAIN_MASK; temp 3328 drivers/gpu/drm/i915/display/intel_dp.c temp |= DP_TP_CTL_LINK_TRAIN_NORMAL; temp 3332 drivers/gpu/drm/i915/display/intel_dp.c temp |= DP_TP_CTL_LINK_TRAIN_PAT1; temp 3335 drivers/gpu/drm/i915/display/intel_dp.c temp |= DP_TP_CTL_LINK_TRAIN_PAT2; temp 3338 drivers/gpu/drm/i915/display/intel_dp.c temp |= DP_TP_CTL_LINK_TRAIN_PAT3; temp 3341 drivers/gpu/drm/i915/display/intel_dp.c temp |= DP_TP_CTL_LINK_TRAIN_PAT4; temp 3344 drivers/gpu/drm/i915/display/intel_dp.c I915_WRITE(DP_TP_CTL(port), temp); temp 7243 drivers/gpu/drm/i915/display/intel_dp.c u32 temp = I915_READ(PEG_BAND_GAP_DATA); temp 7244 drivers/gpu/drm/i915/display/intel_dp.c I915_WRITE(PEG_BAND_GAP_DATA, (temp & ~0xf) | 0xd); temp 302 drivers/gpu/drm/i915/display/intel_dp_mst.c u32 temp; temp 329 drivers/gpu/drm/i915/display/intel_dp_mst.c temp = I915_READ(DP_TP_STATUS(port)); temp 330 drivers/gpu/drm/i915/display/intel_dp_mst.c I915_WRITE(DP_TP_STATUS(port), temp); temp 1508 drivers/gpu/drm/i915/display/intel_dpll_mgr.c u32 temp; temp 1516 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL_ENABLE(port)); temp 1517 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= PORT_PLL_REF_SEL; temp 1518 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL_ENABLE(port), temp); temp 1521 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL_ENABLE(port)); temp 1522 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= PORT_PLL_POWER_ENABLE; temp 1523 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL_ENABLE(port), temp); temp 1531 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL_EBB_4(phy, ch)); temp 1532 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_10BIT_CLK_ENABLE; temp 1533 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL_EBB_4(phy, ch), temp); temp 1536 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL_EBB_0(phy, ch)); temp 1537 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~(PORT_PLL_P1_MASK | PORT_PLL_P2_MASK); temp 1538 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.ebb0; temp 1539 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL_EBB_0(phy, ch), temp); temp 1542 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL(phy, ch, 0)); temp 1543 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_M2_MASK; temp 1544 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.pll0; temp 1545 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL(phy, ch, 0), temp); temp 1548 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL(phy, ch, 1)); temp 1549 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_N_MASK; temp 1550 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.pll1; temp 1551 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL(phy, ch, 1), temp); temp 1554 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL(phy, ch, 2)); temp 1555 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_M2_FRAC_MASK; temp 1556 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.pll2; temp 1557 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL(phy, ch, 2), temp); temp 1560 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL(phy, ch, 3)); temp 1561 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_M2_FRAC_ENABLE; temp 1562 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.pll3; temp 1563 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL(phy, ch, 3), temp); temp 1566 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL(phy, ch, 6)); temp 1567 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_PROP_COEFF_MASK; temp 1568 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_INT_COEFF_MASK; temp 1569 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_GAIN_CTL_MASK; temp 1570 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.pll6; temp 1571 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL(phy, ch, 6), temp); temp 1574 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL(phy, ch, 8)); temp 1575 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_TARGET_CNT_MASK; temp 1576 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.pll8; temp 1577 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL(phy, ch, 8), temp); temp 1579 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL(phy, ch, 9)); temp 1580 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_LOCK_THRESHOLD_MASK; temp 1581 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.pll9; temp 1582 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL(phy, ch, 9), temp); temp 1584 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL(phy, ch, 10)); temp 1585 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_DCO_AMP_OVR_EN_H; temp 1586 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_DCO_AMP_MASK; temp 1587 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.pll10; temp 1588 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL(phy, ch, 10), temp); temp 1591 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL_EBB_4(phy, ch)); temp 1592 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= PORT_PLL_RECALIBRATE; temp 1593 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL_EBB_4(phy, ch), temp); temp 1594 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_10BIT_CLK_ENABLE; temp 1595 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.ebb4; temp 1596 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL_EBB_4(phy, ch), temp); temp 1599 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL_ENABLE(port)); temp 1600 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= PORT_PLL_ENABLE; temp 1601 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL_ENABLE(port), temp); temp 1609 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_TX_DW5_LN0(phy, ch)); temp 1610 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= DCC_DELAY_RANGE_2; temp 1611 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_TX_DW5_GRP(phy, ch), temp); temp 1618 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PCS_DW12_LN01(phy, ch)); temp 1619 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~LANE_STAGGER_MASK; temp 1620 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~LANESTAGGER_STRAP_OVRD; temp 1621 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp |= pll->state.hw_state.pcsdw12; temp 1622 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PCS_DW12_GRP(phy, ch), temp); temp 1629 drivers/gpu/drm/i915/display/intel_dpll_mgr.c u32 temp; temp 1631 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL_ENABLE(port)); temp 1632 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_ENABLE; temp 1633 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL_ENABLE(port), temp); temp 1637 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp = I915_READ(BXT_PORT_PLL_ENABLE(port)); temp 1638 drivers/gpu/drm/i915/display/intel_dpll_mgr.c temp &= ~PORT_PLL_POWER_ENABLE; temp 1639 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(BXT_PORT_PLL_ENABLE(port), temp); temp 193 drivers/gpu/drm/i915/display/intel_dvo.c u32 temp = I915_READ(dvo_reg); temp 196 drivers/gpu/drm/i915/display/intel_dvo.c I915_WRITE(dvo_reg, temp & ~DVO_ENABLE); temp 207 drivers/gpu/drm/i915/display/intel_dvo.c u32 temp = I915_READ(dvo_reg); temp 213 drivers/gpu/drm/i915/display/intel_dvo.c I915_WRITE(dvo_reg, temp | DVO_ENABLE); temp 1862 drivers/gpu/drm/i915/display/intel_hdmi.c u32 temp; temp 1864 drivers/gpu/drm/i915/display/intel_hdmi.c temp = I915_READ(intel_hdmi->hdmi_reg); temp 1866 drivers/gpu/drm/i915/display/intel_hdmi.c temp |= SDVO_ENABLE; temp 1868 drivers/gpu/drm/i915/display/intel_hdmi.c temp |= HDMI_AUDIO_ENABLE; temp 1870 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 1884 drivers/gpu/drm/i915/display/intel_hdmi.c u32 temp; temp 1886 drivers/gpu/drm/i915/display/intel_hdmi.c temp = I915_READ(intel_hdmi->hdmi_reg); temp 1888 drivers/gpu/drm/i915/display/intel_hdmi.c temp |= SDVO_ENABLE; temp 1890 drivers/gpu/drm/i915/display/intel_hdmi.c temp |= HDMI_AUDIO_ENABLE; temp 1896 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 1898 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 1910 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp & ~SDVO_ENABLE); temp 1917 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 1919 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 1936 drivers/gpu/drm/i915/display/intel_hdmi.c u32 temp; temp 1938 drivers/gpu/drm/i915/display/intel_hdmi.c temp = I915_READ(intel_hdmi->hdmi_reg); temp 1940 drivers/gpu/drm/i915/display/intel_hdmi.c temp |= SDVO_ENABLE; temp 1942 drivers/gpu/drm/i915/display/intel_hdmi.c temp |= HDMI_AUDIO_ENABLE; temp 1959 drivers/gpu/drm/i915/display/intel_hdmi.c temp &= ~SDVO_COLOR_FORMAT_MASK; temp 1960 drivers/gpu/drm/i915/display/intel_hdmi.c temp |= SDVO_COLOR_FORMAT_8bpc; temp 1963 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 1967 drivers/gpu/drm/i915/display/intel_hdmi.c temp &= ~SDVO_COLOR_FORMAT_MASK; temp 1968 drivers/gpu/drm/i915/display/intel_hdmi.c temp |= HDMI_COLOR_FORMAT_12bpc; temp 1970 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 1998 drivers/gpu/drm/i915/display/intel_hdmi.c u32 temp; temp 2000 drivers/gpu/drm/i915/display/intel_hdmi.c temp = I915_READ(intel_hdmi->hdmi_reg); temp 2002 drivers/gpu/drm/i915/display/intel_hdmi.c temp &= ~(SDVO_ENABLE | HDMI_AUDIO_ENABLE); temp 2003 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 2019 drivers/gpu/drm/i915/display/intel_hdmi.c temp &= ~SDVO_PIPE_SEL_MASK; temp 2020 drivers/gpu/drm/i915/display/intel_hdmi.c temp |= SDVO_ENABLE | SDVO_PIPE_SEL(PIPE_A); temp 2025 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 2027 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 2030 drivers/gpu/drm/i915/display/intel_hdmi.c temp &= ~SDVO_ENABLE; temp 2031 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(intel_hdmi->hdmi_reg, temp); temp 3124 drivers/gpu/drm/i915/display/intel_hdmi.c u32 temp = I915_READ(PEG_BAND_GAP_DATA); temp 3125 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(PEG_BAND_GAP_DATA, (temp & ~0xf) | 0xd); temp 236 drivers/gpu/drm/i915/display/intel_lvds.c u32 temp; temp 248 drivers/gpu/drm/i915/display/intel_lvds.c temp = lvds_encoder->init_lvds_val; temp 249 drivers/gpu/drm/i915/display/intel_lvds.c temp |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP; temp 252 drivers/gpu/drm/i915/display/intel_lvds.c temp &= ~LVDS_PIPE_SEL_MASK_CPT; temp 253 drivers/gpu/drm/i915/display/intel_lvds.c temp |= LVDS_PIPE_SEL_CPT(pipe); temp 255 drivers/gpu/drm/i915/display/intel_lvds.c temp &= ~LVDS_PIPE_SEL_MASK; temp 256 drivers/gpu/drm/i915/display/intel_lvds.c temp |= LVDS_PIPE_SEL(pipe); temp 260 drivers/gpu/drm/i915/display/intel_lvds.c temp &= ~LVDS_BORDER_ENABLE; temp 261 drivers/gpu/drm/i915/display/intel_lvds.c temp |= pipe_config->gmch_pfit.lvds_border_bits; temp 268 drivers/gpu/drm/i915/display/intel_lvds.c temp |= LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP; temp 270 drivers/gpu/drm/i915/display/intel_lvds.c temp &= ~(LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP); temp 278 drivers/gpu/drm/i915/display/intel_lvds.c temp &= ~LVDS_A3_POWER_MASK; temp 279 drivers/gpu/drm/i915/display/intel_lvds.c temp |= lvds_encoder->a3_power; temp 292 drivers/gpu/drm/i915/display/intel_lvds.c temp |= LVDS_ENABLE_DITHER; temp 294 drivers/gpu/drm/i915/display/intel_lvds.c temp &= ~LVDS_ENABLE_DITHER; temp 296 drivers/gpu/drm/i915/display/intel_lvds.c temp &= ~(LVDS_HSYNC_POLARITY | LVDS_VSYNC_POLARITY); temp 298 drivers/gpu/drm/i915/display/intel_lvds.c temp |= LVDS_HSYNC_POLARITY; temp 300 drivers/gpu/drm/i915/display/intel_lvds.c temp |= LVDS_VSYNC_POLARITY; temp 302 drivers/gpu/drm/i915/display/intel_lvds.c I915_WRITE(lvds_encoder->reg, temp); temp 1727 drivers/gpu/drm/i915/display/intel_sdvo.c u32 temp; temp 1737 drivers/gpu/drm/i915/display/intel_sdvo.c temp = I915_READ(intel_sdvo->sdvo_reg); temp 1739 drivers/gpu/drm/i915/display/intel_sdvo.c temp &= ~SDVO_ENABLE; temp 1740 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_write_sdvox(intel_sdvo, temp); temp 1755 drivers/gpu/drm/i915/display/intel_sdvo.c temp &= ~SDVO_PIPE_SEL_MASK; temp 1756 drivers/gpu/drm/i915/display/intel_sdvo.c temp |= SDVO_ENABLE | SDVO_PIPE_SEL(PIPE_A); temp 1757 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_write_sdvox(intel_sdvo, temp); temp 1759 drivers/gpu/drm/i915/display/intel_sdvo.c temp &= ~SDVO_ENABLE; temp 1760 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_write_sdvox(intel_sdvo, temp); temp 1789 drivers/gpu/drm/i915/display/intel_sdvo.c u32 temp; temp 1794 drivers/gpu/drm/i915/display/intel_sdvo.c temp = I915_READ(intel_sdvo->sdvo_reg); temp 1795 drivers/gpu/drm/i915/display/intel_sdvo.c temp |= SDVO_ENABLE; temp 1796 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_write_sdvox(intel_sdvo, temp); temp 632 drivers/gpu/drm/i915/display/vlv_dsi.c u32 temp; temp 635 drivers/gpu/drm/i915/display/vlv_dsi.c temp = I915_READ(MIPI_CTRL(port)); temp 636 drivers/gpu/drm/i915/display/vlv_dsi.c temp &= ~BXT_PIXEL_OVERLAP_CNT_MASK | temp 639 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(MIPI_CTRL(port), temp); temp 642 drivers/gpu/drm/i915/display/vlv_dsi.c temp = I915_READ(VLV_CHICKEN_3); temp 643 drivers/gpu/drm/i915/display/vlv_dsi.c temp &= ~PIXEL_OVERLAP_CNT_MASK | temp 646 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(VLV_CHICKEN_3, temp); temp 653 drivers/gpu/drm/i915/display/vlv_dsi.c u32 temp; temp 655 drivers/gpu/drm/i915/display/vlv_dsi.c temp = I915_READ(port_ctrl); temp 657 drivers/gpu/drm/i915/display/vlv_dsi.c temp &= ~LANE_CONFIGURATION_MASK; temp 658 drivers/gpu/drm/i915/display/vlv_dsi.c temp &= ~DUAL_LINK_MODE_MASK; temp 661 drivers/gpu/drm/i915/display/vlv_dsi.c temp |= (intel_dsi->dual_link - 1) temp 664 drivers/gpu/drm/i915/display/vlv_dsi.c temp |= LANE_CONFIGURATION_DUAL_LINK_A; temp 666 drivers/gpu/drm/i915/display/vlv_dsi.c temp |= crtc->pipe ? temp 672 drivers/gpu/drm/i915/display/vlv_dsi.c temp |= DITHERING_ENABLE; temp 675 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(port_ctrl, temp | DPI_ENABLE); temp 690 drivers/gpu/drm/i915/display/vlv_dsi.c u32 temp; temp 693 drivers/gpu/drm/i915/display/vlv_dsi.c temp = I915_READ(port_ctrl); temp 694 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(port_ctrl, temp & ~DPI_ENABLE); temp 342 drivers/gpu/drm/i915/display/vlv_dsi_pll.c u32 temp; temp 346 drivers/gpu/drm/i915/display/vlv_dsi_pll.c temp = I915_READ(MIPI_CTRL(port)); temp 347 drivers/gpu/drm/i915/display/vlv_dsi_pll.c temp &= ~ESCAPE_CLOCK_DIVIDER_MASK; temp 348 drivers/gpu/drm/i915/display/vlv_dsi_pll.c I915_WRITE(MIPI_CTRL(port), temp | temp 208 drivers/gpu/drm/i915/i915_drv.c u32 temp; temp 217 drivers/gpu/drm/i915/i915_drv.c pci_read_config_dword(dev_priv->bridge_dev, DEVEN, &temp); temp 218 drivers/gpu/drm/i915/i915_drv.c enabled = !!(temp & DEVEN_MCHBAR_EN); temp 220 drivers/gpu/drm/i915/i915_drv.c pci_read_config_dword(dev_priv->bridge_dev, mchbar_reg, &temp); temp 221 drivers/gpu/drm/i915/i915_drv.c enabled = temp & 1; temp 236 drivers/gpu/drm/i915/i915_drv.c temp | DEVEN_MCHBAR_EN); temp 238 drivers/gpu/drm/i915/i915_drv.c pci_read_config_dword(dev_priv->bridge_dev, mchbar_reg, &temp); temp 239 drivers/gpu/drm/i915/i915_drv.c pci_write_config_dword(dev_priv->bridge_dev, mchbar_reg, temp | 1); temp 731 drivers/gpu/drm/i915/i915_gem_fence_reg.c char temp[64]; temp 738 drivers/gpu/drm/i915/i915_gem_fence_reg.c memcpy(temp, &vaddr[i], 64); temp 740 drivers/gpu/drm/i915/i915_gem_fence_reg.c memcpy(&vaddr[i + 64], temp, 64); temp 459 drivers/gpu/drm/i915/i915_gem_gtt.h ({ u32 temp = ALIGN(start+1, 1 << GEN6_PDE_SHIFT); \ temp 460 drivers/gpu/drm/i915/i915_gem_gtt.h temp = min(temp - start, length); \ temp 461 drivers/gpu/drm/i915/i915_gem_gtt.h start += temp, length -= temp; }), ++iter) temp 926 drivers/gpu/drm/i915/i915_irq.c int i, temp; temp 930 drivers/gpu/drm/i915/i915_irq.c temp = I915_READ_FW(PIPEDSL(pipe)) & DSL_LINEMASK_GEN3; temp 931 drivers/gpu/drm/i915/i915_irq.c if (temp != position) { temp 932 drivers/gpu/drm/i915/i915_irq.c position = temp; temp 198 drivers/gpu/drm/mediatek/mtk_dsi.c u32 temp = readl(dsi->regs + offset); temp 200 drivers/gpu/drm/mediatek/mtk_dsi.c writel((temp & ~mask) | (data & mask), dsi->regs + offset); temp 143 drivers/gpu/drm/mediatek/mtk_mipi_tx.c u32 temp = readl(mipi_tx->regs + offset); temp 145 drivers/gpu/drm/mediatek/mtk_mipi_tx.c writel(temp & ~bits, mipi_tx->regs + offset); temp 151 drivers/gpu/drm/mediatek/mtk_mipi_tx.c u32 temp = readl(mipi_tx->regs + offset); temp 153 drivers/gpu/drm/mediatek/mtk_mipi_tx.c writel(temp | bits, mipi_tx->regs + offset); temp 159 drivers/gpu/drm/mediatek/mtk_mipi_tx.c u32 temp = readl(mipi_tx->regs + offset); temp 161 drivers/gpu/drm/mediatek/mtk_mipi_tx.c writel((temp & ~mask) | (data & mask), mipi_tx->regs + offset); temp 160 drivers/gpu/drm/meson/meson_overlay.c int temp, start, end; temp 221 drivers/gpu/drm/meson/meson_overlay.c temp = vd_start_lines + (temp_height * ratio_y >> 18); temp 222 drivers/gpu/drm/meson/meson_overlay.c vd_end_lines = (temp <= (h_in - 1)) ? temp : (h_in - 1); temp 267 drivers/gpu/drm/meson/meson_overlay.c temp = hd_start_lines + (temp_width * ratio_x >> 18); temp 268 drivers/gpu/drm/meson/meson_overlay.c hd_end_lines = (temp <= (w_in - 1)) ? temp : (w_in - 1); temp 1296 drivers/gpu/drm/msm/dsi/dsi_host.c u32 *lp, *temp, data; temp 1304 drivers/gpu/drm/msm/dsi/dsi_host.c temp = (u32 *)reg; temp 1333 drivers/gpu/drm/msm/dsi/dsi_host.c *temp++ = ntohl(data); /* to host byte order */ temp 30 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c s32 temp; temp 33 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; temp 34 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp, ui) - 2; temp 44 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = (timing->hs_rqst + timing->clk_prepare + clk_z) & 0x7; temp 45 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->clk_zero = clk_z + 8 - temp; temp 60 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c s32 temp; temp 72 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = lpx / ui; temp 73 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c if (temp & 0x1) temp 74 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_rqst = temp; temp 76 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_rqst = max_t(s32, 0, temp - 2); temp 81 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 105 * coeff + 12 * ui - 20 * coeff; temp 82 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = S_DIV_ROUND_UP(temp, ui) - 2; temp 86 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 85 * coeff + 6 * ui; temp 87 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = S_DIV_ROUND_UP(temp, ui) - 2; temp 88 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 40 * coeff + 4 * ui; temp 89 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp, ui) - 2; temp 93 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = ((timing->hs_prepare >> 1) + 1) * 2 * ui + 2 * ui; temp 94 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 145 * coeff + 10 * ui - temp; temp 95 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp, ui) - 2; temp 98 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 105 * coeff + 12 * ui - 20 * coeff; temp 99 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = S_DIV_ROUND_UP(temp, ui) - 2; temp 100 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 60 * coeff + 4 * ui; temp 101 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = DIV_ROUND_UP(temp, ui) - 2; temp 109 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = ((timing->hs_exit >> 1) + 1) * 2 * ui; temp 110 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 60 * coeff + 52 * ui - 24 * ui - temp; temp 111 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp, 8 * ui) - 1; temp 115 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = ((timing->clk_prepare >> 1) + 1) * 2 * ui; temp 116 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp += ((timing->clk_zero >> 1) + 1) * 2 * ui; temp 117 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp += 8 * ui + lpx; temp 118 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp, 8 * ui) - 1; temp 120 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = linear_inter(2 * tmax, tmin, pcnt2, 0, false); temp 121 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->shared_timings.clk_pre = temp >> 1; temp 159 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c s32 temp; temp 180 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = S_DIV_ROUND_UP(38 * coeff - val_ckln * ui, ui_x8); temp 181 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = max_t(s32, temp, 0); temp 182 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = (95 * coeff - val_ckln * ui) / ui_x8; temp 183 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); temp 186 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 300 * coeff - ((timing->clk_prepare << 3) + val_ckln) * ui; temp 187 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp - 11 * ui, ui_x8) - 3; temp 192 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 105 * coeff + 12 * ui - 20 * coeff; temp 193 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = (temp + 3 * ui) / ui_x8; temp 196 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = S_DIV_ROUND_UP(40 * coeff + 4 * ui - val * ui, ui_x8); temp 197 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = max_t(s32, temp, 0); temp 198 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = (85 * coeff + 6 * ui - val * ui) / ui_x8; temp 199 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); temp 202 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 145 * coeff + 10 * ui - ((timing->hs_prepare << 3) + val) * ui; temp 203 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp - 11 * ui, ui_x8) - 3; temp 208 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 105 * coeff + 12 * ui - 20 * coeff; temp 209 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = (temp + 3 * ui) / ui_x8; temp 212 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 50 * coeff + ((hb_en << 2) - 8) * ui; temp 213 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_rqst = S_DIV_ROUND_UP(temp, ui_x8); temp 219 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 50 * coeff + ((hb_en_ckln << 2) - 8) * ui; temp 220 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_rqst_ckln = S_DIV_ROUND_UP(temp, ui_x8); temp 222 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 60 * coeff + 52 * ui - 43 * ui; temp 223 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = DIV_ROUND_UP(temp, ui_x8) - 1; temp 228 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 8 * ui + ((timing->clk_prepare << 3) + val_ckln) * ui; temp 229 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp += (((timing->clk_zero + 3) << 3) + 11 - (pd_ckln << 1)) * ui; temp 230 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp += hb_en_ckln ? (((timing->hs_rqst_ckln << 3) + 4) * ui) : temp 232 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp, ui_x8) - 1; temp 235 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = linear_inter(tmax << 1, tmin, pcnt2, 0, false); temp 236 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->shared_timings.clk_pre = temp >> 1; temp 275 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c s32 temp; temp 289 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = S_DIV_ROUND_UP(38 * coeff, ui_x8); temp 290 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = max_t(s32, temp, 0); temp 291 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = (95 * coeff) / ui_x8; temp 292 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); temp 295 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 300 * coeff - (timing->clk_prepare << 3) * ui; temp 296 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp, ui_x8) - 1; temp 301 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 105 * coeff + 12 * ui - 20 * coeff; temp 302 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = (temp + 3 * ui) / ui_x8; temp 305 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = S_DIV_ROUND_UP(40 * coeff + 4 * ui, ui_x8); temp 306 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = max_t(s32, temp, 0); temp 307 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = (85 * coeff + 6 * ui) / ui_x8; temp 308 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = max_t(s32, temp, 0); temp 311 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 145 * coeff + 10 * ui - (timing->hs_prepare << 3) * ui; temp 312 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp, ui_x8) - 1; temp 317 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 105 * coeff + 12 * ui - 20 * coeff; temp 318 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmax = (temp / ui_x8) - 1; temp 321 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 50 * coeff + ((hb_en << 2) - 8) * ui; temp 322 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_rqst = S_DIV_ROUND_UP(temp, ui_x8); temp 328 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 50 * coeff + ((hb_en_ckln << 2) - 8) * ui; temp 329 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->hs_rqst_ckln = S_DIV_ROUND_UP(temp, ui_x8); temp 331 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 60 * coeff + 52 * ui - 43 * ui; temp 332 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = DIV_ROUND_UP(temp, ui_x8) - 1; temp 337 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = 8 * ui + (timing->clk_prepare << 3) * ui; temp 338 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp += (((timing->clk_zero + 3) << 3) + 11) * ui; temp 339 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp += hb_en_ckln ? (((timing->hs_rqst_ckln << 3) + 4) * ui) : temp 341 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c tmin = S_DIV_ROUND_UP(temp, ui_x8) - 1; temp 344 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c temp = linear_inter(tmax << 1, tmin, pcnt2, 0, false); temp 345 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c timing->shared_timings.clk_pre = temp >> 1; temp 115 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c u32 val, temp, fb_divider; temp 119 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c temp = rate / 10; temp 121 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c fb_divider = (temp * VCO_PREF_DIV_RATIO) / val; temp 167 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c u32 status, fb_divider, temp, ref_divider; temp 176 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c temp = pll_read(base + REG_DSI_28nm_8960_PHY_PLL_CTRL_2) & 0x07; temp 177 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c fb_divider = (temp << 8) | fb_divider; temp 243 drivers/gpu/drm/nouveau/dispnv04/dac.c saved_rtest_ctrl, saved_gpio0 = 0, saved_gpio1 = 0, temp, routput; temp 300 drivers/gpu/drm/nouveau/dispnv04/dac.c temp = NVReadRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset); temp 301 drivers/gpu/drm/nouveau/dispnv04/dac.c NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, temp | 1); temp 305 drivers/gpu/drm/nouveau/dispnv04/dac.c temp = NVReadRAMDAC(dev, head, NV_PRAMDAC_TEST_CONTROL); temp 307 drivers/gpu/drm/nouveau/dispnv04/dac.c temp | NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED); temp 314 drivers/gpu/drm/nouveau/dispnv04/dac.c temp = NVReadRAMDAC(dev, head, NV_PRAMDAC_TEST_CONTROL); temp 316 drivers/gpu/drm/nouveau/dispnv04/dac.c temp & ~NV_PRAMDAC_TEST_CONTROL_TP_INS_EN_ASSERTED); temp 5 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/therm.h u8 temp; temp 34 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/therm.h int temp; temp 104 drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h u8 temp; temp 36 drivers/gpu/drm/nouveau/include/nvkm/subdev/volt.h int nvkm_volt_set_id(struct nvkm_volt *, u8 id, u8 min_id, u8 temp, temp 127 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_abi16_ntfy *ntfy, *temp; temp 135 drivers/gpu/drm/nouveau/nouveau_abi16.c list_for_each_entry_safe(ntfy, temp, &chan->notifiers, head) { temp 162 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nouveau_abi16_chan *chan, *temp; temp 165 drivers/gpu/drm/nouveau/nouveau_abi16.c list_for_each_entry_safe(chan, temp, &abi16->channels, head) { temp 692 drivers/gpu/drm/nouveau/nouveau_gem.c struct nouveau_abi16_chan *temp; temp 705 drivers/gpu/drm/nouveau/nouveau_gem.c list_for_each_entry(temp, &abi16->channels, head) { temp 706 drivers/gpu/drm/nouveau/nouveau_gem.c if (temp->chan->chid == req->channel) { temp 707 drivers/gpu/drm/nouveau/nouveau_gem.c chan = temp->chan; temp 285 drivers/gpu/drm/nouveau/nvkm/core/mm.c struct nvkm_mm_node *node, *temp; temp 300 drivers/gpu/drm/nouveau/nvkm/core/mm.c list_for_each_entry_safe(node, temp, &mm->nodes, nl_entry) { temp 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c struct nvkm_outp *temp, *outp = NULL; temp 76 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c list_for_each_entry(temp, &disp->base.outp, head) { temp 77 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if ((temp->info.hasht == type) && temp 78 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c (temp->info.hashm & mask) == mask) { temp 79 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c outp = temp; temp 1654 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 star, temp; temp 1658 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c temp = nvkm_rd32(device, falcon + 0x01c4); temp 1659 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (temp > star) temp 1660 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c star = temp; temp 235 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c struct nv40_gr_chan *temp, *chan = NULL; temp 252 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c list_for_each_entry(temp, &gr->chan, head) { temp 253 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c if (temp->inst >> 4 == inst) { temp 254 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c chan = temp; temp 148 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c struct nv44_mpeg_chan *temp, *chan = NULL; temp 158 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c list_for_each_entry(temp, &mpeg->chan, head) { temp 159 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c if (temp->inst >> 4 == inst) { temp 160 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c chan = temp; temp 94 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c u32 data = nvbios_rammapEe(bios, idx, ver, hdr, cnt, len), temp; temp 111 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c temp = nvbios_rd32(bios, data + 0x09); temp 112 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c p->rammap_11_09_01ff = (temp & 0x000001ff) >> 0; temp 113 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c p->rammap_11_0a_03fe = (temp & 0x0003fe00) >> 9; temp 114 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c p->rammap_11_0a_0400 = (temp & 0x00040000) >> 18; temp 115 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c p->rammap_11_0a_0800 = (temp & 0x00080000) >> 19; temp 116 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c p->rammap_11_0b_01f0 = (temp & 0x01f00000) >> 20; temp 117 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c p->rammap_11_0b_0200 = (temp & 0x02000000) >> 25; temp 118 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c p->rammap_11_0b_0400 = (temp & 0x04000000) >> 26; temp 119 drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c p->rammap_11_0b_0800 = (temp & 0x08000000) >> 27; temp 102 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c sensor->thrs_critical.temp = (value & 0xff0) >> 4; temp 109 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c sensor->thrs_down_clock.temp = (value & 0xff0) >> 4; temp 116 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c sensor->thrs_fan_boost.temp = (value & 0xff0) >> 4; temp 142 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c sensor->thrs_shutdown.temp = (value & 0xff0) >> 4; temp 179 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c cur_trip->temp = (value & 0xff0) >> 4; temp 88 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c u32 data = nvbios_timingEe(bios, idx, ver, hdr, cnt, len), temp; temp 155 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c temp = nvbios_rd16(bios, data + 0x2c); temp 156 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c p->timing_20_2c_003f = (temp & 0x003f) >> 0; temp 157 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c p->timing_20_2c_1fc0 = (temp & 0x1fc0) >> 6; temp 160 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c temp = nvbios_rd16(bios, data + 0x31); temp 161 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c p->timing_20_31_0007 = (temp & 0x0007) >> 0; temp 162 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c p->timing_20_31_0078 = (temp & 0x0078) >> 3; temp 163 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c p->timing_20_31_0780 = (temp & 0x0780) >> 7; temp 164 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c p->timing_20_31_0800 = (temp & 0x0800) >> 11; temp 165 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c p->timing_20_31_7000 = (temp & 0x7000) >> 12; temp 166 drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c p->timing_20_31_8000 = (temp & 0x8000) >> 15; temp 119 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h u32 temp = hwsq_rd32(ram, reg); temp 120 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h if (temp != ((temp & ~mask) | data) || reg->force) temp 121 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h hwsq_wr32(ram, reg, (temp & ~mask) | data); temp 122 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h return temp; temp 80 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c u32 max_volt, int temp) temp 105 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c voltage = nvkm_volt_map(volt, cstate->voltage, temp); temp 128 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_volt_map(volt, volt->max0_id, clk->temp)); temp 131 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_volt_map(volt, volt->max1_id, clk->temp)); temp 134 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_volt_map(volt, volt->max2_id, clk->temp)); temp 137 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (nvkm_cstate_valid(clk, cstate, max_volt, clk->temp)) temp 186 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c pstate->base.voltage, clk->temp, +1); temp 201 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c pstate->base.voltage, clk->temp, -1); temp 310 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c clk->astate, clk->temp, clk->dstate); temp 390 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_cstate *cstate, *temp; temp 392 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c list_for_each_entry_safe(cstate, temp, &pstate->list, head) { temp 542 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_tstate(struct nvkm_clk *clk, u8 temp) temp 544 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (clk->temp == temp) temp 546 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c clk->temp = temp; temp 619 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c clk->temp = 90; /* reasonable default value */ temp 628 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_pstate *pstate, *temp; temp 636 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c list_for_each_entry_safe(pstate, temp, &clk->states, head) { temp 114 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h u32 temp = ramfuc_rd32(ram, reg); temp 115 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h if (temp != ((temp & ~mask) | data) || reg->force) { temp 116 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h ramfuc_wr32(ram, reg, (temp & ~mask) | data); temp 119 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h return temp; temp 273 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 temp = ram_mask(fuc, gpio2E, 0x3000, fuc->r_func2E[1]); temp 274 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (temp != ram_rd32(fuc, gpio2E)) { temp 360 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 temp = ram_mask(fuc, gpioMV, 0x3000, fuc->r_funcMV[mv]); temp 361 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (temp != ram_rd32(fuc, gpioMV)) { temp 586 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 temp = ram_mask(fuc, 0x10f294, 0xff000000, 0x24000000); temp 589 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c ram_wr32(fuc, 0x10f294, temp); temp 602 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 temp = ram_mask(fuc, gpio2E, 0x3000, fuc->r_func2E[0]); temp 603 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (temp != ram_rd32(fuc, gpio2E)) { temp 718 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 temp = ram_mask(fuc, gpio2E, 0x3000, fuc->r_func2E[1]); temp 719 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (temp != ram_rd32(fuc, gpio2E)) { temp 811 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 temp = ram_mask(fuc, gpioMV, 0x3000, fuc->r_funcMV[mv]); temp 812 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (temp != ram_rd32(fuc, gpioMV)) { temp 927 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 temp = ram_mask(fuc, gpio2E, 0x3000, fuc->r_func2E[0]); temp 928 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (temp != ram_rd32(fuc, gpio2E)) { temp 46 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c u32 temp = nvkm_rd32(device, 0x00e068), i; temp 50 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c temp &= ~(type << (i * 4)); temp 53 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c temp |= type << (i * 4); temp 56 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c nvkm_wr32(device, 0x00e068, temp); temp 46 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c u32 temp = nvkm_rd32(device, 0x00dc68), i; temp 50 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c temp &= ~(type << (i * 4)); temp 53 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c temp |= type << (i * 4); temp 56 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c nvkm_wr32(device, 0x00dc68, temp); temp 1640 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct rb_node *node = NULL, *temp; temp 1687 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c temp = vmm->free.rb_node; temp 1688 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c while (temp) { temp 1689 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *this = rb_entry(temp, typeof(*this), tree); temp 1691 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c temp = temp->rb_right; temp 1693 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c node = temp; temp 1694 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c temp = temp->rb_left; temp 43 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c u8 temp = therm->func->temp_get(therm); temp 49 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (temp >= trip[i].temp) temp 54 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (last_trip && temp <= (last_trip->temp) && temp 55 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c temp > (last_trip->temp - last_trip->hysteresis)) temp 73 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c u8 temp = therm->func->temp_get(therm); temp 77 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (temp < linear_min_temp) temp 79 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c else if (temp > linear_max_temp) temp 83 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c duty = (temp - linear_min_temp); temp 101 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c u8 max = therm->bios_sensor.thrs_fan_boost.temp; temp 225 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c return therm->bios_sensor.thrs_fan_boost.temp; temp 229 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c return therm->bios_sensor.thrs_down_clock.temp; temp 233 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c return therm->bios_sensor.thrs_critical.temp; temp 237 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c return therm->bios_sensor.thrs_shutdown.temp; temp 267 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->bios_sensor.thrs_fan_boost.temp = value; temp 275 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->bios_sensor.thrs_down_clock.temp = value; temp 283 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->bios_sensor.thrs_critical.temp = value; temp 291 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->bios_sensor.thrs_shutdown.temp = value; temp 68 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c nvkm_wr32(device, 0x20480, sensor->thrs_shutdown.temp); temp 71 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c nvkm_wr32(device, 0x204c4, sensor->thrs_fan_boost.temp); temp 74 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c nvkm_wr32(device, 0x204c0, sensor->thrs_critical.temp); temp 77 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c nvkm_wr32(device, 0x20414, sensor->thrs_down_clock.temp); temp 82 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c sensor->thrs_fan_boost.temp, temp 84 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c sensor->thrs_down_clock.temp, temp 86 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c sensor->thrs_critical.temp, temp 88 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c sensor->thrs_shutdown.temp, temp 103 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c int temp, cur; temp 106 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c temp = nvkm_rd32(device, thrs_reg); temp 109 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c if (temp == thrs->temp) { temp 110 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c nvkm_wr32(device, thrs_reg, thrs->temp - thrs->hysteresis); temp 113 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c nvkm_wr32(device, thrs_reg, thrs->temp); temp 119 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c if (new_state == NVKM_THERM_THRS_LOWER && cur > thrs->temp) temp 122 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c cur < thrs->temp - thrs->hysteresis) temp 31 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c therm->bios_sensor.thrs_fan_boost.temp = 90; temp 34 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c therm->bios_sensor.thrs_down_clock.temp = 95; temp 37 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c therm->bios_sensor.thrs_critical.temp = 105; temp 40 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c therm->bios_sensor.thrs_shutdown.temp = 135; temp 143 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c int temp = therm->func->temp_get(therm); temp 147 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c if (temp >= thrs->temp && prev_state == NVKM_THERM_THRS_LOWER) { temp 150 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c } else if (temp <= thrs->temp - thrs->hysteresis && temp 199 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c sensor->thrs_fan_boost.temp, temp 201 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c sensor->thrs_down_clock.temp, temp 203 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c sensor->thrs_critical.temp, temp 205 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c sensor->thrs_shutdown.temp, temp 171 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top_device *info, *temp; temp 173 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c list_for_each_entry_safe(info, temp, &top->device, head) { temp 104 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c nvkm_volt_map(struct nvkm_volt *volt, u8 id, u8 temp) temp 128 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c result += ((s64)info.arg[2] * temp * 15625) >> 10; temp 129 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c result += ((s64)info.arg[3] * volt->speedo * temp * 15625) >> 18; temp 131 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c result += ((s64)info.arg[5] * temp * temp * 15625) >> 18; temp 148 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c int ret = nvkm_volt_map(volt, info.link, temp); temp 160 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c nvkm_volt_set_id(struct nvkm_volt *volt, u8 id, u8 min_id, u8 temp, temp 168 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c ret = nvkm_volt_map(volt, id, temp); temp 174 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c int min = nvkm_volt_map(volt, min_id, temp); temp 67 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c gk20a_volt_get_cvb_t_voltage(int speedo, int temp, int s_scale, int t_scale, temp 75 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c DIV_ROUND_CLOSEST(coef->c5 * temp, t_scale); temp 76 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c mv = DIV_ROUND_CLOSEST(mv * temp, t_scale) + cvb_mv; temp 138 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c int temp; temp 142 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c temp = hdmi_read_reg(core->base, HDMI_CEC_DBG_3); temp 143 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c if (FLD_GET(temp, 7, 7) == 0) temp 154 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c int temp; temp 159 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c temp = hdmi_read_reg(core->base, HDMI_CEC_RX_CONTROL); temp 160 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c if (FLD_GET(temp, 1, 0) == 0) temp 170 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c int temp, err; temp 233 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c temp = hdmi_read_reg(core->base, HDMI_CEC_SETUP); temp 234 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c if (FLD_GET(temp, 4, 4) != 0) { temp 235 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c temp = FLD_MOD(temp, 0, 4, 4); temp 236 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c hdmi_write_reg(core->base, HDMI_CEC_SETUP, temp); temp 243 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c temp = hdmi_read_reg(core->base, HDMI_CEC_INT_STATUS_1); temp 244 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c temp = FLD_MOD(0x0, 0x5, 2, 0); temp 245 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c hdmi_write_reg(core->base, HDMI_CEC_INT_STATUS_1, temp); temp 282 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c int temp; temp 306 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c temp = cec_msg_destination(msg); temp 308 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c temp |= 0x80; temp 309 drivers/gpu/drm/omapdrm/dss/hdmi4_cec.c hdmi_write_reg(core->base, HDMI_CEC_TX_DEST, temp); temp 45 drivers/gpu/drm/panel/panel-lg-lg4573.c u16 temp = cpu_to_be16(data); temp 49 drivers/gpu/drm/panel/panel-lg-lg4573.c xfer.tx_buf = &temp; temp 111 drivers/gpu/drm/radeon/atom.c uint32_t temp = 0xCDCDCDCD; temp 119 drivers/gpu/drm/radeon/atom.c temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); temp 125 drivers/gpu/drm/radeon/atom.c ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp); temp 129 drivers/gpu/drm/radeon/atom.c temp &= temp 135 drivers/gpu/drm/radeon/atom.c temp |= temp 141 drivers/gpu/drm/radeon/atom.c temp &= temp 144 drivers/gpu/drm/radeon/atom.c temp |= temp 151 drivers/gpu/drm/radeon/atom.c temp &= temp 154 drivers/gpu/drm/radeon/atom.c temp |= temp 161 drivers/gpu/drm/radeon/atom.c temp &= temp 164 drivers/gpu/drm/radeon/atom.c temp |= temp 175 drivers/gpu/drm/radeon/atom.c return temp; temp 1549 drivers/gpu/drm/radeon/atombios_encoders.c uint32_t temp, reg; temp 1559 drivers/gpu/drm/radeon/atombios_encoders.c temp = RREG32(reg); temp 1574 drivers/gpu/drm/radeon/atombios_encoders.c WREG32(reg, temp); temp 213 drivers/gpu/drm/radeon/cik.c u32 temp; temp 216 drivers/gpu/drm/radeon/cik.c temp = (RREG32_SMC(CG_MULT_THERMAL_STATUS) & CTF_TEMP_MASK) >> temp 219 drivers/gpu/drm/radeon/cik.c if (temp & 0x200) temp 222 drivers/gpu/drm/radeon/cik.c actual_temp = temp & 0x1ff; temp 232 drivers/gpu/drm/radeon/cik.c u32 temp; temp 235 drivers/gpu/drm/radeon/cik.c temp = RREG32_SMC(0xC0300E0C); temp 237 drivers/gpu/drm/radeon/cik.c if (temp) temp 238 drivers/gpu/drm/radeon/cik.c actual_temp = (temp / 8) - 49; temp 1454 drivers/gpu/drm/radeon/evergreen.c u32 temp, toffset; temp 1460 drivers/gpu/drm/radeon/evergreen.c temp = (RREG32(CG_TS0_STATUS) & TS0_ADC_DOUT_MASK) >> temp 1464 drivers/gpu/drm/radeon/evergreen.c actual_temp = temp / 2 - (0x200 - toffset); temp 1466 drivers/gpu/drm/radeon/evergreen.c actual_temp = temp / 2 + toffset; temp 1471 drivers/gpu/drm/radeon/evergreen.c temp = (RREG32(CG_MULT_THERMAL_STATUS) & ASIC_T_MASK) >> temp 1474 drivers/gpu/drm/radeon/evergreen.c if (temp & 0x400) temp 1476 drivers/gpu/drm/radeon/evergreen.c else if (temp & 0x200) temp 1478 drivers/gpu/drm/radeon/evergreen.c else if (temp & 0x100) { temp 1479 drivers/gpu/drm/radeon/evergreen.c actual_temp = temp & 0x1ff; temp 1482 drivers/gpu/drm/radeon/evergreen.c actual_temp = temp & 0xff; temp 1492 drivers/gpu/drm/radeon/evergreen.c u32 temp = RREG32(CG_THERMAL_STATUS) & 0xff; temp 1493 drivers/gpu/drm/radeon/evergreen.c int actual_temp = temp - 49; temp 2086 drivers/gpu/drm/radeon/kv_dpm.c u32 temp; temp 2097 drivers/gpu/drm/radeon/kv_dpm.c temp = sclk / sumo_get_sleep_divider_from_id(i); temp 2098 drivers/gpu/drm/radeon/kv_dpm.c if (temp >= min) temp 882 drivers/gpu/drm/radeon/ni.c u32 temp = RREG32_SMC(TN_CURRENT_GNB_TEMP) & 0x7ff; temp 883 drivers/gpu/drm/radeon/ni.c int actual_temp = (temp / 8) - 49; temp 1780 drivers/gpu/drm/radeon/r100.c uint32_t temp = idx_value >> 4; temp 1782 drivers/gpu/drm/radeon/r100.c track->textures[i].enabled = !!(temp & (1 << i)); temp 2815 drivers/gpu/drm/radeon/r100.c uint32_t temp; temp 2817 drivers/gpu/drm/radeon/r100.c temp = RREG32(RADEON_CONFIG_CNTL); temp 2819 drivers/gpu/drm/radeon/r100.c temp &= ~RADEON_CFG_VGA_RAM_EN; temp 2820 drivers/gpu/drm/radeon/r100.c temp |= RADEON_CFG_VGA_IO_DIS; temp 2822 drivers/gpu/drm/radeon/r100.c temp &= ~RADEON_CFG_VGA_IO_DIS; temp 2824 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CONFIG_CNTL, temp); temp 3153 drivers/gpu/drm/radeon/r100.c uint32_t temp, data, mem_trcd, mem_trp, mem_tras; temp 3264 drivers/gpu/drm/radeon/r100.c temp = (rdev->mc.vram_width / 8) * (rdev->mc.vram_is_ddr ? 2 : 1); temp 3265 drivers/gpu/drm/radeon/r100.c temp_ff.full = dfixed_const(temp); temp 3293 drivers/gpu/drm/radeon/r100.c temp = RREG32(RADEON_MEM_TIMING_CNTL); temp 3295 drivers/gpu/drm/radeon/r100.c mem_trcd = ((temp >> 2) & 0x3) + 1; temp 3296 drivers/gpu/drm/radeon/r100.c mem_trp = ((temp & 0x3)) + 1; temp 3297 drivers/gpu/drm/radeon/r100.c mem_tras = ((temp & 0x70) >> 4) + 1; temp 3300 drivers/gpu/drm/radeon/r100.c mem_trcd = (temp & 0x7) + 1; temp 3301 drivers/gpu/drm/radeon/r100.c mem_trp = ((temp >> 8) & 0x7) + 1; temp 3302 drivers/gpu/drm/radeon/r100.c mem_tras = ((temp >> 11) & 0xf) + 4; temp 3306 drivers/gpu/drm/radeon/r100.c mem_trcd = (temp & 0x7) + 3; temp 3307 drivers/gpu/drm/radeon/r100.c mem_trp = ((temp >> 8) & 0x7) + 3; temp 3308 drivers/gpu/drm/radeon/r100.c mem_tras = ((temp >> 11) & 0xf) + 6; temp 3313 drivers/gpu/drm/radeon/r100.c mem_trcd = (temp & 0xf) + 3; temp 3316 drivers/gpu/drm/radeon/r100.c mem_trp = ((temp >> 8) & 0xf) + 3; temp 3319 drivers/gpu/drm/radeon/r100.c mem_tras = ((temp >> 12) & 0x1f) + 6; temp 3323 drivers/gpu/drm/radeon/r100.c mem_trcd = (temp & 0x7) + 1; temp 3324 drivers/gpu/drm/radeon/r100.c mem_trp = ((temp >> 8) & 0x7) + 1; temp 3325 drivers/gpu/drm/radeon/r100.c mem_tras = ((temp >> 12) & 0xf) + 4; temp 3333 drivers/gpu/drm/radeon/r100.c temp = RREG32(RADEON_MEM_SDRAM_MODE_REG); temp 3334 drivers/gpu/drm/radeon/r100.c data = (temp & (7 << 20)) >> 20; temp 3346 drivers/gpu/drm/radeon/r100.c data = (temp >> 23) & 0x7; temp 3354 drivers/gpu/drm/radeon/r100.c temp = RREG32(RADEON_MEM_CNTL); temp 3355 drivers/gpu/drm/radeon/r100.c data = (R300_MEM_NUM_CHANNELS_MASK & temp); temp 3357 drivers/gpu/drm/radeon/r100.c if (R300_MEM_USE_CD_CH_ONLY & temp) { temp 3358 drivers/gpu/drm/radeon/r100.c temp = RREG32(R300_MC_IND_INDEX); temp 3359 drivers/gpu/drm/radeon/r100.c temp &= ~R300_MC_IND_ADDR_MASK; temp 3360 drivers/gpu/drm/radeon/r100.c temp |= R300_MC_READ_CNTL_CD_mcind; temp 3361 drivers/gpu/drm/radeon/r100.c WREG32(R300_MC_IND_INDEX, temp); temp 3362 drivers/gpu/drm/radeon/r100.c temp = RREG32(R300_MC_IND_DATA); temp 3363 drivers/gpu/drm/radeon/r100.c data = (R300_MEM_RBS_POSITION_C_MASK & temp); temp 3365 drivers/gpu/drm/radeon/r100.c temp = RREG32(R300_MC_READ_CNTL_AB); temp 3366 drivers/gpu/drm/radeon/r100.c data = (R300_MEM_RBS_POSITION_A_MASK & temp); temp 3369 drivers/gpu/drm/radeon/r100.c temp = RREG32(R300_MC_READ_CNTL_AB); temp 3370 drivers/gpu/drm/radeon/r100.c data = (R300_MEM_RBS_POSITION_A_MASK & temp); temp 3505 drivers/gpu/drm/radeon/r100.c temp = RREG32(RADEON_GRPH_BUFFER_CNTL); temp 3506 drivers/gpu/drm/radeon/r100.c temp &= ~(RADEON_GRPH_STOP_REQ_MASK); temp 3507 drivers/gpu/drm/radeon/r100.c temp |= (stop_req << RADEON_GRPH_STOP_REQ_SHIFT); temp 3508 drivers/gpu/drm/radeon/r100.c temp &= ~(RADEON_GRPH_START_REQ_MASK); temp 3513 drivers/gpu/drm/radeon/r100.c temp |= (stop_req << RADEON_GRPH_START_REQ_SHIFT); temp 3514 drivers/gpu/drm/radeon/r100.c temp |= RADEON_GRPH_BUFFER_SIZE; temp 3515 drivers/gpu/drm/radeon/r100.c temp &= ~(RADEON_GRPH_CRITICAL_CNTL | temp 3521 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_GRPH_BUFFER_CNTL, ((temp & ~RADEON_GRPH_CRITICAL_POINT_MASK) | temp 3528 drivers/gpu/drm/radeon/r100.c temp = RREG32(RS400_DISP1_REG_CNTL); temp 3529 drivers/gpu/drm/radeon/r100.c temp &= ~(RS400_DISP1_START_REQ_LEVEL_MASK | temp 3531 drivers/gpu/drm/radeon/r100.c WREG32(RS400_DISP1_REQ_CNTL1, (temp | temp 3534 drivers/gpu/drm/radeon/r100.c temp = RREG32(RS400_DMIF_MEM_CNTL1); temp 3535 drivers/gpu/drm/radeon/r100.c temp &= ~(RS400_DISP1_CRITICAL_POINT_START_MASK | temp 3537 drivers/gpu/drm/radeon/r100.c WREG32(RS400_DMIF_MEM_CNTL1, (temp | temp 3579 drivers/gpu/drm/radeon/r100.c temp = (rdev->mc.vram_width * rdev->mc.vram_is_ddr + 1)/128; temp 3580 drivers/gpu/drm/radeon/r100.c temp_ff.full = dfixed_const(temp); temp 3620 drivers/gpu/drm/radeon/r100.c temp = RREG32(RS400_DISP2_REQ_CNTL1); temp 3621 drivers/gpu/drm/radeon/r100.c temp &= ~(RS400_DISP2_START_REQ_LEVEL_MASK | temp 3623 drivers/gpu/drm/radeon/r100.c WREG32(RS400_DISP2_REQ_CNTL1, (temp | temp 3626 drivers/gpu/drm/radeon/r100.c temp = RREG32(RS400_DISP2_REQ_CNTL2); temp 3627 drivers/gpu/drm/radeon/r100.c temp &= ~(RS400_DISP2_CRITICAL_POINT_START_MASK | temp 3629 drivers/gpu/drm/radeon/r100.c WREG32(RS400_DISP2_REQ_CNTL2, (temp | temp 372 drivers/gpu/drm/radeon/r200.c uint32_t temp = idx_value >> 4; temp 374 drivers/gpu/drm/radeon/r200.c track->textures[i].enabled = !!(temp & (1 << i)); temp 352 drivers/gpu/drm/radeon/r600.c u32 temp = (RREG32(CG_THERMAL_STATUS) & ASIC_T_MASK) >> temp 354 drivers/gpu/drm/radeon/r600.c int actual_temp = temp & 0xff; temp 356 drivers/gpu/drm/radeon/r600.c if (temp & 0x100) temp 3191 drivers/gpu/drm/radeon/r600.c uint32_t temp; temp 3193 drivers/gpu/drm/radeon/r600.c temp = RREG32(CONFIG_CNTL); temp 3195 drivers/gpu/drm/radeon/r600.c temp &= ~(1<<0); temp 3196 drivers/gpu/drm/radeon/r600.c temp |= (1<<1); temp 3198 drivers/gpu/drm/radeon/r600.c temp &= ~(1<<1); temp 3200 drivers/gpu/drm/radeon/r600.c WREG32(CONFIG_CNTL, temp); temp 36 drivers/gpu/drm/radeon/radeon_dp_mst.c uint32_t temp; temp 57 drivers/gpu/drm/radeon/radeon_dp_mst.c temp = RREG32(NI_DIG_FE_CNTL + offset); temp 58 drivers/gpu/drm/radeon/radeon_dp_mst.c } while ((temp & NI_DIG_SYMCLK_FE_ON) && retries++ < 10000); temp 72 drivers/gpu/drm/radeon/radeon_dp_mst.c u32 temp, val; temp 79 drivers/gpu/drm/radeon/radeon_dp_mst.c temp = RREG32(NI_DP_MSE_SAT0 + satreg + primary->offset); temp 85 drivers/gpu/drm/radeon/radeon_dp_mst.c temp &= ~(0xffff << (16 * satidx)); temp 87 drivers/gpu/drm/radeon/radeon_dp_mst.c temp |= val; temp 89 drivers/gpu/drm/radeon/radeon_dp_mst.c DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DP_MSE_SAT0 + satreg + primary->offset, temp); temp 90 drivers/gpu/drm/radeon/radeon_dp_mst.c WREG32(NI_DP_MSE_SAT0 + satreg + primary->offset, temp); temp 97 drivers/gpu/drm/radeon/radeon_dp_mst.c temp = RREG32(NI_DP_MSE_SAT_UPDATE + primary->offset); temp 99 drivers/gpu/drm/radeon/radeon_dp_mst.c value1 = temp & NI_DP_MSE_SAT_UPDATE_MASK; temp 100 drivers/gpu/drm/radeon/radeon_dp_mst.c value2 = temp & NI_DP_MSE_16_MTP_KEEPOUT; temp 169 drivers/gpu/drm/radeon/radeon_dp_mst.c uint32_t val, temp; temp 180 drivers/gpu/drm/radeon/radeon_dp_mst.c temp = RREG32(NI_DP_MSE_RATE_UPDATE + offset); temp 182 drivers/gpu/drm/radeon/radeon_dp_mst.c } while ((temp & 0x1) && (retries++ < 10000)); temp 98 drivers/gpu/drm/radeon/radeon_i2c.c uint32_t temp; temp 132 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->mask_clk_reg); temp 133 drivers/gpu/drm/radeon/radeon_i2c.c temp &= ~(1 << 16); temp 134 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->mask_clk_reg, temp); temp 138 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->a_clk_reg) & ~rec->a_clk_mask; temp 139 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->a_clk_reg, temp); temp 141 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->a_data_reg) & ~rec->a_data_mask; temp 142 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->a_data_reg, temp); temp 145 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->en_clk_reg) & ~rec->en_clk_mask; temp 146 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->en_clk_reg, temp); temp 148 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->en_data_reg) & ~rec->en_data_mask; temp 149 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->en_data_reg, temp); temp 152 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->mask_clk_reg) | rec->mask_clk_mask; temp 153 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->mask_clk_reg, temp); temp 154 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->mask_clk_reg); temp 156 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->mask_data_reg) | rec->mask_data_mask; temp 157 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->mask_data_reg, temp); temp 158 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->mask_data_reg); temp 168 drivers/gpu/drm/radeon/radeon_i2c.c uint32_t temp; temp 171 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->mask_clk_reg) & ~rec->mask_clk_mask; temp 172 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->mask_clk_reg, temp); temp 173 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->mask_clk_reg); temp 175 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->mask_data_reg) & ~rec->mask_data_mask; temp 176 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->mask_data_reg, temp); temp 177 drivers/gpu/drm/radeon/radeon_i2c.c temp = RREG32(rec->mask_data_reg); temp 676 drivers/gpu/drm/radeon/radeon_pm.c int temp; temp 684 drivers/gpu/drm/radeon/radeon_pm.c temp = radeon_get_temperature(rdev); temp 686 drivers/gpu/drm/radeon/radeon_pm.c temp = 0; temp 688 drivers/gpu/drm/radeon/radeon_pm.c return snprintf(buf, PAGE_SIZE, "%d\n", temp); temp 697 drivers/gpu/drm/radeon/radeon_pm.c int temp; temp 700 drivers/gpu/drm/radeon/radeon_pm.c temp = rdev->pm.dpm.thermal.min_temp; temp 702 drivers/gpu/drm/radeon/radeon_pm.c temp = rdev->pm.dpm.thermal.max_temp; temp 704 drivers/gpu/drm/radeon/radeon_pm.c return snprintf(buf, PAGE_SIZE, "%d\n", temp); temp 834 drivers/gpu/drm/radeon/radeon_pm.c int temp = radeon_get_temperature(rdev); temp 836 drivers/gpu/drm/radeon/radeon_pm.c if (temp < rdev->pm.dpm.thermal.min_temp) temp 858 drivers/gpu/drm/radeon/rv770.c u32 temp = (RREG32(CG_MULT_THERMAL_STATUS) & ASIC_T_MASK) >> temp 862 drivers/gpu/drm/radeon/rv770.c if (temp & 0x400) temp 864 drivers/gpu/drm/radeon/rv770.c else if (temp & 0x200) temp 866 drivers/gpu/drm/radeon/rv770.c else if (temp & 0x100) { temp 867 drivers/gpu/drm/radeon/rv770.c actual_temp = temp & 0x1ff; temp 870 drivers/gpu/drm/radeon/rv770.c actual_temp = temp & 0xff; temp 1362 drivers/gpu/drm/radeon/si.c u32 temp; temp 1365 drivers/gpu/drm/radeon/si.c temp = (RREG32(CG_MULT_THERMAL_STATUS) & CTF_TEMP_MASK) >> temp 1368 drivers/gpu/drm/radeon/si.c if (temp & 0x200) temp 1371 drivers/gpu/drm/radeon/si.c actual_temp = temp & 0x1ff; temp 533 drivers/gpu/drm/radeon/sumo_dpm.c u32 temp = gnb_slow; temp 537 drivers/gpu/drm/radeon/sumo_dpm.c temp = 1; temp 541 drivers/gpu/drm/radeon/sumo_dpm.c cg_sclk_dpm_ctrl_3 |= (temp << (GNB_SLOW_FSTATE_0_SHIFT + index)); temp 1009 drivers/gpu/drm/radeon/sumo_dpm.c u32 temp; temp 1020 drivers/gpu/drm/radeon/sumo_dpm.c temp = sclk / sumo_get_sleep_divider_from_id(i); temp 1022 drivers/gpu/drm/radeon/sumo_dpm.c if (temp >= min || i == 0) temp 1363 drivers/gpu/drm/radeon/trinity_dpm.c u32 temp; temp 1374 drivers/gpu/drm/radeon/trinity_dpm.c temp = sclk / sumo_get_sleep_divider_from_id(i); temp 1375 drivers/gpu/drm/radeon/trinity_dpm.c if (temp >= min || i == 0) temp 161 drivers/gpu/drm/rockchip/inno_hdmi.c u8 temp = hdmi_readb(hdmi, offset) & ~msk; temp 163 drivers/gpu/drm/rockchip/inno_hdmi.c temp |= val & msk; temp 164 drivers/gpu/drm/rockchip/inno_hdmi.c hdmi_writeb(hdmi, offset, temp); temp 75 drivers/gpu/drm/rockchip/rk3066_hdmi.c u8 temp = hdmi_readb(hdmi, offset) & ~msk; temp 77 drivers/gpu/drm/rockchip/rk3066_hdmi.c temp |= val & msk; temp 78 drivers/gpu/drm/rockchip/rk3066_hdmi.c hdmi_writeb(hdmi, offset, temp); temp 1130 drivers/gpu/drm/vc4/vc4_crtc.c struct drm_plane *primary_plane, *cursor_plane, *destroy_plane, *temp; temp 1232 drivers/gpu/drm/vc4/vc4_crtc.c list_for_each_entry_safe(destroy_plane, temp, temp 826 drivers/gpu/drm/vc4/vc4_gem.c void *temp = NULL; temp 856 drivers/gpu/drm/vc4/vc4_gem.c temp = kvmalloc_array(temp_size, 1, GFP_KERNEL); temp 857 drivers/gpu/drm/vc4/vc4_gem.c if (!temp) { temp 863 drivers/gpu/drm/vc4/vc4_gem.c bin = temp + bin_offset; temp 864 drivers/gpu/drm/vc4/vc4_gem.c exec->shader_rec_u = temp + shader_rec_offset; temp 865 drivers/gpu/drm/vc4/vc4_gem.c exec->uniforms_u = temp + uniforms_offset; temp 866 drivers/gpu/drm/vc4/vc4_gem.c exec->shader_state = temp + exec_size; temp 937 drivers/gpu/drm/vc4/vc4_gem.c kvfree(temp); temp 195 drivers/gpu/ipu-v3/ipu-csi.c u32 temp; temp 206 drivers/gpu/ipu-v3/ipu-csi.c temp = ipu_csi_read(csi, CSI_SENS_CONF); temp 207 drivers/gpu/ipu-v3/ipu-csi.c temp &= ~CSI_SENS_CONF_DIVRATIO_MASK; temp 208 drivers/gpu/ipu-v3/ipu-csi.c ipu_csi_write(csi, temp | (div_ratio << CSI_SENS_CONF_DIVRATIO_SHIFT), temp 612 drivers/gpu/ipu-v3/ipu-csi.c u32 temp; temp 616 drivers/gpu/ipu-v3/ipu-csi.c temp = ipu_csi_read(csi, CSI_TST_CTRL); temp 619 drivers/gpu/ipu-v3/ipu-csi.c temp &= ~CSI_TEST_GEN_MODE_EN; temp 620 drivers/gpu/ipu-v3/ipu-csi.c ipu_csi_write(csi, temp, CSI_TST_CTRL); temp 625 drivers/gpu/ipu-v3/ipu-csi.c temp &= ~(CSI_TEST_GEN_R_MASK | CSI_TEST_GEN_G_MASK | temp 627 drivers/gpu/ipu-v3/ipu-csi.c temp |= CSI_TEST_GEN_MODE_EN; temp 628 drivers/gpu/ipu-v3/ipu-csi.c temp |= (r_value << CSI_TEST_GEN_R_SHIFT) | temp 631 drivers/gpu/ipu-v3/ipu-csi.c ipu_csi_write(csi, temp, CSI_TST_CTRL); temp 643 drivers/gpu/ipu-v3/ipu-csi.c u32 temp; temp 655 drivers/gpu/ipu-v3/ipu-csi.c temp = ipu_csi_read(csi, CSI_MIPI_DI); temp 656 drivers/gpu/ipu-v3/ipu-csi.c temp &= ~(0xff << (vc * 8)); temp 657 drivers/gpu/ipu-v3/ipu-csi.c temp |= (cfg.mipi_dt << (vc * 8)); temp 658 drivers/gpu/ipu-v3/ipu-csi.c ipu_csi_write(csi, temp, CSI_MIPI_DI); temp 670 drivers/gpu/ipu-v3/ipu-csi.c u32 temp; temp 677 drivers/gpu/ipu-v3/ipu-csi.c temp = ipu_csi_read(csi, CSI_SKIP); temp 678 drivers/gpu/ipu-v3/ipu-csi.c temp &= ~(CSI_MAX_RATIO_SKIP_SMFC_MASK | CSI_ID_2_SKIP_MASK | temp 680 drivers/gpu/ipu-v3/ipu-csi.c temp |= (max_ratio << CSI_MAX_RATIO_SKIP_SMFC_SHIFT) | temp 683 drivers/gpu/ipu-v3/ipu-csi.c ipu_csi_write(csi, temp, CSI_SKIP); temp 1128 drivers/hid/hid-quirks.c struct quirks_list_struct *q, *temp; temp 1131 drivers/hid/hid-quirks.c list_for_each_entry_safe(q, temp, &dquirks_list, node) { temp 298 drivers/hid/hid-roccat.c int temp; temp 327 drivers/hid/hid-roccat.c temp = PTR_ERR(device->dev); temp 329 drivers/hid/hid-roccat.c return temp; temp 57 drivers/hwmon/ab8500.c int v_ntc, int *temp) temp 74 drivers/hwmon/ab8500.c *temp = tbl[i].temp * 1000 + ((tbl[i + 1].temp - tbl[i].temp) * 1000 * temp 80 drivers/hwmon/ab8500.c static int ab8500_read_sensor(struct abx500_temp *data, u8 sensor, int *temp) temp 86 drivers/hwmon/ab8500.c *temp = ab8500_btemp_get_batctrl_temp(ab8500_data->btemp); temp 88 drivers/hwmon/ab8500.c *temp = ab8500_btemp_get_temp(ab8500_data->btemp); temp 94 drivers/hwmon/ab8500.c ret = ab8500_voltage_to_temp(&ab8500_data->cfg, voltage, temp); temp 1209 drivers/hwmon/abituguru.c SENSOR_ATTR_2(temp%d_input, 0444, show_bank1_value, NULL, 0, 0), temp 1210 drivers/hwmon/abituguru.c SENSOR_ATTR_2(temp%d_alarm, 0444, show_bank1_alarm, NULL, temp 1212 drivers/hwmon/abituguru.c SENSOR_ATTR_2(temp%d_max, 0644, show_bank1_setting, temp 1214 drivers/hwmon/abituguru.c SENSOR_ATTR_2(temp%d_crit, 0644, show_bank1_setting, temp 1216 drivers/hwmon/abituguru.c SENSOR_ATTR_2(temp%d_beep, 0644, show_bank1_mask, temp 1218 drivers/hwmon/abituguru.c SENSOR_ATTR_2(temp%d_shutdown, 0644, show_bank1_mask, temp 1220 drivers/hwmon/abituguru.c SENSOR_ATTR_2(temp%d_alarm_enable, 0644, show_bank1_mask, temp 930 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(temp%d_input, 0444, show_value, NULL, 0, 0), temp 931 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(temp%d_max, 0444, show_value, NULL, 1, 0), temp 932 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(temp%d_crit, 0444, show_value, NULL, 2, 0), temp 933 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(temp%d_alarm, 0444, show_alarm, NULL, 0, 0), temp 934 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(temp%d_beep, 0444, show_mask, NULL, temp 936 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(temp%d_shutdown, 0444, show_mask, NULL, temp 938 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(temp%d_alarm_enable, 0444, show_mask, NULL, temp 940 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(temp%d_label, 0444, show_label, NULL, 0, 0) temp 57 drivers/hwmon/abx500.c int temp, i, ret; temp 73 drivers/hwmon/abx500.c ret = data->ops.read_sensor(data, data->gpadc_addr[i], &temp); temp 83 drivers/hwmon/abx500.c if (temp < data->min[i]) { temp 96 drivers/hwmon/abx500.c if (temp > data->max[i]) { temp 101 drivers/hwmon/abx500.c } else if (temp < data->max[i] - data->max_hyst[i]) { temp 143 drivers/hwmon/abx500.c int ret, temp; temp 148 drivers/hwmon/abx500.c ret = data->ops.read_sensor(data, gpadc_addr, &temp); temp 152 drivers/hwmon/abx500.c return sprintf(buf, "%d\n", temp); temp 148 drivers/hwmon/acpi_power_meter.c unsigned long temp; temp 152 drivers/hwmon/acpi_power_meter.c res = kstrtoul(buf, 10, &temp); temp 156 drivers/hwmon/acpi_power_meter.c if (temp > resource->caps.max_avg_interval || temp 157 drivers/hwmon/acpi_power_meter.c temp < resource->caps.min_avg_interval) temp 159 drivers/hwmon/acpi_power_meter.c arg0.integer.value = temp; temp 165 drivers/hwmon/acpi_power_meter.c resource->avg_interval = temp; temp 219 drivers/hwmon/acpi_power_meter.c unsigned long temp; temp 223 drivers/hwmon/acpi_power_meter.c res = kstrtoul(buf, 10, &temp); temp 227 drivers/hwmon/acpi_power_meter.c temp = DIV_ROUND_CLOSEST(temp, 1000); temp 228 drivers/hwmon/acpi_power_meter.c if (temp > resource->caps.max_cap || temp < resource->caps.min_cap) temp 230 drivers/hwmon/acpi_power_meter.c arg0.integer.value = temp; temp 236 drivers/hwmon/acpi_power_meter.c resource->cap = temp; temp 291 drivers/hwmon/acpi_power_meter.c unsigned long temp; temp 293 drivers/hwmon/acpi_power_meter.c res = kstrtoul(buf, 10, &temp); temp 297 drivers/hwmon/acpi_power_meter.c temp = DIV_ROUND_CLOSEST(temp, 1000); temp 300 drivers/hwmon/acpi_power_meter.c resource->trip[attr->index - 7] = temp; temp 130 drivers/hwmon/ad7414.c long temp; temp 131 drivers/hwmon/ad7414.c int ret = kstrtol(buf, 10, &temp); temp 136 drivers/hwmon/ad7414.c temp = clamp_val(temp, -40000, 85000); temp 137 drivers/hwmon/ad7414.c temp = (temp + (temp < 0 ? -500 : 500)) / 1000; temp 140 drivers/hwmon/ad7414.c data->temps[index] = temp; temp 141 drivers/hwmon/ad7414.c ad7414_write(client, reg, temp); temp 51 drivers/hwmon/ad7418.c s16 temp[3]; /* Register values */ temp 89 drivers/hwmon/ad7418.c data->temp[i] = val; temp 138 drivers/hwmon/ad7418.c LM75_TEMP_FROM_REG(data->temp[attr->index])); temp 163 drivers/hwmon/ad7418.c long temp; temp 164 drivers/hwmon/ad7418.c int ret = kstrtol(buf, 10, &temp); temp 170 drivers/hwmon/ad7418.c data->temp[attr->index] = LM75_TEMP_TO_REG(temp); temp 173 drivers/hwmon/ad7418.c data->temp[attr->index]); temp 178 drivers/hwmon/ad7418.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 179 drivers/hwmon/ad7418.c static SENSOR_DEVICE_ATTR_RW(temp1_max_hyst, temp, 1); temp 180 drivers/hwmon/ad7418.c static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, 2); temp 73 drivers/hwmon/adc128d818.c s16 temp[3]; /* Register value, normalized to 9 bit temp 114 drivers/hwmon/adc128d818.c data->temp[0] = rv >> 7; temp 120 drivers/hwmon/adc128d818.c data->temp[1] = rv << 1; temp 126 drivers/hwmon/adc128d818.c data->temp[2] = rv << 1; temp 193 drivers/hwmon/adc128d818.c int temp; temp 198 drivers/hwmon/adc128d818.c temp = sign_extend32(data->temp[index], 8); temp 199 drivers/hwmon/adc128d818.c return sprintf(buf, "%d\n", temp * 500);/* 0.5 degrees C resolution */ temp 218 drivers/hwmon/adc128d818.c data->temp[index] = regval << 1; temp 81 drivers/hwmon/adm1021.c int temp[2]; temp 105 drivers/hwmon/adm1021.c data->temp[i] = 1000 * temp 124 drivers/hwmon/adm1021.c data->temp[1] += 125 * (i2c_smbus_read_byte_data( temp 152 drivers/hwmon/adm1021.c return sprintf(buf, "%d\n", data->temp[index]); temp 196 drivers/hwmon/adm1021.c long temp; temp 199 drivers/hwmon/adm1021.c err = kstrtol(buf, 10, &temp); temp 202 drivers/hwmon/adm1021.c temp /= 1000; temp 205 drivers/hwmon/adm1021.c reg_val = clamp_val(temp, -128, 127); temp 222 drivers/hwmon/adm1021.c long temp; temp 225 drivers/hwmon/adm1021.c err = kstrtol(buf, 10, &temp); temp 228 drivers/hwmon/adm1021.c temp /= 1000; temp 231 drivers/hwmon/adm1021.c reg_val = clamp_val(temp, -128, 127); temp 277 drivers/hwmon/adm1021.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 280 drivers/hwmon/adm1021.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 106 drivers/hwmon/adm1025.c s8 temp[2]; /* register value */ temp 134 drivers/hwmon/adm1025.c data->temp[i] = i2c_smbus_read_byte_data(client, temp 195 drivers/hwmon/adm1025.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[index])); temp 319 drivers/hwmon/adm1025.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 322 drivers/hwmon/adm1025.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 269 drivers/hwmon/adm1026.c s8 temp[3]; /* Register value */ temp 347 drivers/hwmon/adm1026.c data->temp[i] = temp 797 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr])); temp 860 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 863 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 866 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 106 drivers/hwmon/adm1029.c s8 temp[ARRAY_SIZE(ADM1029_REG_TEMP)]; temp 130 drivers/hwmon/adm1029.c data->temp[nr] = temp 164 drivers/hwmon/adm1029.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); temp 248 drivers/hwmon/adm1029.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 249 drivers/hwmon/adm1029.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 250 drivers/hwmon/adm1029.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 252 drivers/hwmon/adm1029.c static SENSOR_DEVICE_ATTR_RO(temp1_max, temp, 3); temp 253 drivers/hwmon/adm1029.c static SENSOR_DEVICE_ATTR_RO(temp2_max, temp, 4); temp 254 drivers/hwmon/adm1029.c static SENSOR_DEVICE_ATTR_RO(temp3_max, temp, 5); temp 256 drivers/hwmon/adm1029.c static SENSOR_DEVICE_ATTR_RO(temp1_min, temp, 6); temp 257 drivers/hwmon/adm1029.c static SENSOR_DEVICE_ATTR_RO(temp2_min, temp, 7); temp 258 drivers/hwmon/adm1029.c static SENSOR_DEVICE_ATTR_RO(temp3_min, temp, 8); temp 84 drivers/hwmon/adm1031.c s8 temp[3]; temp 146 drivers/hwmon/adm1031.c data->temp[chan] = newh; temp 526 drivers/hwmon/adm1031.c res = data->temp[chan+1] >= temp 531 drivers/hwmon/adm1031.c data->temp[1] >= temp 536 drivers/hwmon/adm1031.c data->temp[2] >= temp 541 drivers/hwmon/adm1031.c data->temp[0] >= temp 543 drivers/hwmon/adm1031.c || data->temp[1] >= temp 546 drivers/hwmon/adm1031.c && data->temp[2] >= temp 675 drivers/hwmon/adm1031.c return sprintf(buf, "%d\n", TEMP_FROM_REG_EXT(data->temp[nr], ext)); temp 795 drivers/hwmon/adm1031.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 800 drivers/hwmon/adm1031.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 805 drivers/hwmon/adm1031.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 137 drivers/hwmon/adm9240.c s16 temp; /* ro temp1_input, 9-bit sign-extended */ temp 187 drivers/hwmon/adm9240.c data->temp = (i2c_smbus_read_byte_data(client, temp 256 drivers/hwmon/adm9240.c return sprintf(buf, "%d\n", data->temp / 128 * 500); /* 9-bit value */ temp 650 drivers/hwmon/adt7411.c HWMON_CHANNEL_INFO(temp, temp 199 drivers/hwmon/adt7462.c u8 temp[ADT7462_TEMP_COUNT]; temp 692 drivers/hwmon/adt7462.c data->temp[i] = i2c_smbus_read_byte_data(client, temp 797 drivers/hwmon/adt7462.c long temp; temp 799 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp) || !temp_enabled(data, attr->index)) temp 802 drivers/hwmon/adt7462.c temp = clamp_val(temp, -64000, 191000); temp 803 drivers/hwmon/adt7462.c temp = DIV_ROUND_CLOSEST(temp, 1000) + 64; temp 806 drivers/hwmon/adt7462.c data->temp_min[attr->index] = temp; temp 808 drivers/hwmon/adt7462.c temp); temp 833 drivers/hwmon/adt7462.c long temp; temp 835 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp) || !temp_enabled(data, attr->index)) temp 838 drivers/hwmon/adt7462.c temp = clamp_val(temp, -64000, 191000); temp 839 drivers/hwmon/adt7462.c temp = DIV_ROUND_CLOSEST(temp, 1000) + 64; temp 842 drivers/hwmon/adt7462.c data->temp_max[attr->index] = temp; temp 844 drivers/hwmon/adt7462.c temp); temp 860 drivers/hwmon/adt7462.c return sprintf(buf, "%d\n", 1000 * (data->temp[attr->index] - 64) + temp 894 drivers/hwmon/adt7462.c long temp; temp 896 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp) || !x) temp 899 drivers/hwmon/adt7462.c temp = clamp_val(temp, 0, 255 * x / 1000); temp 900 drivers/hwmon/adt7462.c temp *= 1000; /* convert mV to uV */ temp 901 drivers/hwmon/adt7462.c temp = DIV_ROUND_CLOSEST(temp, x); temp 904 drivers/hwmon/adt7462.c data->volt_max[attr->index] = temp; temp 907 drivers/hwmon/adt7462.c temp); temp 934 drivers/hwmon/adt7462.c long temp; temp 936 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp) || !x) temp 939 drivers/hwmon/adt7462.c temp = clamp_val(temp, 0, 255 * x / 1000); temp 940 drivers/hwmon/adt7462.c temp *= 1000; /* convert mV to uV */ temp 941 drivers/hwmon/adt7462.c temp = DIV_ROUND_CLOSEST(temp, x); temp 944 drivers/hwmon/adt7462.c data->volt_min[attr->index] = temp; temp 947 drivers/hwmon/adt7462.c temp); temp 999 drivers/hwmon/adt7462.c u16 temp; temp 1002 drivers/hwmon/adt7462.c temp = data->fan_min[attr->index]; temp 1003 drivers/hwmon/adt7462.c temp <<= 8; temp 1006 drivers/hwmon/adt7462.c !FAN_DATA_VALID(temp)) temp 1009 drivers/hwmon/adt7462.c return sprintf(buf, "%d\n", FAN_PERIOD_TO_RPM(temp)); temp 1019 drivers/hwmon/adt7462.c long temp; temp 1021 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp) || !temp || temp 1025 drivers/hwmon/adt7462.c temp = FAN_RPM_TO_PERIOD(temp); temp 1026 drivers/hwmon/adt7462.c temp >>= 8; temp 1027 drivers/hwmon/adt7462.c temp = clamp_val(temp, 1, 255); temp 1030 drivers/hwmon/adt7462.c data->fan_min[attr->index] = temp; temp 1032 drivers/hwmon/adt7462.c temp); temp 1065 drivers/hwmon/adt7462.c long temp; temp 1068 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp)) temp 1073 drivers/hwmon/adt7462.c if (temp) temp 1098 drivers/hwmon/adt7462.c long temp; temp 1100 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp)) temp 1103 drivers/hwmon/adt7462.c temp = clamp_val(temp, 0, 255); temp 1106 drivers/hwmon/adt7462.c data->pwm[attr->index] = temp; temp 1107 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_REG_PWM(attr->index), temp); temp 1126 drivers/hwmon/adt7462.c long temp; temp 1128 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp)) temp 1131 drivers/hwmon/adt7462.c temp = clamp_val(temp, 0, 255); temp 1134 drivers/hwmon/adt7462.c data->pwm_max = temp; temp 1135 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_MAX, temp); temp 1156 drivers/hwmon/adt7462.c long temp; temp 1158 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp)) temp 1161 drivers/hwmon/adt7462.c temp = clamp_val(temp, 0, 255); temp 1164 drivers/hwmon/adt7462.c data->pwm_min[attr->index] = temp; temp 1166 drivers/hwmon/adt7462.c temp); temp 1188 drivers/hwmon/adt7462.c long temp; temp 1190 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp)) temp 1193 drivers/hwmon/adt7462.c temp = clamp_val(temp, 0, 15000); temp 1194 drivers/hwmon/adt7462.c temp = DIV_ROUND_CLOSEST(temp, 1000); temp 1197 drivers/hwmon/adt7462.c temp &= ADT7462_PWM_HYST_MASK; temp 1198 drivers/hwmon/adt7462.c temp |= data->pwm_trange[attr->index] & ADT7462_PWM_RANGE_MASK; temp 1201 drivers/hwmon/adt7462.c data->pwm_trange[attr->index] = temp; temp 1203 drivers/hwmon/adt7462.c temp); temp 1227 drivers/hwmon/adt7462.c int temp; temp 1243 drivers/hwmon/adt7462.c temp = trange_value << ADT7462_PWM_RANGE_SHIFT; temp 1244 drivers/hwmon/adt7462.c temp |= data->pwm_trange[attr->index] & ADT7462_PWM_HYST_MASK; temp 1247 drivers/hwmon/adt7462.c data->pwm_trange[attr->index] = temp; temp 1249 drivers/hwmon/adt7462.c temp); temp 1270 drivers/hwmon/adt7462.c long temp; temp 1272 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp)) temp 1275 drivers/hwmon/adt7462.c temp = clamp_val(temp, -64000, 191000); temp 1276 drivers/hwmon/adt7462.c temp = DIV_ROUND_CLOSEST(temp, 1000) + 64; temp 1279 drivers/hwmon/adt7462.c data->pwm_tmin[attr->index] = temp; temp 1281 drivers/hwmon/adt7462.c temp); temp 1309 drivers/hwmon/adt7462.c int temp = data->pwm_cfg[which] & ~ADT7462_PWM_CHANNEL_MASK; temp 1310 drivers/hwmon/adt7462.c temp |= value << ADT7462_PWM_CHANNEL_SHIFT; temp 1313 drivers/hwmon/adt7462.c data->pwm_cfg[which] = temp; temp 1314 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_CFG(which), temp); temp 1325 drivers/hwmon/adt7462.c long temp; temp 1327 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp)) temp 1330 drivers/hwmon/adt7462.c switch (temp) { temp 1382 drivers/hwmon/adt7462.c long temp; temp 1384 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp)) temp 1387 drivers/hwmon/adt7462.c temp = cvt_auto_temp(temp); temp 1388 drivers/hwmon/adt7462.c if (temp < 0) temp 1389 drivers/hwmon/adt7462.c return temp; temp 1391 drivers/hwmon/adt7462.c set_pwm_channel(client, data, attr->index, temp); temp 1406 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 1407 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 1408 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 1409 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3); temp 150 drivers/hwmon/adt7470.c s8 temp[ADT7470_TEMP_COUNT]; temp 244 drivers/hwmon/adt7470.c data->temp[i] = i2c_smbus_read_byte_data(client, temp 246 drivers/hwmon/adt7470.c if (data->temp[i]) temp 309 drivers/hwmon/adt7470.c data->temp[i] = i2c_smbus_read_byte_data(client, temp 406 drivers/hwmon/adt7470.c long temp; temp 408 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 411 drivers/hwmon/adt7470.c temp = clamp_val(temp, 0, 60000); temp 414 drivers/hwmon/adt7470.c data->auto_update_interval = temp; temp 433 drivers/hwmon/adt7470.c long temp; temp 435 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 438 drivers/hwmon/adt7470.c temp = clamp_val(temp, -1, 10); temp 441 drivers/hwmon/adt7470.c data->num_temp_sensors = temp; temp 442 drivers/hwmon/adt7470.c if (temp < 0) temp 464 drivers/hwmon/adt7470.c long temp; temp 466 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 469 drivers/hwmon/adt7470.c temp = clamp_val(temp, -128000, 127000); temp 470 drivers/hwmon/adt7470.c temp = DIV_ROUND_CLOSEST(temp, 1000); temp 473 drivers/hwmon/adt7470.c data->temp_min[attr->index] = temp; temp 475 drivers/hwmon/adt7470.c temp); temp 496 drivers/hwmon/adt7470.c long temp; temp 498 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 501 drivers/hwmon/adt7470.c temp = clamp_val(temp, -128000, 127000); temp 502 drivers/hwmon/adt7470.c temp = DIV_ROUND_CLOSEST(temp, 1000); temp 505 drivers/hwmon/adt7470.c data->temp_max[attr->index] = temp; temp 507 drivers/hwmon/adt7470.c temp); temp 518 drivers/hwmon/adt7470.c return sprintf(buf, "%d\n", 1000 * data->temp[attr->index]); temp 571 drivers/hwmon/adt7470.c long temp; temp 573 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp) || !temp) temp 576 drivers/hwmon/adt7470.c temp = FAN_RPM_TO_PERIOD(temp); temp 577 drivers/hwmon/adt7470.c temp = clamp_val(temp, 1, 65534); temp 580 drivers/hwmon/adt7470.c data->fan_max[attr->index] = temp; temp 581 drivers/hwmon/adt7470.c adt7470_write_word_data(client, ADT7470_REG_FAN_MAX(attr->index), temp); temp 607 drivers/hwmon/adt7470.c long temp; temp 609 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp) || !temp) temp 612 drivers/hwmon/adt7470.c temp = FAN_RPM_TO_PERIOD(temp); temp 613 drivers/hwmon/adt7470.c temp = clamp_val(temp, 1, 65534); temp 616 drivers/hwmon/adt7470.c data->fan_min[attr->index] = temp; temp 617 drivers/hwmon/adt7470.c adt7470_write_word_data(client, ADT7470_REG_FAN_MIN(attr->index), temp); temp 649 drivers/hwmon/adt7470.c long temp; temp 652 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 656 drivers/hwmon/adt7470.c data->force_pwm_max = temp; temp 658 drivers/hwmon/adt7470.c if (temp) temp 682 drivers/hwmon/adt7470.c long temp; temp 684 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 687 drivers/hwmon/adt7470.c temp = clamp_val(temp, 0, 255); temp 690 drivers/hwmon/adt7470.c data->pwm[attr->index] = temp; temp 691 drivers/hwmon/adt7470.c i2c_smbus_write_byte_data(client, ADT7470_REG_PWM(attr->index), temp); temp 776 drivers/hwmon/adt7470.c long temp; temp 778 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 781 drivers/hwmon/adt7470.c temp = clamp_val(temp, 0, 255); temp 784 drivers/hwmon/adt7470.c data->pwm_max[attr->index] = temp; temp 786 drivers/hwmon/adt7470.c temp); temp 807 drivers/hwmon/adt7470.c long temp; temp 809 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 812 drivers/hwmon/adt7470.c temp = clamp_val(temp, 0, 255); temp 815 drivers/hwmon/adt7470.c data->pwm_min[attr->index] = temp; temp 817 drivers/hwmon/adt7470.c temp); temp 847 drivers/hwmon/adt7470.c long temp; temp 849 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 852 drivers/hwmon/adt7470.c temp = clamp_val(temp, -128000, 127000); temp 853 drivers/hwmon/adt7470.c temp = DIV_ROUND_CLOSEST(temp, 1000); temp 856 drivers/hwmon/adt7470.c data->pwm_tmin[attr->index] = temp; temp 858 drivers/hwmon/adt7470.c temp); temp 881 drivers/hwmon/adt7470.c long temp; temp 884 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 892 drivers/hwmon/adt7470.c if (temp != 2 && temp != 1) temp 894 drivers/hwmon/adt7470.c temp--; temp 897 drivers/hwmon/adt7470.c data->pwm_automatic[attr->index] = temp; temp 899 drivers/hwmon/adt7470.c if (temp) temp 939 drivers/hwmon/adt7470.c long temp; temp 942 drivers/hwmon/adt7470.c if (kstrtol(buf, 10, &temp)) temp 945 drivers/hwmon/adt7470.c temp = cvt_auto_temp(temp); temp 946 drivers/hwmon/adt7470.c if (temp < 0) temp 947 drivers/hwmon/adt7470.c return temp; temp 950 drivers/hwmon/adt7470.c data->pwm_automatic[attr->index] = temp; temp 955 drivers/hwmon/adt7470.c reg |= (temp << 4) & 0xF0; temp 958 drivers/hwmon/adt7470.c reg |= temp & 0xF; temp 1005 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 1006 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 1007 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 1008 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3); temp 1009 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RO(temp5_input, temp, 4); temp 1010 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RO(temp6_input, temp, 5); temp 1011 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RO(temp7_input, temp, 6); temp 1012 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RO(temp8_input, temp, 7); temp 1013 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RO(temp9_input, temp, 8); temp 1014 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RO(temp10_input, temp, 9); temp 205 drivers/hwmon/adt7475.c u16 temp[7][3]; temp 396 drivers/hwmon/adt7475.c out = data->temp[sattr->nr][sattr->index]; temp 405 drivers/hwmon/adt7475.c out = reg2temp(data, data->temp[THERM][sattr->index]) - temp 416 drivers/hwmon/adt7475.c out = (s8)data->temp[sattr->nr][sattr->index]; temp 435 drivers/hwmon/adt7475.c out = reg2temp(data, data->temp[sattr->nr][sattr->index]); temp 449 drivers/hwmon/adt7475.c int temp; temp 464 drivers/hwmon/adt7475.c out = data->temp[OFFSET][sattr->index] = val / 1000; temp 467 drivers/hwmon/adt7475.c out = data->temp[OFFSET][sattr->index] = val / 500; temp 478 drivers/hwmon/adt7475.c data->temp[THERM][sattr->index] = temp 482 drivers/hwmon/adt7475.c temp = reg2temp(data, data->temp[THERM][sattr->index]); temp 483 drivers/hwmon/adt7475.c val = clamp_val(val, temp - 15000, temp); temp 484 drivers/hwmon/adt7475.c val = (temp - val) / 1000; temp 487 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][sattr->index] &= 0xF0; temp 488 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][sattr->index] |= (val & 0xF) << 4; temp 490 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][sattr->index] &= 0x0F; temp 491 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][sattr->index] |= (val & 0xF); temp 494 drivers/hwmon/adt7475.c out = data->temp[HYSTERSIS][sattr->index]; temp 498 drivers/hwmon/adt7475.c data->temp[sattr->nr][sattr->index] = temp2reg(data, val); temp 504 drivers/hwmon/adt7475.c out = (u8) (data->temp[sattr->nr][sattr->index] >> 2); temp 642 drivers/hwmon/adt7475.c val = reg2temp(data, data->temp[AUTOMIN][sattr->index]); temp 654 drivers/hwmon/adt7475.c int temp; temp 664 drivers/hwmon/adt7475.c data->temp[AUTOMIN][sattr->index] = temp 673 drivers/hwmon/adt7475.c temp = reg2temp(data, data->temp[AUTOMIN][sattr->index]); temp 674 drivers/hwmon/adt7475.c val = clamp_val(val, temp + autorange_table[0], temp 675 drivers/hwmon/adt7475.c temp + autorange_table[ARRAY_SIZE(autorange_table) - 1]); temp 676 drivers/hwmon/adt7475.c val -= temp; temp 1104 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(temp1_input, temp, INPUT, 0); temp 1105 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(temp1_alarm, temp, ALARM, 0); temp 1106 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(temp1_fault, temp, FAULT, 0); temp 1107 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp, MAX, 0); temp 1108 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp1_min, temp, MIN, 0); temp 1109 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp1_offset, temp, OFFSET, 0); temp 1110 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_point1_temp, temp, AUTOMIN, 0); temp 1112 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp1_crit, temp, THERM, 0); temp 1113 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp1_crit_hyst, temp, HYSTERSIS, 0); temp 1115 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(temp2_input, temp, INPUT, 1); temp 1116 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(temp2_alarm, temp, ALARM, 1); temp 1117 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp, MAX, 1); temp 1118 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp2_min, temp, MIN, 1); temp 1119 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp2_offset, temp, OFFSET, 1); temp 1120 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp2_auto_point1_temp, temp, AUTOMIN, 1); temp 1122 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp2_crit, temp, THERM, 1); temp 1123 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp2_crit_hyst, temp, HYSTERSIS, 1); temp 1125 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(temp3_input, temp, INPUT, 2); temp 1126 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(temp3_alarm, temp, ALARM, 2); temp 1127 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(temp3_fault, temp, FAULT, 2); temp 1128 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp3_max, temp, MAX, 2); temp 1129 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp3_min, temp, MIN, 2); temp 1130 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp3_offset, temp, OFFSET, 2); temp 1131 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp3_auto_point1_temp, temp, AUTOMIN, 2); temp 1133 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp3_crit, temp, THERM, 2); temp 1134 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(temp3_crit_hyst, temp, HYSTERSIS, 2); temp 1394 drivers/hwmon/adt7475.c data->temp[MIN][i] = ret << 2; temp 1399 drivers/hwmon/adt7475.c data->temp[MAX][i] = ret << 2; temp 1404 drivers/hwmon/adt7475.c data->temp[AUTOMIN][i] = ret << 2; temp 1409 drivers/hwmon/adt7475.c data->temp[THERM][i] = ret << 2; temp 1414 drivers/hwmon/adt7475.c data->temp[OFFSET][i] = ret; temp 1652 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][0] = (u16) adt7475_read(REG_REMOTE1_HYSTERSIS); temp 1653 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][1] = data->temp[HYSTERSIS][0]; temp 1654 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][2] = (u16) adt7475_read(REG_REMOTE2_HYSTERSIS); temp 1759 drivers/hwmon/adt7475.c data->temp[INPUT][i] = temp 64 drivers/hwmon/adt7x10.c s16 temp[4]; /* Register values, temp 146 drivers/hwmon/adt7x10.c int temp; temp 154 drivers/hwmon/adt7x10.c temp = adt7x10_read_word(dev, ADT7X10_REG_TEMP[0]); temp 155 drivers/hwmon/adt7x10.c if (temp < 0) { temp 156 drivers/hwmon/adt7x10.c ret = temp; temp 161 drivers/hwmon/adt7x10.c data->temp[0] = temp; temp 177 drivers/hwmon/adt7x10.c for (i = 1; i < ARRAY_SIZE(data->temp); i++) { temp 184 drivers/hwmon/adt7x10.c data->temp[i] = ret; temp 198 drivers/hwmon/adt7x10.c static s16 ADT7X10_TEMP_TO_REG(long temp) temp 200 drivers/hwmon/adt7x10.c return DIV_ROUND_CLOSEST(clamp_val(temp, ADT7X10_TEMP_MIN, temp 236 drivers/hwmon/adt7x10.c data->temp[attr->index])); temp 246 drivers/hwmon/adt7x10.c long temp; temp 249 drivers/hwmon/adt7x10.c ret = kstrtol(buf, 10, &temp); temp 254 drivers/hwmon/adt7x10.c data->temp[nr] = ADT7X10_TEMP_TO_REG(temp); temp 255 drivers/hwmon/adt7x10.c ret = adt7x10_write_word(dev, ADT7X10_REG_TEMP[nr], data->temp[nr]); temp 279 drivers/hwmon/adt7x10.c ADT7X10_REG_TO_TEMP(data, data->temp[nr]) - hyst); temp 294 drivers/hwmon/adt7x10.c limit = ADT7X10_REG_TO_TEMP(data, data->temp[1]); temp 148 drivers/hwmon/amc6821.c int temp[TEMP_IDX_LEN]; temp 178 drivers/hwmon/amc6821.c data->temp[i] = (int8_t)i2c_smbus_read_byte_data( temp 273 drivers/hwmon/amc6821.c return sprintf(buf, "%d\n", data->temp[ix] * 1000); temp 290 drivers/hwmon/amc6821.c data->temp[ix] = val; temp 291 drivers/hwmon/amc6821.c if (i2c_smbus_write_byte_data(client, temp_reg[ix], data->temp[ix])) { temp 691 drivers/hwmon/amc6821.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, IDX_TEMP1_INPUT); temp 692 drivers/hwmon/amc6821.c static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, IDX_TEMP1_MIN); temp 693 drivers/hwmon/amc6821.c static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, IDX_TEMP1_MAX); temp 694 drivers/hwmon/amc6821.c static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp, IDX_TEMP1_CRIT); temp 698 drivers/hwmon/amc6821.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, IDX_TEMP2_INPUT); temp 699 drivers/hwmon/amc6821.c static SENSOR_DEVICE_ATTR_RW(temp2_min, temp, IDX_TEMP2_MIN); temp 700 drivers/hwmon/amc6821.c static SENSOR_DEVICE_ATTR_RW(temp2_max, temp, IDX_TEMP2_MAX); temp 701 drivers/hwmon/amc6821.c static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp, IDX_TEMP2_CRIT); temp 785 drivers/hwmon/applesmc.c int temp; temp 791 drivers/hwmon/applesmc.c temp = 250 * (value >> 6); temp 793 drivers/hwmon/applesmc.c return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", temp); temp 47 drivers/hwmon/as370-hwmon.c u32 attr, int channel, long *temp) temp 55 drivers/hwmon/as370-hwmon.c *temp = DIV_ROUND_CLOSEST(val * 251802, 4096) - 85525; temp 136 drivers/hwmon/asb100.c static u8 TEMP_TO_REG(long temp) temp 138 drivers/hwmon/asb100.c int ntemp = clamp_val(temp, ASB100_TEMP_MIN, ASB100_TEMP_MAX); temp 195 drivers/hwmon/asb100.c u16 temp[4]; /* Register value (0 and 3 are u8 only) */ temp 426 drivers/hwmon/asb100.c show_temp_reg(temp); temp 460 drivers/hwmon/asb100.c static SENSOR_DEVICE_ATTR(temp##num##_input, S_IRUGO, \ temp 462 drivers/hwmon/asb100.c static SENSOR_DEVICE_ATTR(temp##num##_max, S_IRUGO | S_IWUSR, \ temp 464 drivers/hwmon/asb100.c static SENSOR_DEVICE_ATTR(temp##num##_max_hyst, S_IRUGO | S_IWUSR, \ temp 972 drivers/hwmon/asb100.c data->temp[i-1] = asb100_read_value(client, temp 361 drivers/hwmon/asc7621.c s8 temp; temp 368 drivers/hwmon/asc7621.c temp = reqval / 1000; temp 371 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = temp; temp 372 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], temp); temp 389 drivers/hwmon/asc7621.c int temp; temp 394 drivers/hwmon/asc7621.c temp = (((s8) msb) * 1000) + (lsb * 250); temp 397 drivers/hwmon/asc7621.c return sprintf(buf, "%d\n", temp); temp 406 drivers/hwmon/asc7621.c int temp = ((s8) (regval & 0xfc) * 1000) + ((regval & 0x03) * 250); temp 408 drivers/hwmon/asc7621.c return sprintf(buf, "%d\n", temp); temp 417 drivers/hwmon/asc7621.c s8 temp; temp 425 drivers/hwmon/asc7621.c temp = i << 2; temp 426 drivers/hwmon/asc7621.c temp |= f / 250; temp 429 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = temp; temp 430 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], temp); temp 452 drivers/hwmon/asc7621.c int temp; temp 458 drivers/hwmon/asc7621.c temp = auto_point1 + asc7621_range_map[clamp_val(regval, 0, 15)]; temp 461 drivers/hwmon/asc7621.c return sprintf(buf, "%d\n", temp); temp 73 drivers/hwmon/coretemp.c int temp; temp 169 drivers/hwmon/coretemp.c tdata->temp = tdata->tjmax - ((eax >> 16) & 0x7f) * 1000; temp 175 drivers/hwmon/coretemp.c return sprintf(buf, "%d\n", tdata->temp); temp 342 drivers/hwmon/dell-smm-hwmon.c int temp = _i8k_get_temp(sensor); temp 351 drivers/hwmon/dell-smm-hwmon.c if (temp == 0x99) { temp 353 drivers/hwmon/dell-smm-hwmon.c temp = _i8k_get_temp(sensor); temp 363 drivers/hwmon/dell-smm-hwmon.c if (temp > I8K_MAX_TEMP) temp 366 drivers/hwmon/dell-smm-hwmon.c return temp; temp 646 drivers/hwmon/dell-smm-hwmon.c int temp; temp 648 drivers/hwmon/dell-smm-hwmon.c temp = i8k_get_temp(index); temp 649 drivers/hwmon/dell-smm-hwmon.c if (temp < 0) temp 650 drivers/hwmon/dell-smm-hwmon.c return temp; temp 651 drivers/hwmon/dell-smm-hwmon.c return sprintf(buf, "%d\n", temp * 1000); temp 220 drivers/hwmon/dme1737.c s16 temp[3]; temp 323 drivers/hwmon/dme1737.c static inline int TEMP_HYST_TO_REG(int temp, long hyst, int ix, int reg) temp 325 drivers/hwmon/dme1737.c hyst = clamp_val(hyst, temp - 15000, temp); temp 326 drivers/hwmon/dme1737.c hyst = DIV_ROUND_CLOSEST(temp - hyst, 1000); temp 634 drivers/hwmon/dme1737.c for (ix = 0; ix < ARRAY_SIZE(data->temp); ix++) { temp 642 drivers/hwmon/dme1737.c data->temp[ix] = dme1737_read(data, temp 672 drivers/hwmon/dme1737.c for (ix = 0; ix < ARRAY_SIZE(data->temp); ix++) { temp 673 drivers/hwmon/dme1737.c data->temp[ix] |= (lsb[DME1737_REG_TEMP_LSB[ix]] << temp 889 drivers/hwmon/dme1737.c res = TEMP_FROM_REG(data->temp[ix], 16); temp 904 drivers/hwmon/dme1737.c res = (((u16)data->temp[ix] & 0xff00) == 0x8000); temp 1015 drivers/hwmon/dme1737.c int temp; temp 1030 drivers/hwmon/dme1737.c temp = TEMP_FROM_REG(data->zone_low[ix], 8); temp 1032 drivers/hwmon/dme1737.c data->zone_hyst[ix == 2] = TEMP_HYST_TO_REG(temp, val, ix, reg); temp 1049 drivers/hwmon/dme1737.c temp = TEMP_FROM_REG(data->zone_low[ix], 8); temp 1050 drivers/hwmon/dme1737.c val = clamp_val(val, temp, temp + 80000); temp 1052 drivers/hwmon/dme1737.c data->pwm_freq[ix] = TEMP_RANGE_TO_REG(val - temp, reg); temp 1533 drivers/hwmon/dme1737.c static SENSOR_DEVICE_ATTR_2(temp##ix##_input, S_IRUGO, \ temp 1535 drivers/hwmon/dme1737.c static SENSOR_DEVICE_ATTR_2(temp##ix##_min, S_IRUGO | S_IWUSR, \ temp 1537 drivers/hwmon/dme1737.c static SENSOR_DEVICE_ATTR_2(temp##ix##_max, S_IRUGO | S_IWUSR, \ temp 1539 drivers/hwmon/dme1737.c static SENSOR_DEVICE_ATTR_2(temp##ix##_offset, S_IRUGO, \ temp 1541 drivers/hwmon/dme1737.c static SENSOR_DEVICE_ATTR_2(temp##ix##_alarm, S_IRUGO, \ temp 1543 drivers/hwmon/dme1737.c static SENSOR_DEVICE_ATTR_2(temp##ix##_fault, S_IRUGO, \ temp 116 drivers/hwmon/ds1621.c u16 temp[3]; /* Register values, word */ temp 134 drivers/hwmon/ds1621.c static inline u16 DS1621_TEMP_TO_REG(long temp, u8 zbits) temp 136 drivers/hwmon/ds1621.c temp = clamp_val(temp, DS1621_TEMP_MIN, DS1621_TEMP_MAX); temp 137 drivers/hwmon/ds1621.c temp = DIV_ROUND_CLOSEST(temp * (1 << (8 - zbits)), 1000) << zbits; temp 138 drivers/hwmon/ds1621.c return temp; temp 201 drivers/hwmon/ds1621.c for (i = 0; i < ARRAY_SIZE(data->temp); i++) temp 202 drivers/hwmon/ds1621.c data->temp[i] = i2c_smbus_read_word_swapped(client, temp 207 drivers/hwmon/ds1621.c if (data->temp[0] > data->temp[1]) /* input > min */ temp 209 drivers/hwmon/ds1621.c if (data->temp[0] < data->temp[2]) /* input < max */ temp 230 drivers/hwmon/ds1621.c DS1621_TEMP_FROM_REG(data->temp[attr->index])); temp 246 drivers/hwmon/ds1621.c data->temp[attr->index] = DS1621_TEMP_TO_REG(val, data->zbits); temp 248 drivers/hwmon/ds1621.c data->temp[attr->index]); temp 309 drivers/hwmon/ds1621.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 310 drivers/hwmon/ds1621.c static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, 1); temp 311 drivers/hwmon/ds1621.c static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, 2); temp 62 drivers/hwmon/ds620.c s16 temp[3]; /* Register values, word */ temp 109 drivers/hwmon/ds620.c for (i = 0; i < ARRAY_SIZE(data->temp); i++) { temp 117 drivers/hwmon/ds620.c data->temp[i] = res; temp 138 drivers/hwmon/ds620.c return sprintf(buf, "%d\n", ((data->temp[attr->index] / 8) * 625) / 10); temp 159 drivers/hwmon/ds620.c data->temp[attr->index] = val; temp 161 drivers/hwmon/ds620.c data->temp[attr->index]); temp 197 drivers/hwmon/ds620.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 198 drivers/hwmon/ds620.c static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, 1); temp 199 drivers/hwmon/ds620.c static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, 2); temp 165 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, 0x06); temp 166 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, 0x05); temp 167 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp, 0x20); temp 168 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0x00); temp 176 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp2_min, temp, 0x08); temp 177 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp2_max, temp, 0x07); temp 178 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp, 0x19); temp 179 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 0x01); temp 188 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp3_min, temp, 0x16); temp 189 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp3_max, temp, 0x15); temp 190 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp3_crit, temp, 0x1A); temp 191 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 0x23); temp 200 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp4_min, temp, 0x2D); temp 201 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp4_max, temp, 0x2C); temp 202 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp4_crit, temp, 0x30); temp 203 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 0x2A); temp 63 drivers/hwmon/emc2103.c struct temperature temp[4]; /* internal + 3 external */ temp 86 drivers/hwmon/emc2103.c struct temperature *temp) temp 96 drivers/hwmon/emc2103.c temp->degrees = degrees; temp 97 drivers/hwmon/emc2103.c temp->fraction = (fractional & 0xe0) >> 5; temp 147 drivers/hwmon/emc2103.c read_temp_from_i2c(client, REG_TEMP[i], &data->temp[i]); temp 179 drivers/hwmon/emc2103.c int millidegrees = data->temp[nr].degrees * 1000 temp 180 drivers/hwmon/emc2103.c + data->temp[nr].fraction * 125; temp 207 drivers/hwmon/emc2103.c bool fault = (data->temp[nr].degrees == -128); temp 462 drivers/hwmon/emc2103.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 469 drivers/hwmon/emc2103.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 476 drivers/hwmon/emc2103.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 483 drivers/hwmon/emc2103.c static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3); temp 53 drivers/hwmon/emc6w201.c s8 temp[3][6]; temp 144 drivers/hwmon/emc6w201.c data->temp[input][nr] = temp 147 drivers/hwmon/emc6w201.c data->temp[min][nr] = temp 150 drivers/hwmon/emc6w201.c data->temp[max][nr] = temp 225 drivers/hwmon/emc6w201.c return sprintf(buf, "%d\n", (int)data->temp[sf][nr] * 1000); temp 250 drivers/hwmon/emc6w201.c data->temp[sf][nr] = val; temp 251 drivers/hwmon/emc6w201.c err = emc6w201_write8(client, reg, data->temp[sf][nr]); temp 322 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp1_input, temp, 0, input); temp 323 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp1_min, temp, 0, min); temp 324 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp, 0, max); temp 325 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp2_input, temp, 1, input); temp 326 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp2_min, temp, 1, min); temp 327 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp, 1, max); temp 328 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp3_input, temp, 2, input); temp 329 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp3_min, temp, 2, min); temp 330 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp3_max, temp, 2, max); temp 331 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp4_input, temp, 3, input); temp 332 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp4_min, temp, 3, min); temp 333 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp4_max, temp, 3, max); temp 334 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp5_input, temp, 4, input); temp 335 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp5_min, temp, 4, min); temp 336 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp5_max, temp, 4, max); temp 337 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp6_input, temp, 5, input); temp 338 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp6_min, temp, 5, min); temp 339 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp6_max, temp, 5, max); temp 158 drivers/hwmon/f71805f.c u8 temp[3]; temp 183 drivers/hwmon/f71805f.c u8 temp[3]; temp 367 drivers/hwmon/f71805f.c data->auto_points[nr].temp[apnr] = temp 399 drivers/hwmon/f71805f.c data->temp[nr] = f71805f_read8(data, temp 795 drivers/hwmon/f71805f.c temp_from_reg(data->auto_points[pwmnr].temp[apnr])); temp 814 drivers/hwmon/f71805f.c data->auto_points[pwmnr].temp[apnr] = temp_to_reg(val); temp 816 drivers/hwmon/f71805f.c data->auto_points[pwmnr].temp[apnr]); temp 866 drivers/hwmon/f71805f.c return sprintf(buf, "%ld\n", temp_from_reg(data->temp[nr])); temp 276 drivers/hwmon/f71882fg.c u16 temp[4]; temp 1320 drivers/hwmon/f71882fg.c data->temp[nr] = f71882fg_read_temp(data, nr); temp 1566 drivers/hwmon/f71882fg.c int sign, temp; temp 1571 drivers/hwmon/f71882fg.c sign = data->temp[nr] & 0x0001; temp 1572 drivers/hwmon/f71882fg.c temp = (data->temp[nr] >> 5) & 0x7ff; temp 1574 drivers/hwmon/f71882fg.c sign = data->temp[nr] & 0x8000; temp 1575 drivers/hwmon/f71882fg.c temp = (data->temp[nr] >> 5) & 0x3ff; temp 1577 drivers/hwmon/f71882fg.c temp *= 125; temp 1579 drivers/hwmon/f71882fg.c temp -= 128000; temp 1581 drivers/hwmon/f71882fg.c temp = data->temp[nr] * 1000; temp 1583 drivers/hwmon/f71882fg.c return sprintf(buf, "%d\n", temp); temp 273 drivers/hwmon/fam15h_power.c unsigned long temp; temp 276 drivers/hwmon/fam15h_power.c ret = kstrtoul(buf, 10, &temp); temp 280 drivers/hwmon/fam15h_power.c if (temp > MAX_INTERVAL) temp 284 drivers/hwmon/fam15h_power.c if (temp <= 0) temp 287 drivers/hwmon/fam15h_power.c data->power_period = temp; temp 138 drivers/hwmon/hwmon.c static int hwmon_thermal_get_temp(void *data, int *temp) temp 150 drivers/hwmon/hwmon.c *temp = t; temp 41 drivers/hwmon/i5500_temp.c long temp; temp 47 drivers/hwmon/i5500_temp.c temp = ((long)tsthrhi - tsfsc) * 500; temp 49 drivers/hwmon/i5500_temp.c return sprintf(buf, "%ld\n", temp); temp 57 drivers/hwmon/i5500_temp.c long temp; temp 61 drivers/hwmon/i5500_temp.c temp = tsthr * 500; temp 63 drivers/hwmon/i5500_temp.c return sprintf(buf, "%ld\n", temp); temp 147 drivers/hwmon/i5k_amb.c unsigned long temp; temp 148 drivers/hwmon/i5k_amb.c int ret = kstrtoul(buf, 10, &temp); temp 152 drivers/hwmon/i5k_amb.c temp = temp / 500; temp 153 drivers/hwmon/i5k_amb.c if (temp > 255) temp 154 drivers/hwmon/i5k_amb.c temp = 255; temp 156 drivers/hwmon/i5k_amb.c amb_write_byte(data, amb_reg_temp_min(attr->index), temp); temp 167 drivers/hwmon/i5k_amb.c unsigned long temp; temp 168 drivers/hwmon/i5k_amb.c int ret = kstrtoul(buf, 10, &temp); temp 172 drivers/hwmon/i5k_amb.c temp = temp / 500; temp 173 drivers/hwmon/i5k_amb.c if (temp > 255) temp 174 drivers/hwmon/i5k_amb.c temp = 255; temp 176 drivers/hwmon/i5k_amb.c amb_write_byte(data, amb_reg_temp_mid(attr->index), temp); temp 187 drivers/hwmon/i5k_amb.c unsigned long temp; temp 188 drivers/hwmon/i5k_amb.c int ret = kstrtoul(buf, 10, &temp); temp 192 drivers/hwmon/i5k_amb.c temp = temp / 500; temp 193 drivers/hwmon/i5k_amb.c if (temp > 255) temp 194 drivers/hwmon/i5k_amb.c temp = 255; temp 196 drivers/hwmon/i5k_amb.c amb_write_byte(data, amb_reg_temp_max(attr->index), temp); temp 170 drivers/hwmon/ibmaem.c u8 temp[AEM2_NUM_TEMP_REGS]; temp 465 drivers/hwmon/ibmaem.c aem_read_sensor(data, AEM_EXHAUST_ELEMENT, 0, &data->temp[0], 1); temp 466 drivers/hwmon/ibmaem.c aem_read_sensor(data, AEM_EXHAUST_ELEMENT, 1, &data->temp[1], 1); temp 890 drivers/hwmon/ibmaem.c unsigned long temp; temp 893 drivers/hwmon/ibmaem.c res = kstrtoul(buf, 10, &temp); temp 897 drivers/hwmon/ibmaem.c if (temp < AEM_MIN_POWER_INTERVAL) temp 901 drivers/hwmon/ibmaem.c a->power_period[attr->index] = temp; temp 973 drivers/hwmon/ibmaem.c return sprintf(buf, "%u\n", a->temp[attr->index] * 1000); temp 533 drivers/hwmon/it87.c s8 temp[NUM_TEMP][4]; /* [nr][0]=temp, [1]=min, [2]=max, [3]=offset */ temp 791 drivers/hwmon/it87.c data->temp[i][0] = temp 795 drivers/hwmon/it87.c data->temp[i][3] = temp 802 drivers/hwmon/it87.c data->temp[i][1] = temp 804 drivers/hwmon/it87.c data->temp[i][2] = temp 951 drivers/hwmon/it87.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr][index])); temp 988 drivers/hwmon/it87.c data->temp[nr][index] = TEMP_TO_REG(val); temp 989 drivers/hwmon/it87.c it87_write_value(data, reg, data->temp[nr][index]); temp 216 drivers/hwmon/jc42.c u16 temp[t_num_temp];/* Temperatures */ temp 223 drivers/hwmon/jc42.c static u16 jc42_temp_to_reg(long temp, bool extended) temp 225 drivers/hwmon/jc42.c int ntemp = clamp_val(temp, temp 257 drivers/hwmon/jc42.c data->temp[i] = val; temp 271 drivers/hwmon/jc42.c int temp, hyst; temp 278 drivers/hwmon/jc42.c *val = jc42_temp_from_reg(data->temp[t_input]); temp 281 drivers/hwmon/jc42.c *val = jc42_temp_from_reg(data->temp[t_min]); temp 284 drivers/hwmon/jc42.c *val = jc42_temp_from_reg(data->temp[t_max]); temp 287 drivers/hwmon/jc42.c *val = jc42_temp_from_reg(data->temp[t_crit]); temp 290 drivers/hwmon/jc42.c temp = jc42_temp_from_reg(data->temp[t_max]); temp 293 drivers/hwmon/jc42.c *val = temp - hyst; temp 296 drivers/hwmon/jc42.c temp = jc42_temp_from_reg(data->temp[t_crit]); temp 299 drivers/hwmon/jc42.c *val = temp - hyst; temp 302 drivers/hwmon/jc42.c *val = (data->temp[t_input] >> JC42_ALARM_MIN_BIT) & 1; temp 305 drivers/hwmon/jc42.c *val = (data->temp[t_input] >> JC42_ALARM_MAX_BIT) & 1; temp 308 drivers/hwmon/jc42.c *val = (data->temp[t_input] >> JC42_ALARM_CRIT_BIT) & 1; temp 327 drivers/hwmon/jc42.c data->temp[t_min] = jc42_temp_to_reg(val, data->extended); temp 329 drivers/hwmon/jc42.c data->temp[t_min]); temp 332 drivers/hwmon/jc42.c data->temp[t_max] = jc42_temp_to_reg(val, data->extended); temp 334 drivers/hwmon/jc42.c data->temp[t_max]); temp 337 drivers/hwmon/jc42.c data->temp[t_crit] = jc42_temp_to_reg(val, data->extended); temp 339 drivers/hwmon/jc42.c data->temp[t_crit]); temp 349 drivers/hwmon/jc42.c diff = jc42_temp_from_reg(data->temp[t_crit]) - val; temp 442 drivers/hwmon/jc42.c HWMON_CHANNEL_INFO(temp, temp 128 drivers/hwmon/k10temp.c unsigned int temp; temp 132 drivers/hwmon/k10temp.c temp = (regval >> 21) * 125; temp 134 drivers/hwmon/k10temp.c temp -= 49000; temp 135 drivers/hwmon/k10temp.c return temp; temp 142 drivers/hwmon/k10temp.c unsigned int temp = get_raw_temp(data); temp 144 drivers/hwmon/k10temp.c if (temp > data->temp_offset) temp 145 drivers/hwmon/k10temp.c temp -= data->temp_offset; temp 147 drivers/hwmon/k10temp.c temp = 0; temp 149 drivers/hwmon/k10temp.c return sprintf(buf, "%u\n", temp); temp 156 drivers/hwmon/k10temp.c unsigned int temp = get_raw_temp(data); temp 158 drivers/hwmon/k10temp.c return sprintf(buf, "%u\n", temp); temp 92 drivers/hwmon/k8temp.c u32 temp; temp 108 drivers/hwmon/k8temp.c pci_read_config_dword(pdev, REG_TEMP, &temp); temp 111 drivers/hwmon/k8temp.c *val = TEMP_FROM_REG(temp) + data->temp_offset; temp 122 drivers/hwmon/k8temp.c HWMON_CHANNEL_INFO(temp, temp 136 drivers/hwmon/k8temp.c u32 temp; temp 190 drivers/hwmon/k8temp.c pci_read_config_dword(pdev, REG_TEMP, &temp); temp 192 drivers/hwmon/k8temp.c if (!((temp >> 16) & 0xff)) /* if temp is 0 -49C is unlikely */ temp 199 drivers/hwmon/k8temp.c pci_read_config_dword(pdev, REG_TEMP, &temp); temp 200 drivers/hwmon/k8temp.c if (!((temp >> 16) & 0xff)) /* if temp is 0 -49C is unlikely */ temp 494 drivers/hwmon/lm63.c int temp; temp 506 drivers/hwmon/lm63.c temp = TEMP8U_TO_REG(val - data->temp2_offset); temp 508 drivers/hwmon/lm63.c temp = TEMP8_TO_REG(val - data->temp2_offset); temp 512 drivers/hwmon/lm63.c temp = TEMP8_TO_REG(val); temp 516 drivers/hwmon/lm63.c temp = lut_temp_to_reg(data, val); temp 518 drivers/hwmon/lm63.c data->temp8[nr] = temp; temp 519 drivers/hwmon/lm63.c i2c_smbus_write_byte_data(client, reg, temp); temp 530 drivers/hwmon/lm63.c int temp; temp 538 drivers/hwmon/lm63.c temp = TEMP11_FROM_REG(data->temp11u); temp 540 drivers/hwmon/lm63.c temp = TEMP11_FROM_REG(data->temp11[nr]); temp 543 drivers/hwmon/lm63.c temp = TEMP11_FROM_REG((u16)data->temp11[nr]); temp 545 drivers/hwmon/lm63.c temp = TEMP11_FROM_REG(data->temp11[nr]); temp 547 drivers/hwmon/lm63.c return sprintf(buf, "%d\n", temp + data->temp2_offset); temp 67 drivers/hwmon/lm73.c long temp; temp 71 drivers/hwmon/lm73.c int status = kstrtol(buf, 10, &temp); temp 76 drivers/hwmon/lm73.c value = clamp_val(temp / 250, LM73_TEMP_MIN, LM73_TEMP_MAX) << 5; temp 86 drivers/hwmon/lm73.c int temp; temp 94 drivers/hwmon/lm73.c temp = (((s16) err) * 250) / 32; temp 95 drivers/hwmon/lm73.c return scnprintf(buf, PAGE_SIZE, "%d\n", temp); temp 168 drivers/hwmon/lm73.c static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, LM73_REG_MAX); temp 169 drivers/hwmon/lm73.c static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, LM73_REG_MIN); temp 170 drivers/hwmon/lm73.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, LM73_REG_INPUT); temp 297 drivers/hwmon/lm75.c static inline long lm75_reg_to_mc(s16 temp, u8 resolution) temp 299 drivers/hwmon/lm75.c return ((temp >> (16 - resolution)) * 1000) >> (resolution - 8); temp 366 drivers/hwmon/lm75.c static int lm75_write_temp(struct device *dev, u32 attr, long temp) temp 392 drivers/hwmon/lm75.c temp = clamp_val(temp, LM75_TEMP_MIN, LM75_TEMP_MAX); temp 393 drivers/hwmon/lm75.c temp = DIV_ROUND_CLOSEST(temp << (resolution - 8), temp 396 drivers/hwmon/lm75.c return regmap_write(data->regmap, reg, (u16)temp); temp 499 drivers/hwmon/lm75.c HWMON_CHANNEL_INFO(temp, temp 25 drivers/hwmon/lm75.h static inline u16 LM75_TEMP_TO_REG(long temp) temp 27 drivers/hwmon/lm75.h int ntemp = clamp_val(temp, LM75_TEMP_MIN, LM75_TEMP_MAX); temp 60 drivers/hwmon/lm77.c int temp[t_num_temp]; /* index using temp_index */ temp 72 drivers/hwmon/lm77.c static inline s16 LM77_TEMP_TO_REG(int temp) temp 74 drivers/hwmon/lm77.c return (temp / 500) * 8; temp 114 drivers/hwmon/lm77.c data->temp[i] = temp 137 drivers/hwmon/lm77.c return sprintf(buf, "%d\n", data->temp[attr->index]); temp 146 drivers/hwmon/lm77.c int temp; temp 148 drivers/hwmon/lm77.c temp = nr == t_min ? data->temp[nr] + data->temp[t_hyst] : temp 149 drivers/hwmon/lm77.c data->temp[nr] - data->temp[t_hyst]; temp 151 drivers/hwmon/lm77.c return sprintf(buf, "%d\n", temp); temp 171 drivers/hwmon/lm77.c data->temp[nr] = val; temp 195 drivers/hwmon/lm77.c val = clamp_val(data->temp[t_crit] - val, LM77_TEMP_MIN, LM77_TEMP_MAX); temp 196 drivers/hwmon/lm77.c data->temp[t_hyst] = val; temp 198 drivers/hwmon/lm77.c LM77_TEMP_TO_REG(data->temp[t_hyst])); temp 211 drivers/hwmon/lm77.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, t_input); temp 212 drivers/hwmon/lm77.c static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp, t_crit); temp 213 drivers/hwmon/lm77.c static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, t_min); temp 214 drivers/hwmon/lm77.c static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, t_max); temp 128 drivers/hwmon/lm78.c s8 temp; /* Register value */ temp 233 drivers/hwmon/lm78.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp)); temp 756 drivers/hwmon/lm78.c data->temp = lm78_read_value(data, LM78_REG_TEMP); temp 77 drivers/hwmon/lm80.c #define TEMP_TO_REG(temp) (DIV_ROUND_CLOSEST(clamp_val((temp), \ temp 126 drivers/hwmon/lm80.c s16 temp[t_num_temp]; /* Register values, normalized to 16 bit */ temp 215 drivers/hwmon/lm80.c data->temp[t_input] = (prev_rv << 8) | (rv & 0xf0); temp 221 drivers/hwmon/lm80.c data->temp[i] = rv << 8; temp 408 drivers/hwmon/lm80.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); temp 425 drivers/hwmon/lm80.c data->temp[nr] = TEMP_TO_REG(val); temp 426 drivers/hwmon/lm80.c lm80_write_value(client, temp_regs[nr], data->temp[nr] >> 8); temp 477 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, t_input); temp 478 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, t_hot_max); temp 479 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_RW(temp1_max_hyst, temp, t_hot_hyst); temp 480 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp, t_os_max); temp 481 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_RW(temp1_crit_hyst, temp, t_os_hyst); temp 112 drivers/hwmon/lm83.c s8 temp[9]; /* 0..3: input 1-4, temp 130 drivers/hwmon/lm83.c data->temp[nr] = temp 157 drivers/hwmon/lm83.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); temp 176 drivers/hwmon/lm83.c data->temp[nr] = TEMP_TO_REG(val); temp 178 drivers/hwmon/lm83.c data->temp[nr]); temp 200 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 201 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 202 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 203 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3); temp 204 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, 4); temp 205 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RW(temp2_max, temp, 5); temp 206 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RW(temp3_max, temp, 6); temp 207 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RW(temp4_max, temp, 7); temp 208 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RO(temp1_crit, temp, 8); temp 209 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RO(temp2_crit, temp, 8); temp 210 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RW(temp3_crit, temp, 8); temp 211 drivers/hwmon/lm83.c static SENSOR_DEVICE_ATTR_RO(temp4_crit, temp, 8); temp 304 drivers/hwmon/lm85.c s8 temp[3]; /* Register value */ temp 420 drivers/hwmon/lm85.c data->temp[i] = temp 426 drivers/hwmon/lm85.c data->temp[i] -= 64; temp 940 drivers/hwmon/lm85.c return sprintf(buf, "%d\n", TEMPEXT_FROM_REG(data->temp[nr], temp 1008 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 1011 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 1014 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 155 drivers/hwmon/lm87.c s8 temp[3]; /* register value */ temp 225 drivers/hwmon/lm87.c data->temp[i] = lm87_read_value(client, temp 369 drivers/hwmon/lm87.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr])); temp 980 drivers/hwmon/lm90.c int temp; temp 983 drivers/hwmon/lm90.c temp = temp_from_u16_adt7461(data, temp11); temp 985 drivers/hwmon/lm90.c temp = temp_from_u16(temp11); temp 987 drivers/hwmon/lm90.c temp = temp_from_s16(temp11); temp 991 drivers/hwmon/lm90.c temp += 16000; temp 993 drivers/hwmon/lm90.c return temp; temp 1041 drivers/hwmon/lm90.c int temp; temp 1044 drivers/hwmon/lm90.c temp = temp_from_u8_adt7461(data, temp8); temp 1046 drivers/hwmon/lm90.c temp = temp_from_u8(temp8); temp 1048 drivers/hwmon/lm90.c temp = temp_from_s8(temp8); temp 1052 drivers/hwmon/lm90.c temp += 16000; temp 1054 drivers/hwmon/lm90.c return temp; temp 1092 drivers/hwmon/lm90.c int temp; temp 1095 drivers/hwmon/lm90.c temp = temp_from_u8_adt7461(data, data->temp8[index]); temp 1097 drivers/hwmon/lm90.c temp = temp_from_u8(data->temp8[index]); temp 1099 drivers/hwmon/lm90.c temp = temp_from_s8(data->temp8[index]); temp 1103 drivers/hwmon/lm90.c temp += 16000; temp 1105 drivers/hwmon/lm90.c return temp - temp_from_s8(data->temp_hyst); temp 1111 drivers/hwmon/lm90.c int temp; temp 1115 drivers/hwmon/lm90.c temp = temp_from_u8_adt7461(data, data->temp8[LOCAL_CRIT]); temp 1117 drivers/hwmon/lm90.c temp = temp_from_u8(data->temp8[LOCAL_CRIT]); temp 1119 drivers/hwmon/lm90.c temp = temp_from_s8(data->temp8[LOCAL_CRIT]); temp 1121 drivers/hwmon/lm90.c data->temp_hyst = hyst_to_reg(temp - val); temp 106 drivers/hwmon/lm92.c s16 temp[t_num_regs]; /* index with enum temp_index */ temp 125 drivers/hwmon/lm92.c data->temp[i] = temp 143 drivers/hwmon/lm92.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); temp 162 drivers/hwmon/lm92.c data->temp[nr] = TEMP_TO_REG(val); temp 163 drivers/hwmon/lm92.c i2c_smbus_write_word_swapped(client, regs[nr], data->temp[nr]); temp 174 drivers/hwmon/lm92.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index]) temp 175 drivers/hwmon/lm92.c - TEMP_FROM_REG(data->temp[t_hyst])); temp 183 drivers/hwmon/lm92.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[t_min]) temp 184 drivers/hwmon/lm92.c + TEMP_FROM_REG(data->temp[t_hyst])); temp 203 drivers/hwmon/lm92.c data->temp[t_hyst] = temp 204 drivers/hwmon/lm92.c TEMP_TO_REG(TEMP_FROM_REG(data->temp[attr->index]) - val); temp 206 drivers/hwmon/lm92.c data->temp[t_hyst]); temp 216 drivers/hwmon/lm92.c return sprintf(buf, "%d\n", ALARMS_FROM_REG(data->temp[t_input])); temp 224 drivers/hwmon/lm92.c return sprintf(buf, "%d\n", (data->temp[t_input] >> bitnr) & 1); temp 227 drivers/hwmon/lm92.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, t_input); temp 228 drivers/hwmon/lm92.c static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp, t_crit); temp 230 drivers/hwmon/lm92.c static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, t_min); temp 232 drivers/hwmon/lm92.c static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, t_max); temp 425 drivers/hwmon/lm93.c static u8 LM93_TEMP_TO_REG(long temp) temp 427 drivers/hwmon/lm93.c int ntemp = clamp_val(temp, LM93_TEMP_MIN, LM93_TEMP_MAX); temp 1265 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 1266 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 1267 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 61 drivers/hwmon/lm95234.c int temp[5]; /* temperature (signed) */ temp 74 drivers/hwmon/lm95234.c u16 temp = 0; temp 81 drivers/hwmon/lm95234.c temp = val << 8; temp 86 drivers/hwmon/lm95234.c temp |= val; temp 87 drivers/hwmon/lm95234.c *t = temp; temp 93 drivers/hwmon/lm95234.c if (!temp) { temp 98 drivers/hwmon/lm95234.c temp = val << 8; temp 103 drivers/hwmon/lm95234.c temp |= val; temp 104 drivers/hwmon/lm95234.c *t = (s16)temp; temp 174 drivers/hwmon/lm95234.c for (i = 0; i < ARRAY_SIZE(data->temp); i++) { temp 175 drivers/hwmon/lm95234.c ret = lm95234_read_temp(client, i, &data->temp[i]); temp 216 drivers/hwmon/lm95234.c DIV_ROUND_CLOSEST(data->temp[index] * 125, 32)); temp 486 drivers/hwmon/lm95234.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 487 drivers/hwmon/lm95234.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 488 drivers/hwmon/lm95234.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 489 drivers/hwmon/lm95234.c static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3); temp 490 drivers/hwmon/lm95234.c static SENSOR_DEVICE_ATTR_RO(temp5_input, temp, 4); temp 83 drivers/hwmon/lm95241.c u8 temp[ARRAY_SIZE(lm95241_reg_address)]; temp 114 drivers/hwmon/lm95241.c data->temp[i] temp 151 drivers/hwmon/lm95241.c *val = temp_from_reg_signed(data->temp[channel * 2], temp 152 drivers/hwmon/lm95241.c data->temp[channel * 2 + 1]); temp 154 drivers/hwmon/lm95241.c *val = temp_from_reg_unsigned(data->temp[channel * 2], temp 155 drivers/hwmon/lm95241.c data->temp[channel * 2 + 1]); temp 415 drivers/hwmon/lm95241.c HWMON_CHANNEL_INFO(temp, temp 529 drivers/hwmon/lm95245.c HWMON_CHANNEL_INFO(temp, temp 325 drivers/hwmon/lochnagar-hwmon.c HWMON_CHANNEL_INFO(temp, HWMON_T_INPUT), temp 32 drivers/hwmon/ltq-cputemp.c u32 attr, int channel, long *temp) temp 50 drivers/hwmon/ltq-cputemp.c *temp = value; temp 71 drivers/hwmon/ltq-cputemp.c HWMON_CHANNEL_INFO(temp, temp 86 drivers/hwmon/max1619.c u8 temp[t_num_regs]; /* index with enum temp_index */ temp 117 drivers/hwmon/max1619.c data->temp[i] = i2c_smbus_read_byte_data(client, temp 145 drivers/hwmon/max1619.c return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); temp 161 drivers/hwmon/max1619.c data->temp[attr->index] = temp_to_reg(val); temp 163 drivers/hwmon/max1619.c data->temp[attr->index]); temp 183 drivers/hwmon/max1619.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, t_input1); temp 184 drivers/hwmon/max1619.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, t_input2); temp 185 drivers/hwmon/max1619.c static SENSOR_DEVICE_ATTR_RW(temp2_min, temp, t_low2); temp 186 drivers/hwmon/max1619.c static SENSOR_DEVICE_ATTR_RW(temp2_max, temp, t_high2); temp 187 drivers/hwmon/max1619.c static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp, t_crit2); temp 188 drivers/hwmon/max1619.c static SENSOR_DEVICE_ATTR_RW(temp2_crit_hyst, temp, t_hyst2); temp 67 drivers/hwmon/max1668.c s8 temp[5]; temp 91 drivers/hwmon/max1668.c data->temp[i] = (s8) val; temp 139 drivers/hwmon/max1668.c return sprintf(buf, "%d\n", data->temp[index] * 1000); temp 188 drivers/hwmon/max1668.c (data->alarms & (1 << 12)) && data->temp[index] == 127); temp 198 drivers/hwmon/max1668.c long temp; temp 201 drivers/hwmon/max1668.c ret = kstrtol(buf, 10, &temp); temp 206 drivers/hwmon/max1668.c data->temp_max[index] = clamp_val(temp/1000, -128, 127); temp 224 drivers/hwmon/max1668.c long temp; temp 227 drivers/hwmon/max1668.c ret = kstrtol(buf, 10, &temp); temp 232 drivers/hwmon/max1668.c data->temp_min[index] = clamp_val(temp/1000, -128, 127); temp 207 drivers/hwmon/max6621.c s8 temp; temp 228 drivers/hwmon/max6621.c temp = (regval >> MAX6621_REG_TEMP_SHIFT); temp 229 drivers/hwmon/max6621.c *val = temp * 1000L; temp 455 drivers/hwmon/max6621.c HWMON_CHANNEL_INFO(temp, temp 76 drivers/hwmon/max6639.c u16 temp[2]; /* Temperature, in 1/8 C, 0..255 C */ temp 131 drivers/hwmon/max6639.c data->temp[i] = res >> 5; temp 140 drivers/hwmon/max6639.c data->temp[i] |= res << 3; temp 155 drivers/hwmon/max6639.c long temp; temp 162 drivers/hwmon/max6639.c temp = data->temp[attr->index] * 125; temp 163 drivers/hwmon/max6639.c return sprintf(buf, "%ld\n", temp); temp 85 drivers/hwmon/max6697.c u8 temp[8][4]; /* [nr][0]=temp [1]=ext [2]=max [3]=crit */ temp 198 drivers/hwmon/max6697.c data->temp[i][MAX6697_TEMP_EXT] = val; temp 206 drivers/hwmon/max6697.c data->temp[i][MAX6697_TEMP_INPUT] = val; temp 213 drivers/hwmon/max6697.c data->temp[i][MAX6697_TEMP_MAX] = val; temp 222 drivers/hwmon/max6697.c data->temp[i][MAX6697_TEMP_CRIT] = val; temp 249 drivers/hwmon/max6697.c int temp; temp 254 drivers/hwmon/max6697.c temp = (data->temp[index][MAX6697_TEMP_INPUT] - data->temp_offset) << 3; temp 255 drivers/hwmon/max6697.c temp |= data->temp[index][MAX6697_TEMP_EXT] >> 5; temp 257 drivers/hwmon/max6697.c return sprintf(buf, "%d\n", temp * 125); temp 266 drivers/hwmon/max6697.c int temp; temp 271 drivers/hwmon/max6697.c temp = data->temp[nr][index]; temp 272 drivers/hwmon/max6697.c temp -= data->temp_offset; temp 274 drivers/hwmon/max6697.c return sprintf(buf, "%d\n", temp * 1000); temp 299 drivers/hwmon/max6697.c long temp; temp 302 drivers/hwmon/max6697.c ret = kstrtol(buf, 10, &temp); temp 307 drivers/hwmon/max6697.c temp = DIV_ROUND_CLOSEST(temp, 1000) + data->temp_offset; temp 308 drivers/hwmon/max6697.c temp = clamp_val(temp, 0, data->type == max6581 ? 255 : 127); temp 309 drivers/hwmon/max6697.c data->temp[nr][index] = temp; temp 313 drivers/hwmon/max6697.c temp); temp 320 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp, 0, MAX6697_TEMP_MAX); temp 321 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp1_crit, temp, 0, MAX6697_TEMP_CRIT); temp 324 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp, 1, MAX6697_TEMP_MAX); temp 325 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp2_crit, temp, 1, MAX6697_TEMP_CRIT); temp 328 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp3_max, temp, 2, MAX6697_TEMP_MAX); temp 329 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp3_crit, temp, 2, MAX6697_TEMP_CRIT); temp 332 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp4_max, temp, 3, MAX6697_TEMP_MAX); temp 333 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp4_crit, temp, 3, MAX6697_TEMP_CRIT); temp 336 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp5_max, temp, 4, MAX6697_TEMP_MAX); temp 337 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp5_crit, temp, 4, MAX6697_TEMP_CRIT); temp 340 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp6_max, temp, 5, MAX6697_TEMP_MAX); temp 341 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp6_crit, temp, 5, MAX6697_TEMP_CRIT); temp 344 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp7_max, temp, 6, MAX6697_TEMP_MAX); temp 345 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp7_crit, temp, 6, MAX6697_TEMP_CRIT); temp 348 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp8_max, temp, 7, MAX6697_TEMP_MAX); temp 349 drivers/hwmon/max6697.c static SENSOR_DEVICE_ATTR_2_RW(temp8_crit, temp, 7, MAX6697_TEMP_CRIT); temp 313 drivers/hwmon/nct6683.c s8 temp[4][NCT6683_NUM_REG_MON];/* [0]=min, [1]=max, [2]=hyst, temp 623 drivers/hwmon/nct6683.c data->temp[j][i] = temp 800 drivers/hwmon/nct6683.c return sprintf(buf, "%d\n", data->temp[index][nr] * 1000); temp 809 drivers/hwmon/nct6683.c int temp = data->temp[1][nr] - data->temp[2][nr]; temp 811 drivers/hwmon/nct6683.c return sprintf(buf, "%d\n", temp * 1000); temp 862 drivers/hwmon/nct6683.c int temp = index / 7; /* temp index */ temp 873 drivers/hwmon/nct6683.c if (nr == 6 && get_temp_type(data->temp_src[temp]) == 0) temp 1161 drivers/hwmon/nct6775.c s16 temp[5][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst, temp 1828 drivers/hwmon/nct6775.c data->temp[j][i] temp 2328 drivers/hwmon/nct6775.c return sprintf(buf, "%d\n", LM75_TEMP_FROM_REG(data->temp[index][nr])); temp 2347 drivers/hwmon/nct6775.c data->temp[index][nr] = LM75_TEMP_TO_REG(val); temp 2349 drivers/hwmon/nct6775.c data->temp[index][nr]); temp 2445 drivers/hwmon/nct6775.c int temp = index / 10; /* temp index */ temp 2448 drivers/hwmon/nct6775.c if (!(data->have_temp & BIT(temp))) temp 2454 drivers/hwmon/nct6775.c if (nr == 2 && find_temp_source(data, temp, data->num_temp_alarms) < 0) temp 2457 drivers/hwmon/nct6775.c if (nr == 3 && find_temp_source(data, temp, data->num_temp_beeps) < 0) temp 2460 drivers/hwmon/nct6775.c if (nr == 4 && !data->reg_temp[1][temp]) /* max */ temp 2463 drivers/hwmon/nct6775.c if (nr == 5 && !data->reg_temp[2][temp]) /* max_hyst */ temp 2466 drivers/hwmon/nct6775.c if (nr == 6 && !data->reg_temp[3][temp]) /* crit */ temp 2469 drivers/hwmon/nct6775.c if (nr == 7 && !data->reg_temp[4][temp]) /* lcrit */ temp 2473 drivers/hwmon/nct6775.c if (nr > 7 && !(data->have_temp_fixed & BIT(temp))) temp 4696 drivers/hwmon/nct6775.c data->temp[j][i]); temp 189 drivers/hwmon/nct7802.c u8 reg_temp, u8 reg_temp_low, int *temp) temp 194 drivers/hwmon/nct7802.c *temp = 0; temp 207 drivers/hwmon/nct7802.c *temp = (s16)t1 / 32 * 125; temp 438 drivers/hwmon/nct7802.c int err, temp; temp 440 drivers/hwmon/nct7802.c err = nct7802_read_temp(data, sattr->nr, sattr->index, &temp); temp 444 drivers/hwmon/nct7802.c return sprintf(buf, "%d\n", temp); temp 563 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(temp1_input, temp, 0x01, REG_TEMP_LSB); temp 564 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp1_min, temp, 0x31, 0); temp 565 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp, 0x30, 0); temp 566 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp1_crit, temp, 0x3a, 0); temp 569 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(temp2_input, temp, 0x02, REG_TEMP_LSB); temp 570 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp2_min, temp, 0x33, 0); temp 571 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp, 0x32, 0); temp 572 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp2_crit, temp, 0x3b, 0); temp 575 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(temp3_input, temp, 0x03, REG_TEMP_LSB); temp 576 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp3_min, temp, 0x35, 0); temp 577 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp3_max, temp, 0x34, 0); temp 578 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp3_crit, temp, 0x3c, 0); temp 580 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(temp4_input, temp, 0x04, 0); temp 581 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp4_min, temp, 0x37, 0); temp 582 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp4_max, temp, 0x36, 0); temp 583 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp4_crit, temp, 0x3d, 0); temp 585 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(temp5_input, temp, 0x06, REG_TEMP_PECI_LSB); temp 586 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp5_min, temp, 0x39, 0); temp 587 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp5_max, temp, 0x38, 0); temp 588 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(temp5_crit, temp, 0x3e, 0); temp 590 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(temp6_input, temp, 0x07, REG_TEMP_PECI_LSB); temp 892 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point1_temp, temp, 0x80, 0); temp 893 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point2_temp, temp, 0x81, 0); temp 894 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point3_temp, temp, 0x82, 0); temp 895 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point4_temp, temp, 0x83, 0); temp 896 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point5_temp, temp, 0x84, 0); temp 906 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point1_temp, temp, 0x90, 0); temp 907 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point2_temp, temp, 0x91, 0); temp 908 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point3_temp, temp, 0x92, 0); temp 909 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point4_temp, temp, 0x93, 0); temp 910 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point5_temp, temp, 0x94, 0); temp 920 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_point1_temp, temp, 0xA0, 0); temp 921 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_point2_temp, temp, 0xA1, 0); temp 922 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_point3_temp, temp, 0xA2, 0); temp 923 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_point4_temp, temp, 0xA3, 0); temp 924 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_point5_temp, temp, 0xA4, 0); temp 357 drivers/hwmon/nct7904.c int ret, temp; temp 374 drivers/hwmon/nct7904.c temp = ((ret & 0xff00) >> 5) | (ret & 0x7); temp 375 drivers/hwmon/nct7904.c *val = sign_extend32(temp, 10) * 125; temp 831 drivers/hwmon/nct7904.c HWMON_CHANNEL_INFO(temp, temp 544 drivers/hwmon/ntc_thermistor.c int temp; temp 549 drivers/hwmon/ntc_thermistor.c temp = data->comp[low].temp_c * 1000; temp 551 drivers/hwmon/ntc_thermistor.c temp = data->comp[low].temp_c * 1000 + temp 556 drivers/hwmon/ntc_thermistor.c return temp; temp 620 drivers/hwmon/ntc_thermistor.c HWMON_CHANNEL_INFO(temp, HWMON_T_INPUT | HWMON_T_TYPE), temp 228 drivers/hwmon/occ/common.c struct temp_sensor_1 *temp; temp 237 drivers/hwmon/occ/common.c temp = ((struct temp_sensor_1 *)sensors->temp.data) + sattr->index; temp 241 drivers/hwmon/occ/common.c val = get_unaligned_be16(&temp->sensor_id); temp 248 drivers/hwmon/occ/common.c if (temp->value == 0xFFFF) temp 250 drivers/hwmon/occ/common.c val = get_unaligned_be16(&temp->value) * 1000; temp 264 drivers/hwmon/occ/common.c struct temp_sensor_2 *temp; temp 273 drivers/hwmon/occ/common.c temp = ((struct temp_sensor_2 *)sensors->temp.data) + sattr->index; temp 277 drivers/hwmon/occ/common.c val = get_unaligned_be32(&temp->sensor_id); temp 280 drivers/hwmon/occ/common.c val = temp->value; temp 289 drivers/hwmon/occ/common.c if (temp->fru_type != OCC_FRU_TYPE_VRM) { temp 298 drivers/hwmon/occ/common.c val = temp->fru_type; temp 301 drivers/hwmon/occ/common.c val = temp->value == OCC_TEMP_SENSOR_FAULT; temp 730 drivers/hwmon/occ/common.c struct temp_sensor_2 *temp; temp 740 drivers/hwmon/occ/common.c switch (sensors->temp.version) { temp 742 drivers/hwmon/occ/common.c num_attrs += (sensors->temp.num_sensors * 2); temp 745 drivers/hwmon/occ/common.c num_attrs += (sensors->temp.num_sensors * 4); temp 749 drivers/hwmon/occ/common.c sensors->temp.num_sensors = 0; temp 813 drivers/hwmon/occ/common.c for (i = 0; i < sensors->temp.num_sensors; ++i) { temp 815 drivers/hwmon/occ/common.c temp = ((struct temp_sensor_2 *)sensors->temp.data) + i; temp 822 drivers/hwmon/occ/common.c if (sensors->temp.version > 1 && temp 823 drivers/hwmon/occ/common.c temp->fru_type == OCC_FRU_TYPE_VRM) { temp 835 drivers/hwmon/occ/common.c if (sensors->temp.version > 1) { temp 1050 drivers/hwmon/occ/common.c sensor = &sensors->temp; temp 75 drivers/hwmon/occ/common.h struct occ_sensor temp; temp 205 drivers/hwmon/pc87360.c s8 temp[3]; /* Register value */ temp 849 drivers/hwmon/pc87360.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); temp 1653 drivers/hwmon/pc87360.c data->temp[i] = pc87360_read_value(data, temp 64 drivers/hwmon/pc87427.c s16 temp[6]; /* register values */ temp 308 drivers/hwmon/pc87427.c data->temp[nr] = le16_to_cpu(inw(iobase + PC87427_REG_TEMP)); temp 697 drivers/hwmon/pc87427.c return sprintf(buf, "%ld\n", temp_from_reg(data->temp[nr])); temp 79 drivers/hwmon/sch5627.c u16 temp[SCH5627_NO_TEMPS]; temp 110 drivers/hwmon/sch5627.c data->temp[i] = val; temp 211 drivers/hwmon/sch5627.c val = reg_to_temp(data->temp[attr->index]); temp 224 drivers/hwmon/sch5627.c return snprintf(buf, PAGE_SIZE, "%d\n", data->temp[attr->index] == 0); temp 317 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 318 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 319 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 320 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3); temp 321 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(temp5_input, temp, 4); temp 322 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(temp6_input, temp, 5); temp 323 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(temp7_input, temp, 6); temp 324 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(temp8_input, temp, 7); temp 65 drivers/hwmon/scpi-hwmon.c static int scpi_read_temp(void *dev, int *temp) temp 80 drivers/hwmon/scpi-hwmon.c *temp = value; temp 648 drivers/hwmon/sht15.c int temp = sht15_calc_temp(data); temp 666 drivers/hwmon/sht15.c return (temp - 25000) * (10000 + t2 * data->val_humid) temp 185 drivers/hwmon/sis5595.c s8 temp; /* Register value */ temp 299 drivers/hwmon/sis5595.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp)); temp 717 drivers/hwmon/sis5595.c data->temp = temp 103 drivers/hwmon/smsc47b397.c u8 temp[4]; temp 129 drivers/hwmon/smsc47b397.c data->temp[i] = smsc47b397_read_value(data, temp 164 drivers/hwmon/smsc47b397.c return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); temp 167 drivers/hwmon/smsc47b397.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 168 drivers/hwmon/smsc47b397.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 169 drivers/hwmon/smsc47b397.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 170 drivers/hwmon/smsc47b397.c static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3); temp 95 drivers/hwmon/smsc47m192.c s8 temp[3]; /* Register value */ temp 127 drivers/hwmon/smsc47m192.c data->temp[i] = i2c_smbus_read_byte_data(client, temp 272 drivers/hwmon/smsc47m192.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr])); temp 386 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 390 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 394 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 95 drivers/hwmon/stts751.c int temp; temp 196 drivers/hwmon/stts751.c priv->temp = stts751_to_deg((integer1 << 8) | frac); temp 200 drivers/hwmon/stts751.c static int stts751_set_temp_reg16(struct stts751_priv *priv, int temp, temp 206 drivers/hwmon/stts751.c hwval = stts751_to_hw(temp); temp 215 drivers/hwmon/stts751.c static int stts751_set_temp_reg8(struct stts751_priv *priv, int temp, u8 reg) temp 219 drivers/hwmon/stts751.c hwval = stts751_to_hw(temp); temp 223 drivers/hwmon/stts751.c static int stts751_read_reg16(struct stts751_priv *priv, int *temp, temp 236 drivers/hwmon/stts751.c *temp = stts751_to_deg((integer << 8) | frac); temp 241 drivers/hwmon/stts751.c static int stts751_read_reg8(struct stts751_priv *priv, int *temp, u8 reg) temp 249 drivers/hwmon/stts751.c *temp = stts751_to_deg(integer << 8); temp 422 drivers/hwmon/stts751.c return snprintf(buf, PAGE_SIZE, "%d\n", priv->temp); temp 437 drivers/hwmon/stts751.c long temp; temp 440 drivers/hwmon/stts751.c if (kstrtol(buf, 10, &temp) < 0) temp 444 drivers/hwmon/stts751.c temp = clamp_val(temp, -64000, 127937); temp 446 drivers/hwmon/stts751.c ret = stts751_set_temp_reg8(priv, temp, STTS751_REG_TLIM); temp 450 drivers/hwmon/stts751.c dev_dbg(&priv->client->dev, "setting therm %ld", temp); temp 456 drivers/hwmon/stts751.c priv->hyst = temp - (priv->therm - priv->hyst); temp 457 drivers/hwmon/stts751.c priv->therm = temp; temp 479 drivers/hwmon/stts751.c long temp; temp 483 drivers/hwmon/stts751.c if (kstrtol(buf, 10, &temp) < 0) temp 488 drivers/hwmon/stts751.c temp = clamp_val(temp, -64000, priv->therm); temp 489 drivers/hwmon/stts751.c priv->hyst = temp; temp 490 drivers/hwmon/stts751.c dev_dbg(&priv->client->dev, "setting hyst %ld", temp); temp 491 drivers/hwmon/stts751.c temp = priv->therm - temp; temp 492 drivers/hwmon/stts751.c ret = stts751_set_temp_reg8(priv, temp, STTS751_REG_HYST); temp 527 drivers/hwmon/stts751.c long temp; temp 530 drivers/hwmon/stts751.c if (kstrtol(buf, 10, &temp) < 0) temp 535 drivers/hwmon/stts751.c temp = clamp_val(temp, priv->event_min, 127937); temp 536 drivers/hwmon/stts751.c ret = stts751_set_temp_reg16(priv, temp, temp 541 drivers/hwmon/stts751.c dev_dbg(&priv->client->dev, "setting event max %ld", temp); temp 542 drivers/hwmon/stts751.c priv->event_max = temp; temp 561 drivers/hwmon/stts751.c long temp; temp 564 drivers/hwmon/stts751.c if (kstrtol(buf, 10, &temp) < 0) temp 569 drivers/hwmon/stts751.c temp = clamp_val(temp, -64000, priv->event_max); temp 570 drivers/hwmon/stts751.c ret = stts751_set_temp_reg16(priv, temp, temp 575 drivers/hwmon/stts751.c dev_dbg(&priv->client->dev, "setting event min %ld", temp); temp 576 drivers/hwmon/stts751.c priv->event_min = temp; temp 248 drivers/hwmon/thmc50.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 252 drivers/hwmon/thmc50.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 256 drivers/hwmon/thmc50.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 73 drivers/hwmon/tmp102.c u32 attr, int channel, long *temp) temp 101 drivers/hwmon/tmp102.c *temp = tmp102_reg_to_mC(regval); temp 107 drivers/hwmon/tmp102.c u32 attr, int channel, long temp) temp 123 drivers/hwmon/tmp102.c temp = clamp_val(temp, -256000, 255000); temp 124 drivers/hwmon/tmp102.c return regmap_write(tmp102->regmap, reg, tmp102_mC_to_reg(temp)); temp 147 drivers/hwmon/tmp102.c HWMON_CHANNEL_INFO(temp, temp 92 drivers/hwmon/tmp108.c u32 attr, int channel, long *temp) temp 107 drivers/hwmon/tmp108.c *temp = 4000; temp 110 drivers/hwmon/tmp108.c *temp = 1000; temp 113 drivers/hwmon/tmp108.c *temp = 250; temp 116 drivers/hwmon/tmp108.c *temp = 63; temp 135 drivers/hwmon/tmp108.c *temp = tmp108_temp_reg_to_mC(regval); temp 143 drivers/hwmon/tmp108.c *temp = tmp108_temp_reg_to_mC(regval); temp 150 drivers/hwmon/tmp108.c *temp = !!(regval & (attr == hwmon_temp_min_alarm ? temp 177 drivers/hwmon/tmp108.c *temp = tmp108_temp_reg_to_mC(regval); temp 179 drivers/hwmon/tmp108.c *temp += hyst; temp 181 drivers/hwmon/tmp108.c *temp -= hyst; temp 191 drivers/hwmon/tmp108.c u32 attr, int channel, long temp) temp 199 drivers/hwmon/tmp108.c if (temp < 156) temp 201 drivers/hwmon/tmp108.c else if (temp < 625) temp 203 drivers/hwmon/tmp108.c else if (temp < 2500) temp 218 drivers/hwmon/tmp108.c temp = clamp_val(temp, TMP108_TEMP_MIN_MC, TMP108_TEMP_MAX_MC); temp 222 drivers/hwmon/tmp108.c tmp108_mC_to_temp_reg(temp)); temp 225 drivers/hwmon/tmp108.c temp = clamp_val(temp, TMP108_TEMP_MIN_MC, TMP108_TEMP_MAX_MC); temp 233 drivers/hwmon/tmp108.c temp -= tmp108_temp_reg_to_mC(regval); temp 235 drivers/hwmon/tmp108.c temp = tmp108_temp_reg_to_mC(regval) - temp; temp 236 drivers/hwmon/tmp108.c if (temp < 500) temp 238 drivers/hwmon/tmp108.c else if (temp < 1500) temp 240 drivers/hwmon/tmp108.c else if (temp < 3000) temp 278 drivers/hwmon/tmp108.c HWMON_CHANNEL_INFO(temp, temp 148 drivers/hwmon/tmp401.c u16 temp[7][3]; temp 158 drivers/hwmon/tmp401.c int temp = reg; temp 161 drivers/hwmon/tmp401.c temp -= 64 * 256; temp 163 drivers/hwmon/tmp401.c return DIV_ROUND_CLOSEST(temp * 125, 32); temp 166 drivers/hwmon/tmp401.c static u16 tmp401_temp_to_register(long temp, u8 config, int zbits) temp 169 drivers/hwmon/tmp401.c temp = clamp_val(temp, -64000, 191000); temp 170 drivers/hwmon/tmp401.c temp += 64000; temp 172 drivers/hwmon/tmp401.c temp = clamp_val(temp, 0, 127000); temp 174 drivers/hwmon/tmp401.c return DIV_ROUND_CLOSEST(temp * (1 << (8 - zbits)), 1000) << zbits; temp 200 drivers/hwmon/tmp401.c data->temp[j][i] = j == 3 ? val << 8 : val; temp 289 drivers/hwmon/tmp401.c tmp401_register_to_temp(data->temp[nr][index], data->config)); temp 296 drivers/hwmon/tmp401.c int temp, index = to_sensor_dev_attr(devattr)->index; temp 303 drivers/hwmon/tmp401.c temp = tmp401_register_to_temp(data->temp[3][index], data->config); temp 304 drivers/hwmon/tmp401.c temp -= data->temp_crit_hyst * 1000; temp 307 drivers/hwmon/tmp401.c return sprintf(buf, "%d\n", temp); temp 350 drivers/hwmon/tmp401.c data->temp[nr][index] = reg; temp 361 drivers/hwmon/tmp401.c int temp, index = to_sensor_dev_attr(devattr)->index; temp 378 drivers/hwmon/tmp401.c temp = tmp401_register_to_temp(data->temp[3][index], data->config); temp 379 drivers/hwmon/tmp401.c val = clamp_val(val, temp - 255000, temp); temp 380 drivers/hwmon/tmp401.c reg = ((temp - val) + 500) / 1000; temp 461 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RO(temp1_input, temp, 0, 0); temp 462 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RW(temp1_min, temp, 1, 0); temp 463 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp, 2, 0); temp 464 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RW(temp1_crit, temp, 3, 0); temp 472 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RO(temp2_input, temp, 0, 1); temp 473 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RW(temp2_min, temp, 1, 1); temp 474 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp, 2, 1); temp 475 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RW(temp2_crit, temp, 3, 1); temp 523 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RO(temp1_lowest, temp, 4, 0); temp 524 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RO(temp1_highest, temp, 5, 0); temp 525 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RO(temp2_lowest, temp, 4, 1); temp 526 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RO(temp2_highest, temp, 5, 1); temp 542 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RO(temp3_input, temp, 0, 2); temp 543 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RW(temp3_min, temp, 1, 2); temp 544 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RW(temp3_max, temp, 2, 2); temp 545 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RW(temp3_crit, temp, 3, 2); temp 577 drivers/hwmon/tmp401.c static SENSOR_DEVICE_ATTR_2_RW(temp2_offset, temp, 6, 1); temp 100 drivers/hwmon/tmp421.c s16 temp[4]; temp 106 drivers/hwmon/tmp421.c int temp = reg & ~0xf; temp 108 drivers/hwmon/tmp421.c return (temp * 1000 + 128) / 256; temp 114 drivers/hwmon/tmp421.c int temp = reg & ~0xf; temp 117 drivers/hwmon/tmp421.c temp -= 64 * 256; temp 119 drivers/hwmon/tmp421.c return (temp * 1000 + 128) / 256; temp 135 drivers/hwmon/tmp421.c data->temp[i] = i2c_smbus_read_byte_data(client, temp 137 drivers/hwmon/tmp421.c data->temp[i] |= i2c_smbus_read_byte_data(client, temp 157 drivers/hwmon/tmp421.c *val = temp_from_u16(tmp421->temp[channel]); temp 159 drivers/hwmon/tmp421.c *val = temp_from_s16(tmp421->temp[channel]); temp 166 drivers/hwmon/tmp421.c *val = tmp421->temp[channel] & 0x01; temp 92 drivers/hwmon/via-cputemp.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, SHOW_TEMP); temp 315 drivers/hwmon/via686a.c u16 temp[3]; /* Register value 10 bit */ temp 429 drivers/hwmon/via686a.c return sprintf(buf, "%ld\n", TEMP_FROM_REG10(data->temp[nr])); temp 486 drivers/hwmon/via686a.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 489 drivers/hwmon/via686a.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 492 drivers/hwmon/via686a.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 772 drivers/hwmon/via686a.c data->temp[i] = via686a_read_value(data, temp 787 drivers/hwmon/via686a.c data->temp[0] |= (via686a_read_value(data, temp 790 drivers/hwmon/via686a.c data->temp[1] |= temp 793 drivers/hwmon/via686a.c data->temp[2] |= temp 115 drivers/hwmon/vt1211.c u8 temp[7]; temp 272 drivers/hwmon/vt1211.c for (ix = 0; ix < ARRAY_SIZE(data->temp); ix++) { temp 274 drivers/hwmon/vt1211.c data->temp[ix] = vt1211_read8(data, temp 426 drivers/hwmon/vt1211.c res = TEMP_FROM_REG(ix, data->temp[ix]); temp 958 drivers/hwmon/vt1211.c { SENSOR_ATTR_2(temp##ix##_input, S_IRUGO, \ temp 960 drivers/hwmon/vt1211.c SENSOR_ATTR_2(temp##ix##_max, S_IRUGO | S_IWUSR, \ temp 962 drivers/hwmon/vt1211.c SENSOR_ATTR_2(temp##ix##_max_hyst, S_IRUGO | S_IWUSR, \ temp 964 drivers/hwmon/vt1211.c SENSOR_ATTR_2(temp##ix##_alarm, S_IRUGO, \ temp 154 drivers/hwmon/vt8231.c u16 temp[6]; /* Register value 10 bit, right aligned */ temp 345 drivers/hwmon/vt8231.c return sprintf(buf, "%d\n", data->temp[0] * 250); temp 405 drivers/hwmon/vt8231.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr])); temp 476 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 479 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 482 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3); temp 485 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RO(temp5_input, temp, 4); temp 488 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RO(temp6_input, temp, 5); temp 904 drivers/hwmon/vt8231.c data->temp[i] = (vt8231_read_value(data, temp 463 drivers/hwmon/w83627ehf.c s16 temp[9]; temp 890 drivers/hwmon/w83627ehf.c data->temp[i] = w83627ehf_read_temp(data, temp 1211 drivers/hwmon/w83627ehf.c show_temp_reg(reg_temp, temp); temp 268 drivers/hwmon/w83627hf.c static u8 TEMP_TO_REG(long temp) temp 270 drivers/hwmon/w83627hf.c int ntemp = clamp_val(temp, TEMP_MIN, TEMP_MAX); temp 366 drivers/hwmon/w83627hf.c u16 temp[3]; /* Register value */ temp 716 drivers/hwmon/w83627hf.c u16 tmp = data->temp[nr]; temp 788 drivers/hwmon/w83627hf.c static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0); temp 791 drivers/hwmon/w83627hf.c static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1); temp 794 drivers/hwmon/w83627hf.c static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2); temp 1889 drivers/hwmon/w83627hf.c data->temp[i] = w83627hf_read_value( temp 239 drivers/hwmon/w83773g.c HWMON_CHANNEL_INFO(temp, temp 217 drivers/hwmon/w83781d.c s8 temp; /* Register value */ temp 360 drivers/hwmon/w83781d.c show_temp_reg(temp); temp 394 drivers/hwmon/w83781d.c static SENSOR_DEVICE_ATTR(temp##offset##_input, S_IRUGO, \ temp 396 drivers/hwmon/w83781d.c static SENSOR_DEVICE_ATTR(temp##offset##_max, S_IRUGO | S_IWUSR, \ temp 398 drivers/hwmon/w83781d.c static SENSOR_DEVICE_ATTR(temp##offset##_max_hyst, S_IRUGO | S_IWUSR, \ temp 1490 drivers/hwmon/w83781d.c data->temp = w83781d_read_value(data, W83781D_REG_TEMP(1)); temp 224 drivers/hwmon/w83793.c s8 temp[6][5]; /* current, crit, crit_hyst,warn, warn_hyst */ temp 571 drivers/hwmon/w83793.c long temp = TEMP_FROM_REG(data->temp[index][nr]); temp 575 drivers/hwmon/w83793.c temp += temp > 0 ? low : -low; temp 577 drivers/hwmon/w83793.c return sprintf(buf, "%ld\n", temp); temp 598 drivers/hwmon/w83793.c data->temp[index][nr] = TEMP_TO_REG(tmp, -128, 127); temp 600 drivers/hwmon/w83793.c data->temp[index][nr]); temp 1050 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_type, S_IRUGO | S_IWUSR, \ temp 1052 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \ temp 1054 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \ temp 1056 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \ temp 1058 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_warn, S_IRUGO | S_IWUSR, show_temp, \ temp 1060 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_warn_hyst, S_IRUGO | S_IWUSR, \ temp 1062 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \ temp 1064 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \ temp 1066 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_channels_pwm, \ temp 1069 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_pwm_enable, S_IWUSR | S_IRUGO, \ temp 1076 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point1_pwm, S_IRUGO | S_IWUSR, \ temp 1078 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point2_pwm, S_IRUGO | S_IWUSR, \ temp 1080 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point3_pwm, S_IRUGO | S_IWUSR, \ temp 1082 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point4_pwm, S_IRUGO | S_IWUSR, \ temp 1084 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point5_pwm, S_IRUGO | S_IWUSR, \ temp 1086 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point6_pwm, S_IRUGO | S_IWUSR, \ temp 1088 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point7_pwm, S_IRUGO | S_IWUSR, \ temp 1090 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point1_temp, S_IRUGO | S_IWUSR,\ temp 1092 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point2_temp, S_IRUGO | S_IWUSR,\ temp 1094 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point3_temp, S_IRUGO | S_IWUSR,\ temp 1096 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point4_temp, S_IRUGO | S_IWUSR,\ temp 1098 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point5_temp, S_IRUGO | S_IWUSR,\ temp 1100 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point6_temp, S_IRUGO | S_IWUSR,\ temp 1102 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point7_temp, S_IRUGO | S_IWUSR,\ temp 1982 drivers/hwmon/w83793.c data->temp[i][j] = temp 2059 drivers/hwmon/w83793.c for (i = 0; i < ARRAY_SIZE(data->temp); i++) { temp 2062 drivers/hwmon/w83793.c data->temp[i][TEMP_READ] = temp 339 drivers/hwmon/w83795.c s8 temp[6][5]; /* current, crit, crit_hyst, warn, warn_hyst */ temp 496 drivers/hwmon/w83795.c for (i = 0; i < ARRAY_SIZE(data->temp); i++) { temp 500 drivers/hwmon/w83795.c data->temp[i][limit] = temp 640 drivers/hwmon/w83795.c for (i = 0; i < ARRAY_SIZE(data->temp); i++) { temp 641 drivers/hwmon/w83795.c data->temp[i][TEMP_READ] = temp 1324 drivers/hwmon/w83795.c long temp = temp_from_reg(data->temp[index][nr]); temp 1327 drivers/hwmon/w83795.c temp += (data->temp_read_vrlsb[index] >> 6) * 250; temp 1328 drivers/hwmon/w83795.c return sprintf(buf, "%ld\n", temp); temp 1347 drivers/hwmon/w83795.c data->temp[index][nr] = temp_to_reg(tmp, -128, 127); temp 1348 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_TEMP[index][nr], data->temp[index][nr]); temp 1375 drivers/hwmon/w83795.c long temp = temp_from_reg(data->dts[index]); temp 1377 drivers/hwmon/w83795.c temp += (data->dts_read_vrlsb[index] >> 6) * 250; temp 1378 drivers/hwmon/w83795.c return sprintf(buf, "%ld\n", temp); temp 1388 drivers/hwmon/w83795.c long temp = temp_from_reg(data->dts_ext[nr]); temp 1390 drivers/hwmon/w83795.c return sprintf(buf, "%ld\n", temp); temp 1659 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_type, S_IRUGO , \ temp 1661 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_dts, \ temp 1663 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_dts_ext, \ temp 1665 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_crit_hyst, S_IRUGO | S_IWUSR, \ temp 1667 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_dts_ext, \ temp 1669 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \ temp 1671 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \ temp 1673 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \ temp 1681 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_type, S_IRUGO | (index < 5 ? S_IWUSR : 0), \ temp 1683 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \ temp 1685 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_temp, \ temp 1687 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_crit_hyst, S_IRUGO | S_IWUSR, \ temp 1689 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \ temp 1691 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \ temp 1693 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \ temp 1696 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \ temp 1699 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_pwm_enable, S_IWUSR | S_IRUGO, \ temp 1702 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_channels_pwm, S_IWUSR | S_IRUGO, \ temp 1707 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_warn, S_IWUSR | S_IRUGO, \ temp 1709 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_warn_hyst, S_IWUSR | S_IRUGO, \ temp 1711 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_operation_hyst, S_IWUSR | S_IRUGO, \ temp 1713 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point1_pwm, S_IRUGO | S_IWUSR, \ temp 1715 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point2_pwm, S_IRUGO | S_IWUSR, \ temp 1717 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point3_pwm, S_IRUGO | S_IWUSR, \ temp 1719 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point4_pwm, S_IRUGO | S_IWUSR, \ temp 1721 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point5_pwm, S_IRUGO | S_IWUSR, \ temp 1723 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point6_pwm, S_IRUGO | S_IWUSR, \ temp 1725 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point7_pwm, S_IRUGO | S_IWUSR, \ temp 1727 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point1_temp, S_IRUGO | S_IWUSR,\ temp 1729 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point2_temp, S_IRUGO | S_IWUSR,\ temp 1731 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point3_temp, S_IRUGO | S_IWUSR,\ temp 1733 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point4_temp, S_IRUGO | S_IWUSR,\ temp 1735 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point5_temp, S_IRUGO | S_IWUSR,\ temp 1737 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point6_temp, S_IRUGO | S_IWUSR,\ temp 1739 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point7_temp, S_IRUGO | S_IWUSR,\ temp 106 drivers/hwmon/w83l785ts.c s8 temp[2]; /* 0: input, 1: critical limit */ temp 118 drivers/hwmon/w83l785ts.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); temp 269 drivers/hwmon/w83l785ts.c data->temp[0] = w83l785ts_read_value(client, temp 270 drivers/hwmon/w83l785ts.c W83L785TS_REG_TEMP, data->temp[0]); temp 271 drivers/hwmon/w83l785ts.c data->temp[1] = w83l785ts_read_value(client, temp 272 drivers/hwmon/w83l785ts.c W83L785TS_REG_TEMP_OVER, data->temp[1]); temp 128 drivers/hwmon/w83l786ng.c u8 temp[2][3]; temp 201 drivers/hwmon/w83l786ng.c data->temp[i][j] = w83l786ng_read_value(client, temp 413 drivers/hwmon/w83l786ng.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr][index])); temp 434 drivers/hwmon/w83l786ng.c data->temp[nr][index] = TEMP_TO_REG(val); temp 436 drivers/hwmon/w83l786ng.c data->temp[nr][index]); temp 323 drivers/hwmon/xgene-hwmon.c int rc, temp; temp 330 drivers/hwmon/xgene-hwmon.c temp = sign_extend32(val, TEMP_NEGATIVE_BIT); temp 332 drivers/hwmon/xgene-hwmon.c return snprintf(buf, PAGE_SIZE, "%d\n", CELSIUS_TO_mCELSIUS(temp)); temp 361 drivers/i2c/algos/i2c-algo-bit.c const unsigned char *temp = msg->buf; temp 368 drivers/i2c/algos/i2c-algo-bit.c retval = i2c_outb(i2c_adap, *temp); temp 373 drivers/i2c/algos/i2c-algo-bit.c temp++; temp 420 drivers/i2c/algos/i2c-algo-bit.c unsigned char *temp = msg->buf; temp 427 drivers/i2c/algos/i2c-algo-bit.c *temp = inval; temp 433 drivers/i2c/algos/i2c-algo-bit.c temp++; temp 151 drivers/i2c/algos/i2c-algo-pcf.c unsigned char temp; temp 162 drivers/i2c/algos/i2c-algo-pcf.c if (((temp = get_pcf(adap, 1)) & 0x7f) != (0)) { temp 163 drivers/i2c/algos/i2c-algo-pcf.c DEB2(printk(KERN_ERR "i2c-algo-pcf.o: PCF detection failed -- can't select S0 (0x%02x).\n", temp)); temp 170 drivers/i2c/algos/i2c-algo-pcf.c if ((temp = i2c_inb(adap)) != get_own(adap)) { temp 171 drivers/i2c/algos/i2c-algo-pcf.c DEB2(printk(KERN_ERR "i2c-algo-pcf.o: PCF detection failed -- can't set S0 (0x%02x).\n", temp)); temp 178 drivers/i2c/algos/i2c-algo-pcf.c if (((temp = get_pcf(adap, 1)) & 0x7f) != I2C_PCF_ES1) { temp 179 drivers/i2c/algos/i2c-algo-pcf.c DEB2(printk(KERN_ERR "i2c-algo-pcf.o: PCF detection failed -- can't select S2 (0x%02x).\n", temp)); temp 186 drivers/i2c/algos/i2c-algo-pcf.c if (((temp = i2c_inb(adap)) & 0x1f) != get_clock(adap)) { temp 187 drivers/i2c/algos/i2c-algo-pcf.c DEB2(printk(KERN_ERR "i2c-algo-pcf.o: PCF detection failed -- can't set S2 (0x%02x).\n", temp)); temp 195 drivers/i2c/algos/i2c-algo-pcf.c if ((temp = get_pcf(adap, 1)) != (I2C_PCF_PIN | I2C_PCF_BB)) { temp 196 drivers/i2c/algos/i2c-algo-pcf.c DEB2(printk(KERN_ERR "i2c-algo-pcf.o: PCF detection failed -- can't select S1` (0x%02x).\n", temp)); temp 131 drivers/i2c/busses/i2c-ali1535.c unsigned char temp; temp 175 drivers/i2c/busses/i2c-ali1535.c pci_read_config_byte(dev, SMBCFG, &temp); temp 176 drivers/i2c/busses/i2c-ali1535.c if ((temp & ALI1535_SMBIO_EN) == 0) { temp 183 drivers/i2c/busses/i2c-ali1535.c pci_read_config_byte(dev, SMBHSTCFG, &temp); temp 184 drivers/i2c/busses/i2c-ali1535.c if ((temp & 1) == 0) { temp 200 drivers/i2c/busses/i2c-ali1535.c pci_read_config_byte(dev, SMBREV, &temp); temp 201 drivers/i2c/busses/i2c-ali1535.c dev_dbg(&dev->dev, "SMBREV = 0x%X\n", temp); temp 214 drivers/i2c/busses/i2c-ali1535.c int temp; temp 224 drivers/i2c/busses/i2c-ali1535.c temp = inb_p(SMBHSTSTS); temp 228 drivers/i2c/busses/i2c-ali1535.c if (temp & ALI1535_STS_BUSY) { temp 250 drivers/i2c/busses/i2c-ali1535.c temp); temp 252 drivers/i2c/busses/i2c-ali1535.c temp = inb_p(SMBHSTSTS); temp 256 drivers/i2c/busses/i2c-ali1535.c if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) { temp 259 drivers/i2c/busses/i2c-ali1535.c temp = inb_p(SMBHSTSTS); temp 260 drivers/i2c/busses/i2c-ali1535.c if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) { temp 267 drivers/i2c/busses/i2c-ali1535.c "device on bus is probably hung\n", temp); temp 272 drivers/i2c/busses/i2c-ali1535.c if (temp & ALI1535_STS_DONE) temp 273 drivers/i2c/busses/i2c-ali1535.c outb_p(temp, SMBHSTSTS); temp 283 drivers/i2c/busses/i2c-ali1535.c temp = inb_p(SMBHSTSTS); temp 284 drivers/i2c/busses/i2c-ali1535.c } while (((temp & ALI1535_STS_BUSY) && !(temp & ALI1535_STS_IDLE)) temp 293 drivers/i2c/busses/i2c-ali1535.c if (temp & ALI1535_STS_FAIL) { temp 302 drivers/i2c/busses/i2c-ali1535.c if (temp & ALI1535_STS_BUSERR) { temp 310 drivers/i2c/busses/i2c-ali1535.c if (temp & ALI1535_STS_DEV) { temp 316 drivers/i2c/busses/i2c-ali1535.c if (!(temp & ALI1535_STS_DONE)) { temp 327 drivers/i2c/busses/i2c-ali1535.c if (!(temp & ALI1535_STS_DONE)) { temp 331 drivers/i2c/busses/i2c-ali1535.c } else if (temp & ALI1535_STS_ERR) { temp 346 drivers/i2c/busses/i2c-ali1535.c int temp; temp 351 drivers/i2c/busses/i2c-ali1535.c temp = inb_p(SMBHSTSTS); temp 353 drivers/i2c/busses/i2c-ali1535.c (timeout < MAX_TIMEOUT) && !(temp & ALI1535_STS_IDLE); temp 356 drivers/i2c/busses/i2c-ali1535.c temp = inb_p(SMBHSTSTS); temp 359 drivers/i2c/busses/i2c-ali1535.c dev_warn(&adap->dev, "Idle wait Timeout! STS=0x%02x\n", temp); temp 124 drivers/i2c/busses/i2c-ali15x3.c unsigned char temp; temp 137 drivers/i2c/busses/i2c-ali15x3.c pci_read_config_byte(ALI15X3_dev, SMBATPC, &temp); temp 138 drivers/i2c/busses/i2c-ali15x3.c if (temp & ALI15X3_LOCK) { temp 139 drivers/i2c/busses/i2c-ali15x3.c temp &= ~ALI15X3_LOCK; temp 140 drivers/i2c/busses/i2c-ali15x3.c pci_write_config_byte(ALI15X3_dev, SMBATPC, temp); temp 185 drivers/i2c/busses/i2c-ali15x3.c pci_read_config_byte(ALI15X3_dev, SMBCOM, &temp); temp 186 drivers/i2c/busses/i2c-ali15x3.c if ((temp & 1) == 0) { temp 188 drivers/i2c/busses/i2c-ali15x3.c pci_write_config_byte(ALI15X3_dev, SMBCOM, temp | 0x01); temp 192 drivers/i2c/busses/i2c-ali15x3.c pci_read_config_byte(ALI15X3_dev, SMBHSTCFG, &temp); temp 193 drivers/i2c/busses/i2c-ali15x3.c if ((temp & 1) == 0) { temp 195 drivers/i2c/busses/i2c-ali15x3.c pci_write_config_byte(ALI15X3_dev, SMBHSTCFG, temp | 0x01); temp 208 drivers/i2c/busses/i2c-ali15x3.c pci_read_config_byte(ALI15X3_dev, SMBREV, &temp); temp 209 drivers/i2c/busses/i2c-ali15x3.c dev_dbg(&ALI15X3_dev->dev, "SMBREV = 0x%X\n", temp); temp 221 drivers/i2c/busses/i2c-ali15x3.c int temp; temp 231 drivers/i2c/busses/i2c-ali15x3.c temp = inb_p(SMBHSTSTS); temp 235 drivers/i2c/busses/i2c-ali15x3.c if (temp & ALI15X3_STS_BUSY) { temp 258 drivers/i2c/busses/i2c-ali15x3.c "clear busy condition (%02x)\n", temp); temp 260 drivers/i2c/busses/i2c-ali15x3.c temp = inb_p(SMBHSTSTS); temp 264 drivers/i2c/busses/i2c-ali15x3.c if (temp & (ALI15X3_STS_ERR | ALI15X3_STS_BUSY)) { temp 267 drivers/i2c/busses/i2c-ali15x3.c if ((temp = inb_p(SMBHSTSTS)) & temp 274 drivers/i2c/busses/i2c-ali15x3.c temp); temp 279 drivers/i2c/busses/i2c-ali15x3.c if (temp & ALI15X3_STS_DONE) { temp 280 drivers/i2c/busses/i2c-ali15x3.c outb_p(temp, SMBHSTSTS); temp 291 drivers/i2c/busses/i2c-ali15x3.c temp = inb_p(SMBHSTSTS); temp 292 drivers/i2c/busses/i2c-ali15x3.c } while ((!(temp & (ALI15X3_STS_ERR | ALI15X3_STS_DONE))) temp 301 drivers/i2c/busses/i2c-ali15x3.c if (temp & ALI15X3_STS_TERM) { temp 312 drivers/i2c/busses/i2c-ali15x3.c if (temp & ALI15X3_STS_COLL) { temp 320 drivers/i2c/busses/i2c-ali15x3.c if (temp & ALI15X3_STS_DEV) { temp 337 drivers/i2c/busses/i2c-ali15x3.c int temp; temp 343 drivers/i2c/busses/i2c-ali15x3.c temp = inb_p(SMBHSTSTS); temp 345 drivers/i2c/busses/i2c-ali15x3.c (timeout < MAX_TIMEOUT) && !(temp & ALI15X3_STS_IDLE); temp 348 drivers/i2c/busses/i2c-ali15x3.c temp = inb_p(SMBHSTSTS); temp 351 drivers/i2c/busses/i2c-ali15x3.c dev_err(&adap->dev, "Idle wait Timeout! STS=0x%02x\n", temp); temp 414 drivers/i2c/busses/i2c-ali15x3.c temp = ali15x3_transaction(adap); temp 415 drivers/i2c/busses/i2c-ali15x3.c if (temp) temp 416 drivers/i2c/busses/i2c-ali15x3.c return temp; temp 98 drivers/i2c/busses/i2c-amd756.c int temp; temp 108 drivers/i2c/busses/i2c-amd756.c if ((temp = inw_p(SMB_GLOBAL_STATUS)) & (GS_HST_STS | GS_SMB_STS)) { temp 109 drivers/i2c/busses/i2c-amd756.c dev_dbg(&adap->dev, "SMBus busy (%04x). Waiting...\n", temp); temp 112 drivers/i2c/busses/i2c-amd756.c temp = inw_p(SMB_GLOBAL_STATUS); temp 113 drivers/i2c/busses/i2c-amd756.c } while ((temp & (GS_HST_STS | GS_SMB_STS)) && temp 117 drivers/i2c/busses/i2c-amd756.c dev_dbg(&adap->dev, "Busy wait timeout (%04x)\n", temp); temp 129 drivers/i2c/busses/i2c-amd756.c temp = inw_p(SMB_GLOBAL_STATUS); temp 130 drivers/i2c/busses/i2c-amd756.c } while ((temp & GS_HST_STS) && (timeout++ < MAX_TIMEOUT)); temp 138 drivers/i2c/busses/i2c-amd756.c if (temp & GS_PRERR_STS) { temp 143 drivers/i2c/busses/i2c-amd756.c if (temp & GS_COL_STS) { temp 148 drivers/i2c/busses/i2c-amd756.c if (temp & GS_TO_STS) { temp 153 drivers/i2c/busses/i2c-amd756.c if (temp & GS_HCYC_STS) temp 159 drivers/i2c/busses/i2c-amd756.c if (((temp = inw_p(SMB_GLOBAL_STATUS)) & GS_CLEAR_STS) != 0x00) { temp 161 drivers/i2c/busses/i2c-amd756.c "Failed reset at end of transaction (%04x)\n", temp); temp 318 drivers/i2c/busses/i2c-amd756.c u8 temp; temp 336 drivers/i2c/busses/i2c-amd756.c pci_read_config_byte(pdev, SMBGCFG, &temp); temp 337 drivers/i2c/busses/i2c-amd756.c if ((temp & 128) == 0) { temp 361 drivers/i2c/busses/i2c-amd756.c pci_read_config_byte(pdev, SMBREV, &temp); temp 362 drivers/i2c/busses/i2c-amd756.c dev_dbg(&pdev->dev, "SMBREV = 0x%X\n", temp); temp 194 drivers/i2c/busses/i2c-amd8111.c unsigned char protocol, len, pec, temp[2]; temp 335 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_STS, temp + 0); temp 339 drivers/i2c/busses/i2c-amd8111.c if (~temp[0] & AMD_SMB_STS_DONE) { temp 341 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_STS, temp + 0); temp 346 drivers/i2c/busses/i2c-amd8111.c if (~temp[0] & AMD_SMB_STS_DONE) { temp 348 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_STS, temp + 0); temp 353 drivers/i2c/busses/i2c-amd8111.c if ((~temp[0] & AMD_SMB_STS_DONE) || (temp[0] & AMD_SMB_STS_STATUS)) temp 369 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_DATA, temp + 0); temp 372 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_read(smbus, AMD_SMB_DATA + 1, temp + 1); temp 375 drivers/i2c/busses/i2c-amd8111.c data->word = (temp[1] << 8) | temp[0]; temp 676 drivers/i2c/busses/i2c-cadence.c unsigned long fscl = *f, best_fscl = *f, actual_fscl, temp; temp 681 drivers/i2c/busses/i2c-cadence.c temp = input_clk / (22 * fscl); temp 687 drivers/i2c/busses/i2c-cadence.c if (!temp || (temp > (CDNS_I2C_DIVA_MAX * CDNS_I2C_DIVB_MAX))) temp 286 drivers/i2c/busses/i2c-exynos5.c int div, clk_cycle, temp; temp 304 drivers/i2c/busses/i2c-exynos5.c temp = clkin / op_clk - 8 - t_ftl_cycle; temp 306 drivers/i2c/busses/i2c-exynos5.c temp -= t_ftl_cycle; temp 307 drivers/i2c/busses/i2c-exynos5.c div = temp / 512; temp 308 drivers/i2c/busses/i2c-exynos5.c clk_cycle = temp / (div + 1) - 2; temp 309 drivers/i2c/busses/i2c-exynos5.c if (temp < 4 || div >= 256 || clk_cycle < 2) { temp 1693 drivers/i2c/busses/i2c-i801.c unsigned char temp; temp 1807 drivers/i2c/busses/i2c-i801.c pci_read_config_byte(priv->pci_dev, SMBHSTCFG, &temp); temp 1808 drivers/i2c/busses/i2c-i801.c priv->original_hstcfg = temp; temp 1809 drivers/i2c/busses/i2c-i801.c temp &= ~SMBHSTCFG_I2C_EN; /* SMBus timing */ temp 1810 drivers/i2c/busses/i2c-i801.c if (!(temp & SMBHSTCFG_HST_EN)) { temp 1812 drivers/i2c/busses/i2c-i801.c temp |= SMBHSTCFG_HST_EN; temp 1814 drivers/i2c/busses/i2c-i801.c pci_write_config_byte(priv->pci_dev, SMBHSTCFG, temp); temp 1816 drivers/i2c/busses/i2c-i801.c if (temp & SMBHSTCFG_SMB_SMI_EN) { temp 1821 drivers/i2c/busses/i2c-i801.c if (temp & SMBHSTCFG_SPD_WD) temp 126 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp; temp 129 drivers/i2c/busses/i2c-imx-lpi2c.c temp = readl(lpi2c_imx->base + LPI2C_MSR); temp 132 drivers/i2c/busses/i2c-imx-lpi2c.c if (temp & MSR_ALF) { temp 133 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MSR); temp 137 drivers/i2c/busses/i2c-imx-lpi2c.c if (temp & (MSR_BBF | MSR_MBF)) temp 172 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp; temp 174 drivers/i2c/busses/i2c-imx-lpi2c.c temp = readl(lpi2c_imx->base + LPI2C_MCR); temp 175 drivers/i2c/busses/i2c-imx-lpi2c.c temp |= MCR_RRF | MCR_RTF; temp 176 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MCR); temp 179 drivers/i2c/busses/i2c-imx-lpi2c.c temp = i2c_8bit_addr_from_msg(msgs) | (GEN_START << 8); temp 180 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MTDR); temp 188 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp; temp 193 drivers/i2c/busses/i2c-imx-lpi2c.c temp = readl(lpi2c_imx->base + LPI2C_MSR); temp 194 drivers/i2c/busses/i2c-imx-lpi2c.c if (temp & MSR_SDF) temp 212 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp; temp 239 drivers/i2c/busses/i2c-imx-lpi2c.c temp = prescale | pincfg << 24; temp 242 drivers/i2c/busses/i2c-imx-lpi2c.c temp |= MCFGR1_IGNACK; temp 244 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MCFGR1); temp 247 drivers/i2c/busses/i2c-imx-lpi2c.c temp = (filt << 16) | (filt << 24); temp 248 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MCFGR2); temp 253 drivers/i2c/busses/i2c-imx-lpi2c.c temp = datavd << 24 | sethold << 16 | clkhi << 8 | clklo; temp 256 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MCCR1); temp 258 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MCCR0); temp 265 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp; temp 272 drivers/i2c/busses/i2c-imx-lpi2c.c temp = MCR_RST; temp 273 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MCR); temp 280 drivers/i2c/busses/i2c-imx-lpi2c.c temp = readl(lpi2c_imx->base + LPI2C_MCR); temp 281 drivers/i2c/busses/i2c-imx-lpi2c.c temp |= MCR_MEN; temp 282 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MCR); temp 295 drivers/i2c/busses/i2c-imx-lpi2c.c u32 temp; temp 297 drivers/i2c/busses/i2c-imx-lpi2c.c temp = readl(lpi2c_imx->base + LPI2C_MCR); temp 298 drivers/i2c/busses/i2c-imx-lpi2c.c temp &= ~MCR_MEN; temp 299 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MCR); temp 347 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp, remaining; temp 352 drivers/i2c/busses/i2c-imx-lpi2c.c temp = lpi2c_imx->rxfifosize >> 1; temp 354 drivers/i2c/busses/i2c-imx-lpi2c.c temp = 0; temp 356 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp << 16, lpi2c_imx->base + LPI2C_MFCR); temp 383 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp, data; temp 415 drivers/i2c/busses/i2c-imx-lpi2c.c temp = remaining; temp 416 drivers/i2c/busses/i2c-imx-lpi2c.c temp |= (RECV_DATA << 8); temp 417 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MTDR); temp 419 drivers/i2c/busses/i2c-imx-lpi2c.c temp = (remaining > CHUNK_DATA ? CHUNK_DATA : remaining) - 1; temp 420 drivers/i2c/busses/i2c-imx-lpi2c.c temp |= (RECV_DATA << 8); temp 421 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MTDR); temp 438 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp; temp 444 drivers/i2c/busses/i2c-imx-lpi2c.c temp = msgs->len > CHUNK_DATA ? CHUNK_DATA - 1 : msgs->len - 1; temp 445 drivers/i2c/busses/i2c-imx-lpi2c.c temp |= (RECV_DATA << 8); temp 446 drivers/i2c/busses/i2c-imx-lpi2c.c writel(temp, lpi2c_imx->base + LPI2C_MTDR); temp 455 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp; temp 494 drivers/i2c/busses/i2c-imx-lpi2c.c temp = readl(lpi2c_imx->base + LPI2C_MSR); temp 495 drivers/i2c/busses/i2c-imx-lpi2c.c if ((temp & MSR_NDF) && !result) temp 511 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp; temp 514 drivers/i2c/busses/i2c-imx-lpi2c.c temp = readl(lpi2c_imx->base + LPI2C_MSR); temp 516 drivers/i2c/busses/i2c-imx-lpi2c.c if (temp & MSR_RDF) temp 519 drivers/i2c/busses/i2c-imx-lpi2c.c if (temp & MSR_TDF) temp 522 drivers/i2c/busses/i2c-imx-lpi2c.c if (temp & MSR_NDF) temp 548 drivers/i2c/busses/i2c-imx-lpi2c.c unsigned int temp; temp 605 drivers/i2c/busses/i2c-imx-lpi2c.c temp = readl(lpi2c_imx->base + LPI2C_PARAM); temp 606 drivers/i2c/busses/i2c-imx-lpi2c.c lpi2c_imx->txfifosize = 1 << (temp & 0x0f); temp 607 drivers/i2c/busses/i2c-imx-lpi2c.c lpi2c_imx->rxfifosize = 1 << ((temp >> 8) & 0x0f); temp 420 drivers/i2c/busses/i2c-imx.c unsigned int temp; temp 425 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2SR); temp 428 drivers/i2c/busses/i2c-imx.c if (temp & I2SR_IAL) { temp 429 drivers/i2c/busses/i2c-imx.c temp &= ~I2SR_IAL; temp 430 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2SR); temp 434 drivers/i2c/busses/i2c-imx.c if (for_busy && (temp & I2SR_IBB)) { temp 438 drivers/i2c/busses/i2c-imx.c if (!for_busy && !(temp & I2SR_IBB)) { temp 535 drivers/i2c/busses/i2c-imx.c unsigned int temp = 0; temp 549 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 550 drivers/i2c/busses/i2c-imx.c temp |= I2CR_MSTA; temp 551 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 556 drivers/i2c/busses/i2c-imx.c temp |= I2CR_IIEN | I2CR_MTX | I2CR_TXAK; temp 557 drivers/i2c/busses/i2c-imx.c temp &= ~I2CR_DMAEN; temp 558 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 564 drivers/i2c/busses/i2c-imx.c unsigned int temp = 0; temp 569 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 570 drivers/i2c/busses/i2c-imx.c temp &= ~(I2CR_MSTA | I2CR_MTX); temp 572 drivers/i2c/busses/i2c-imx.c temp &= ~I2CR_DMAEN; temp 573 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 587 drivers/i2c/busses/i2c-imx.c temp = i2c_imx->hwdata->i2cr_ien_opcode ^ I2CR_IEN, temp 588 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 594 drivers/i2c/busses/i2c-imx.c unsigned int temp; temp 596 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2SR); temp 597 drivers/i2c/busses/i2c-imx.c if (temp & I2SR_IIF) { temp 599 drivers/i2c/busses/i2c-imx.c i2c_imx->i2csr = temp; temp 600 drivers/i2c/busses/i2c-imx.c temp &= ~I2SR_IIF; temp 601 drivers/i2c/busses/i2c-imx.c temp |= (i2c_imx->hwdata->i2sr_clr_opcode & I2SR_IIF); temp 602 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2SR); temp 615 drivers/i2c/busses/i2c-imx.c unsigned int temp = 0; temp 628 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 629 drivers/i2c/busses/i2c-imx.c temp |= I2CR_DMAEN; temp 630 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 647 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2SR); temp 648 drivers/i2c/busses/i2c-imx.c if (temp & I2SR_ICF) temp 658 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 659 drivers/i2c/busses/i2c-imx.c temp &= ~I2CR_DMAEN; temp 660 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 677 drivers/i2c/busses/i2c-imx.c unsigned int temp; temp 702 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2SR); temp 703 drivers/i2c/busses/i2c-imx.c if (temp & I2SR_ICF) temp 713 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 714 drivers/i2c/busses/i2c-imx.c temp &= ~I2CR_DMAEN; temp 715 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 718 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 719 drivers/i2c/busses/i2c-imx.c temp |= I2CR_TXAK; temp 720 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 734 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 735 drivers/i2c/busses/i2c-imx.c temp &= ~(I2CR_MSTA | I2CR_MTX); temp 736 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 746 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 747 drivers/i2c/busses/i2c-imx.c temp |= I2CR_MTX; temp 748 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 791 drivers/i2c/busses/i2c-imx.c unsigned int temp; temp 811 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 812 drivers/i2c/busses/i2c-imx.c temp &= ~I2CR_MTX; temp 819 drivers/i2c/busses/i2c-imx.c temp &= ~I2CR_TXAK; temp 821 drivers/i2c/busses/i2c-imx.c temp |= I2CR_DMAEN; temp 822 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 859 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 860 drivers/i2c/busses/i2c-imx.c temp &= ~(I2CR_MSTA | I2CR_MTX); temp 861 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 871 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 872 drivers/i2c/busses/i2c-imx.c temp |= I2CR_MTX; temp 873 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 878 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 879 drivers/i2c/busses/i2c-imx.c temp |= I2CR_TXAK; temp 880 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 896 drivers/i2c/busses/i2c-imx.c unsigned int i, temp; temp 927 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 928 drivers/i2c/busses/i2c-imx.c temp |= I2CR_RSTA; temp 929 drivers/i2c/busses/i2c-imx.c imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_I2CR); temp 938 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2CR); temp 942 drivers/i2c/busses/i2c-imx.c (temp & I2CR_IEN ? 1 : 0), (temp & I2CR_IIEN ? 1 : 0), temp 943 drivers/i2c/busses/i2c-imx.c (temp & I2CR_MSTA ? 1 : 0), (temp & I2CR_MTX ? 1 : 0), temp 944 drivers/i2c/busses/i2c-imx.c (temp & I2CR_TXAK ? 1 : 0), (temp & I2CR_RSTA ? 1 : 0)); temp 945 drivers/i2c/busses/i2c-imx.c temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2SR); temp 949 drivers/i2c/busses/i2c-imx.c (temp & I2SR_ICF ? 1 : 0), (temp & I2SR_IAAS ? 1 : 0), temp 950 drivers/i2c/busses/i2c-imx.c (temp & I2SR_IBB ? 1 : 0), (temp & I2SR_IAL ? 1 : 0), temp 951 drivers/i2c/busses/i2c-imx.c (temp & I2SR_SRW ? 1 : 0), (temp & I2SR_IIF ? 1 : 0), temp 952 drivers/i2c/busses/i2c-imx.c (temp & I2SR_RXAK ? 1 : 0)); temp 60 drivers/i2c/busses/i2c-isch.c int temp; temp 70 drivers/i2c/busses/i2c-isch.c temp = inb(SMBHSTSTS) & 0x0f; temp 71 drivers/i2c/busses/i2c-isch.c if (temp) { temp 73 drivers/i2c/busses/i2c-isch.c if (temp & 0x01) { temp 75 drivers/i2c/busses/i2c-isch.c "Clear...\n", temp); temp 77 drivers/i2c/busses/i2c-isch.c if (temp & 0x06) { temp 79 drivers/i2c/busses/i2c-isch.c "Resetting...\n", temp); temp 81 drivers/i2c/busses/i2c-isch.c outb(temp, SMBHSTSTS); temp 82 drivers/i2c/busses/i2c-isch.c temp = inb(SMBHSTSTS) & 0x0f; temp 83 drivers/i2c/busses/i2c-isch.c if (temp) { temp 85 drivers/i2c/busses/i2c-isch.c "SMBus is not ready: (%02x)\n", temp); temp 95 drivers/i2c/busses/i2c-isch.c temp = inb(SMBHSTSTS) & 0x0f; temp 96 drivers/i2c/busses/i2c-isch.c } while ((temp & 0x08) && (retries++ < MAX_RETRIES)); temp 103 drivers/i2c/busses/i2c-isch.c if (temp & 0x04) { temp 108 drivers/i2c/busses/i2c-isch.c } else if (temp & 0x02) { temp 111 drivers/i2c/busses/i2c-isch.c } else if (temp & 0x01) { temp 113 drivers/i2c/busses/i2c-isch.c outb(temp, SMBHSTSTS); temp 114 drivers/i2c/busses/i2c-isch.c temp = inb(SMBHSTSTS) & 0x07; temp 115 drivers/i2c/busses/i2c-isch.c if (temp & 0x06) { temp 118 drivers/i2c/busses/i2c-isch.c "transaction (%02x), Bus error!\n", temp); temp 142 drivers/i2c/busses/i2c-isch.c int i, len, temp, rc; temp 145 drivers/i2c/busses/i2c-isch.c temp = inb(SMBHSTSTS) & 0x0f; temp 146 drivers/i2c/busses/i2c-isch.c if (temp & 0x08) { temp 147 drivers/i2c/busses/i2c-isch.c dev_dbg(&sch_adapter.dev, "SMBus busy (%02x)\n", temp); temp 150 drivers/i2c/busses/i2c-isch.c temp = inw(SMBHSTCLK); temp 151 drivers/i2c/busses/i2c-isch.c if (!temp) { temp 138 drivers/i2c/busses/i2c-nforce2.c unsigned char temp; temp 145 drivers/i2c/busses/i2c-nforce2.c temp = inb_p(NVIDIA_SMB_STATUS_ABRT); temp 146 drivers/i2c/busses/i2c-nforce2.c } while (!(temp & NVIDIA_SMB_STATUS_ABRT_STS) && temp 148 drivers/i2c/busses/i2c-nforce2.c if (!(temp & NVIDIA_SMB_STATUS_ABRT_STS)) temp 157 drivers/i2c/busses/i2c-nforce2.c unsigned char temp; temp 161 drivers/i2c/busses/i2c-nforce2.c temp = inb_p(NVIDIA_SMB_STS); temp 162 drivers/i2c/busses/i2c-nforce2.c } while ((!temp) && (timeout++ < MAX_TIMEOUT)); temp 170 drivers/i2c/busses/i2c-nforce2.c if (!(temp & NVIDIA_SMB_STS_DONE) || (temp & NVIDIA_SMB_STS_STATUS)) { temp 171 drivers/i2c/busses/i2c-nforce2.c dev_dbg(&adap->dev, "Transaction failed (0x%02x)!\n", temp); temp 170 drivers/i2c/busses/i2c-piix4.c unsigned char temp; temp 218 drivers/i2c/busses/i2c-piix4.c pci_read_config_byte(PIIX4_dev, SMBHSTCFG, &temp); temp 223 drivers/i2c/busses/i2c-piix4.c pci_write_config_byte(PIIX4_dev, SMBHSTCFG, temp & 0xfe); temp 225 drivers/i2c/busses/i2c-piix4.c pci_write_config_byte(PIIX4_dev, SMBHSTCFG, temp | 0x01); temp 228 drivers/i2c/busses/i2c-piix4.c } else if ((temp & 1) == 0) { temp 239 drivers/i2c/busses/i2c-piix4.c temp | 1); temp 250 drivers/i2c/busses/i2c-piix4.c if (((temp & 0x0E) == 8) || ((temp & 0x0E) == 2)) temp 252 drivers/i2c/busses/i2c-piix4.c else if ((temp & 0x0E) == 0) temp 258 drivers/i2c/busses/i2c-piix4.c pci_read_config_byte(PIIX4_dev, SMBREV, &temp); temp 261 drivers/i2c/busses/i2c-piix4.c piix4_smba, temp); temp 441 drivers/i2c/busses/i2c-piix4.c int temp; temp 451 drivers/i2c/busses/i2c-piix4.c if ((temp = inb_p(SMBHSTSTS)) != 0x00) { temp 453 drivers/i2c/busses/i2c-piix4.c "Resetting...\n", temp); temp 454 drivers/i2c/busses/i2c-piix4.c outb_p(temp, SMBHSTSTS); temp 455 drivers/i2c/busses/i2c-piix4.c if ((temp = inb_p(SMBHSTSTS)) != 0x00) { temp 456 drivers/i2c/busses/i2c-piix4.c dev_err(&piix4_adapter->dev, "Failed! (%02x)\n", temp); temp 473 drivers/i2c/busses/i2c-piix4.c ((temp = inb_p(SMBHSTSTS)) & 0x01)) temp 482 drivers/i2c/busses/i2c-piix4.c if (temp & 0x10) { temp 487 drivers/i2c/busses/i2c-piix4.c if (temp & 0x08) { temp 494 drivers/i2c/busses/i2c-piix4.c if (temp & 0x04) { temp 502 drivers/i2c/busses/i2c-piix4.c if ((temp = inb_p(SMBHSTSTS)) != 0x00) { temp 504 drivers/i2c/busses/i2c-piix4.c "transaction (%02x)\n", temp); temp 266 drivers/i2c/busses/i2c-qcom-geni.c u32 temp; temp 271 drivers/i2c/busses/i2c-qcom-geni.c temp = cur->buf[gi2c->cur_wr++]; temp 272 drivers/i2c/busses/i2c-qcom-geni.c val |= temp << (p * 8); temp 219 drivers/i2c/busses/i2c-sis5595.c int temp; temp 224 drivers/i2c/busses/i2c-sis5595.c temp = sis5595_read(SMB_STS_LO) + (sis5595_read(SMB_STS_HI) << 8); temp 225 drivers/i2c/busses/i2c-sis5595.c if (temp != 0x00) { temp 226 drivers/i2c/busses/i2c-sis5595.c dev_dbg(&adap->dev, "SMBus busy (%04x). Resetting...\n", temp); temp 227 drivers/i2c/busses/i2c-sis5595.c sis5595_write(SMB_STS_LO, temp & 0xff); temp 228 drivers/i2c/busses/i2c-sis5595.c sis5595_write(SMB_STS_HI, temp >> 8); temp 229 drivers/i2c/busses/i2c-sis5595.c if ((temp = sis5595_read(SMB_STS_LO) + (sis5595_read(SMB_STS_HI) << 8)) != 0x00) { temp 230 drivers/i2c/busses/i2c-sis5595.c dev_dbg(&adap->dev, "Failed! (%02x)\n", temp); temp 243 drivers/i2c/busses/i2c-sis5595.c temp = sis5595_read(SMB_STS_LO); temp 244 drivers/i2c/busses/i2c-sis5595.c } while (!(temp & 0x40) && (timeout++ < MAX_TIMEOUT)); temp 252 drivers/i2c/busses/i2c-sis5595.c if (temp & 0x10) { temp 257 drivers/i2c/busses/i2c-sis5595.c if (temp & 0x20) { temp 264 drivers/i2c/busses/i2c-sis5595.c temp = sis5595_read(SMB_STS_LO) + (sis5595_read(SMB_STS_HI) << 8); temp 265 drivers/i2c/busses/i2c-sis5595.c if (temp != 0x00) { temp 266 drivers/i2c/busses/i2c-sis5595.c sis5595_write(SMB_STS_LO, temp & 0xff); temp 267 drivers/i2c/busses/i2c-sis5595.c sis5595_write(SMB_STS_HI, temp >> 8); temp 270 drivers/i2c/busses/i2c-sis5595.c temp = sis5595_read(SMB_STS_LO) + (sis5595_read(SMB_STS_HI) << 8); temp 271 drivers/i2c/busses/i2c-sis5595.c if (temp != 0x00) temp 272 drivers/i2c/busses/i2c-sis5595.c dev_dbg(&adap->dev, "Failed reset at end of transaction (%02x)\n", temp); temp 124 drivers/i2c/busses/i2c-sis630.c int temp; temp 127 drivers/i2c/busses/i2c-sis630.c temp = sis630_read(SMB_CNT); temp 128 drivers/i2c/busses/i2c-sis630.c if ((temp & (SMB_PROBE | SMB_HOSTBUSY)) != 0x00) { temp 129 drivers/i2c/busses/i2c-sis630.c dev_dbg(&adap->dev, "SMBus busy (%02x). Resetting...\n", temp); temp 133 drivers/i2c/busses/i2c-sis630.c temp = sis630_read(SMB_CNT); temp 134 drivers/i2c/busses/i2c-sis630.c if (temp & (SMB_PROBE | SMB_HOSTBUSY)) { temp 135 drivers/i2c/busses/i2c-sis630.c dev_dbg(&adap->dev, "Failed! (%02x)\n", temp); temp 155 drivers/i2c/busses/i2c-sis630.c temp = sis630_read(SMB_STS); temp 156 drivers/i2c/busses/i2c-sis630.c sis630_write(SMB_STS, temp & 0x1e); temp 166 drivers/i2c/busses/i2c-sis630.c int temp, result = 0, timeout = 0; temp 171 drivers/i2c/busses/i2c-sis630.c temp = sis630_read(SMB_STS); temp 173 drivers/i2c/busses/i2c-sis630.c if (size == SIS630_BLOCK_DATA && (temp & BYTE_DONE_STS)) temp 175 drivers/i2c/busses/i2c-sis630.c } while (!(temp & 0x0e) && (timeout++ < MAX_TIMEOUT)); temp 183 drivers/i2c/busses/i2c-sis630.c if (temp & SMBERR_STS) { temp 188 drivers/i2c/busses/i2c-sis630.c if (temp & SMBCOL_STS) { temp 81 drivers/i2c/busses/i2c-sis96x.c int temp; temp 88 drivers/i2c/busses/i2c-sis96x.c if (((temp = sis96x_read(SMB_CNT)) & 0x03) != 0x00) { temp 91 drivers/i2c/busses/i2c-sis96x.c "Resetting...\n", temp); temp 97 drivers/i2c/busses/i2c-sis96x.c if (((temp = sis96x_read(SMB_CNT)) & 0x03) != 0x00) { temp 98 drivers/i2c/busses/i2c-sis96x.c dev_dbg(&sis96x_adapter.dev, "Failed (0x%02x)\n", temp); temp 109 drivers/i2c/busses/i2c-sis96x.c temp = sis96x_read(SMB_STS); temp 110 drivers/i2c/busses/i2c-sis96x.c sis96x_write(SMB_STS, temp & 0x1e); temp 118 drivers/i2c/busses/i2c-sis96x.c temp = sis96x_read(SMB_STS); temp 119 drivers/i2c/busses/i2c-sis96x.c } while (!(temp & 0x0e) && (timeout++ < MAX_TIMEOUT)); temp 123 drivers/i2c/busses/i2c-sis96x.c dev_dbg(&sis96x_adapter.dev, "SMBus Timeout! (0x%02x)\n", temp); temp 128 drivers/i2c/busses/i2c-sis96x.c if (temp & 0x02) { temp 134 drivers/i2c/busses/i2c-sis96x.c if (temp & 0x04) { temp 140 drivers/i2c/busses/i2c-sis96x.c sis96x_write(SMB_STS, temp); temp 141 drivers/i2c/busses/i2c-sis96x.c if ((temp = sis96x_read(SMB_STS))) { temp 143 drivers/i2c/busses/i2c-sis96x.c "end of transaction! (0x%02x)\n", temp); temp 130 drivers/i2c/busses/i2c-viapro.c int temp; temp 137 drivers/i2c/busses/i2c-viapro.c if ((temp = inb_p(SMBHSTSTS)) & 0x1F) { temp 139 drivers/i2c/busses/i2c-viapro.c "Resetting...\n", temp); temp 141 drivers/i2c/busses/i2c-viapro.c outb_p(temp, SMBHSTSTS); temp 142 drivers/i2c/busses/i2c-viapro.c if ((temp = inb_p(SMBHSTSTS)) & 0x1F) { temp 144 drivers/i2c/busses/i2c-viapro.c "(0x%02x)\n", temp); temp 155 drivers/i2c/busses/i2c-viapro.c temp = inb_p(SMBHSTSTS); temp 156 drivers/i2c/busses/i2c-viapro.c } while ((temp & 0x01) && (++timeout < MAX_TIMEOUT)); temp 164 drivers/i2c/busses/i2c-viapro.c if (temp & 0x10) { temp 170 drivers/i2c/busses/i2c-viapro.c if (temp & 0x08) { temp 175 drivers/i2c/busses/i2c-viapro.c if (temp & 0x04) { temp 181 drivers/i2c/busses/i2c-viapro.c if (temp & 0x1F) temp 182 drivers/i2c/busses/i2c-viapro.c outb_p(temp, SMBHSTSTS); temp 314 drivers/i2c/busses/i2c-viapro.c unsigned char temp; temp 358 drivers/i2c/busses/i2c-viapro.c pci_read_config_byte(pdev, SMBHSTCFG, &temp); temp 362 drivers/i2c/busses/i2c-viapro.c pci_write_config_byte(pdev, SMBHSTCFG, temp & 0xfe); temp 364 drivers/i2c/busses/i2c-viapro.c pci_write_config_byte(pdev, SMBHSTCFG, temp | 0x01); temp 367 drivers/i2c/busses/i2c-viapro.c } else if (!(temp & 0x01)) { temp 375 drivers/i2c/busses/i2c-viapro.c pci_write_config_byte(pdev, SMBHSTCFG, temp | 0x01); temp 315 drivers/i2c/i2c-dev.c union i2c_smbus_data temp = {}; temp 371 drivers/i2c/i2c-dev.c if (copy_from_user(&temp, data, datasize)) temp 379 drivers/i2c/i2c-dev.c temp.block[0] = I2C_SMBUS_BLOCK_MAX; temp 382 drivers/i2c/i2c-dev.c read_write, command, size, &temp); temp 386 drivers/i2c/i2c-dev.c if (copy_to_user(data, &temp, datasize)) temp 928 drivers/ide/hpt366.c u32 temp = 0; temp 969 drivers/ide/hpt366.c temp = inl(io_base + 0x90); temp 972 drivers/ide/hpt366.c temp = inl(io_base + 0x90); temp 979 drivers/ide/hpt366.c if ((temp & 0xFFFFF000) != 0xABCDE000) { temp 986 drivers/ide/hpt366.c for (temp = i = 0; i < 128; i++) { temp 988 drivers/ide/hpt366.c temp += f_cnt & 0x1ff; temp 991 drivers/ide/hpt366.c f_cnt = temp / 128; temp 993 drivers/ide/hpt366.c f_cnt = temp & 0x1ff; temp 206 drivers/iio/adc/berlin2-adc.c int temp; temp 222 drivers/iio/adc/berlin2-adc.c temp = berlin2_adc_tsen_read(indio_dev); temp 223 drivers/iio/adc/berlin2-adc.c if (temp < 0) temp 224 drivers/iio/adc/berlin2-adc.c return temp; temp 226 drivers/iio/adc/berlin2-adc.c if (temp > 2047) temp 227 drivers/iio/adc/berlin2-adc.c temp -= 4096; temp 230 drivers/iio/adc/berlin2-adc.c *val = ((temp * 100000) / 264 - 270000); temp 116 drivers/iio/adc/mcp3422.c u32 temp; temp 120 drivers/iio/adc/mcp3422.c temp = buf[0] << 16 | buf[1] << 8 | buf[2]; temp 124 drivers/iio/adc/mcp3422.c temp = buf[0] << 8 | buf[1]; temp 128 drivers/iio/adc/mcp3422.c *value = sign_extend32(temp, mcp3422_sign_extend[sample_rate]); temp 194 drivers/iio/adc/mcp3422.c u8 temp; temp 222 drivers/iio/adc/mcp3422.c temp = MCP3422_SRATE_240; temp 225 drivers/iio/adc/mcp3422.c temp = MCP3422_SRATE_60; temp 228 drivers/iio/adc/mcp3422.c temp = MCP3422_SRATE_15; temp 233 drivers/iio/adc/mcp3422.c temp = MCP3422_SRATE_3; temp 242 drivers/iio/adc/mcp3422.c config |= MCP3422_SAMPLE_RATE_VALUE(temp); temp 227 drivers/iio/adc/qcom-vadc-common.c u64 temp; /* Temporary variable for do_div */ temp 232 drivers/iio/adc/qcom-vadc-common.c temp = voltage * prescale->den; temp 233 drivers/iio/adc/qcom-vadc-common.c do_div(temp, prescale->num * 2); temp 234 drivers/iio/adc/qcom-vadc-common.c voltage = temp; temp 269 drivers/iio/adc/qcom-vadc-common.c s64 voltage, temp, adc_vdd_ref_mv = 1875; temp 285 drivers/iio/adc/qcom-vadc-common.c temp = prescale->num * factor; temp 286 drivers/iio/adc/qcom-vadc-common.c voltage = div64_s64(voltage, temp); temp 415 drivers/iio/adc/sun4i-gpadc-iio.c static int sun4i_gpadc_get_temp(void *data, int *temp) temp 426 drivers/iio/adc/sun4i-gpadc-iio.c *temp = (val + offset) * scale; temp 332 drivers/iio/adc/twl4030-madc.c int temp, curr, volt, res, ret; temp 345 drivers/iio/adc/twl4030-madc.c for (temp = 58; temp >= 0; temp--) { temp 346 drivers/iio/adc/twl4030-madc.c int actual = twl4030_therm_tbl[temp]; temp 351 drivers/iio/adc/twl4030-madc.c return temp + 1; temp 603 drivers/iio/adc/twl6030-gpadc.c __u32 temp = ((d & 0x7f) >> 1) | ((d & 1) << 6); temp 605 drivers/iio/adc/twl6030-gpadc.c return sign_extend32(temp, 6); temp 697 drivers/iio/adc/twl6030-gpadc.c int chn, d1 = 0, d2 = 0, temp; temp 732 drivers/iio/adc/twl6030-gpadc.c temp = twl6032_get_trim_value(trim_regs, 2, 0, 0x1f, temp 734 drivers/iio/adc/twl6030-gpadc.c d1 = temp + twl6032_get_trim_value(trim_regs, 7, 6, temp 737 drivers/iio/adc/twl6030-gpadc.c temp = twl6032_get_trim_value(trim_regs, 3, 1, 0x3F, temp 739 drivers/iio/adc/twl6030-gpadc.c d2 = temp + twl6032_get_trim_value(trim_regs, 9, 7, temp 743 drivers/iio/adc/twl6030-gpadc.c temp = twl6032_get_trim_value(trim_regs, 2, 0, 0x1f, temp 745 drivers/iio/adc/twl6030-gpadc.c d1 = temp + twl6032_get_trim_value(trim_regs, 13, 11, temp 748 drivers/iio/adc/twl6030-gpadc.c temp = twl6032_get_trim_value(trim_regs, 3, 1, 0x3f, temp 750 drivers/iio/adc/twl6030-gpadc.c d2 = temp + twl6032_get_trim_value(trim_regs, 15, 13, temp 761 drivers/iio/adc/twl6030-gpadc.c temp = twl6032_get_trim_value(trim_regs, 2, 0, 0x1f, temp 767 drivers/iio/adc/twl6030-gpadc.c d1 += temp; temp 769 drivers/iio/adc/twl6030-gpadc.c temp = twl6032_get_trim_value(trim_regs, 3, 1, 0x3f, temp 776 drivers/iio/adc/twl6030-gpadc.c d2 += temp; temp 457 drivers/iio/chemical/bme680_core.c static u8 bme680_calc_heater_res(struct bme680_data *data, u16 temp) temp 463 drivers/iio/chemical/bme680_core.c if (temp > 400) /* Cap temperature */ temp 464 drivers/iio/chemical/bme680_core.c temp = 400; temp 468 drivers/iio/chemical/bme680_core.c temp * 5) / 100) temp 172 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_offset.temp = temp 187 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.param.sensor_scale.temp = temp 578 drivers/iio/common/ms_sensors/ms_sensors_i2c.c s32 dt, temp; temp 609 drivers/iio/common/ms_sensors/ms_sensors_i2c.c temp = 2000 + (((s64)dt * prom[6]) >> 23); temp 612 drivers/iio/common/ms_sensors/ms_sensors_i2c.c if (temp < 2000) { temp 613 drivers/iio/common/ms_sensors/ms_sensors_i2c.c s64 tmp = (s64)temp - 2000; temp 619 drivers/iio/common/ms_sensors/ms_sensors_i2c.c if (temp < -1500) { temp 620 drivers/iio/common/ms_sensors/ms_sensors_i2c.c s64 tmp = (s64)temp + 1500; temp 640 drivers/iio/common/ms_sensors/ms_sensors_i2c.c *temperature = (temp - t2) * 10; temp 74 drivers/iio/gyro/adis16130.c u32 temp; temp 80 drivers/iio/gyro/adis16130.c ret = adis16130_spi_read(indio_dev, chan->address, &temp); temp 84 drivers/iio/gyro/adis16130.c *val = temp; temp 325 drivers/iio/gyro/fxas21002c_core.c unsigned int temp; temp 333 drivers/iio/gyro/fxas21002c_core.c ret = regmap_field_read(data->regmap_fields[F_TEMP], &temp); temp 339 drivers/iio/gyro/fxas21002c_core.c *val = sign_extend32(temp, 7); temp 39 drivers/iio/humidity/si7005.c static int si7005_read_measurement(struct si7005_data *data, bool temp) temp 48 drivers/iio/humidity/si7005.c (temp ? SI7005_CONFIG_TEMP : 0)); temp 599 drivers/iio/imu/adis16480.c unsigned int temp; temp 640 drivers/iio/imu/adis16480.c temp = 25 * 1000000LL; /* 25 degree Celsius = 0x0000 */ temp 641 drivers/iio/imu/adis16480.c *val = DIV_ROUND_CLOSEST_ULL(temp, st->chip_info->temp_scale); temp 118 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c .temp = {INV_MPU6050_TEMP_OFFSET, INV_MPU6050_TEMP_SCALE}, temp 126 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c .temp = {INV_MPU6500_TEMP_OFFSET, INV_MPU6500_TEMP_SCALE}, temp 134 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c .temp = {INV_MPU6500_TEMP_OFFSET, INV_MPU6500_TEMP_SCALE}, temp 142 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c .temp = {INV_MPU6050_TEMP_OFFSET, INV_MPU6050_TEMP_SCALE}, temp 150 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c .temp = {INV_MPU6050_TEMP_OFFSET, INV_MPU6050_TEMP_SCALE}, temp 158 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c .temp = {INV_MPU6500_TEMP_OFFSET, INV_MPU6500_TEMP_SCALE}, temp 166 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c .temp = {INV_MPU6500_TEMP_OFFSET, INV_MPU6500_TEMP_SCALE}, temp 174 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c .temp = {INV_ICM20608_TEMP_OFFSET, INV_ICM20608_TEMP_SCALE}, temp 182 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c .temp = {INV_ICM20608_TEMP_OFFSET, INV_ICM20608_TEMP_SCALE}, temp 483 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c *val = st->hw->temp.scale / 1000000; temp 484 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c *val2 = st->hw->temp.scale % 1000000; temp 492 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c *val = st->hw->temp.offset; temp 115 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h } temp; temp 143 drivers/iio/light/cros_ec_light_prox.c st->core.param.sensor_offset.temp = temp 44 drivers/iio/pressure/hp03.c s32 temp; /* Deg. C */ temp 151 drivers/iio/pressure/hp03.c priv->temp = 250 + ((dut * cx_val[5]) >> 16) - (dut >> coefs[17]); temp 181 drivers/iio/pressure/hp03.c *val = priv->temp; temp 32 drivers/iio/pressure/ms5611.h s32 *temp, s32 *pressure); temp 56 drivers/iio/pressure/ms5611.h s32 *temp, s32 *pressure); temp 106 drivers/iio/pressure/ms5611_core.c s32 *temp, s32 *pressure) temp 111 drivers/iio/pressure/ms5611_core.c ret = st->read_adc_temp_and_pressure(&indio_dev->dev, temp, pressure); temp 119 drivers/iio/pressure/ms5611_core.c temp, pressure); temp 123 drivers/iio/pressure/ms5611_core.c s32 *temp, s32 *pressure) temp 125 drivers/iio/pressure/ms5611_core.c s32 t = *temp, p = *pressure; temp 152 drivers/iio/pressure/ms5611_core.c *temp = t; temp 159 drivers/iio/pressure/ms5611_core.c s32 *temp, s32 *pressure) temp 161 drivers/iio/pressure/ms5611_core.c s32 t = *temp, p = *pressure; temp 188 drivers/iio/pressure/ms5611_core.c *temp = t; temp 238 drivers/iio/pressure/ms5611_core.c s32 temp, pressure; temp 245 drivers/iio/pressure/ms5611_core.c &temp, &pressure); temp 252 drivers/iio/pressure/ms5611_core.c *val = temp * 10; temp 59 drivers/iio/pressure/ms5611_i2c.c s32 *temp, s32 *pressure) temp 70 drivers/iio/pressure/ms5611_i2c.c ret = ms5611_i2c_read_adc(st, temp); temp 54 drivers/iio/pressure/ms5611_spi.c s32 *temp, s32 *pressure) temp 69 drivers/iio/pressure/ms5611_spi.c ret = ms5611_spi_read_adc(dev, temp); temp 756 drivers/iio/proximity/isl29501.c u32 temp; temp 767 drivers/iio/proximity/isl29501.c temp = do_div(freq, 1000000); temp 769 drivers/iio/proximity/isl29501.c *val2 = temp; temp 410 drivers/iio/temperature/mlx90632.c s64 temp = 25000; temp 419 drivers/iio/temperature/mlx90632.c temp = mlx90632_calc_temp_object_iteration(temp, object, TAdut, temp 423 drivers/iio/temperature/mlx90632.c return temp; temp 50 drivers/iio/temperature/tsys01.c s64 temp = 0; temp 65 drivers/iio/temperature/tsys01.c temp += coeff_mul[i] * temp 67 drivers/iio/temperature/tsys01.c temp *= (s64)adc; temp 68 drivers/iio/temperature/tsys01.c temp = div64_s64(temp, 100000); temp 70 drivers/iio/temperature/tsys01.c temp *= 10; temp 71 drivers/iio/temperature/tsys01.c temp += coeff_mul[0] * (s64)dev_data->prom[5]; temp 72 drivers/iio/temperature/tsys01.c temp = div64_s64(temp, 100000); temp 74 drivers/iio/temperature/tsys01.c *temperature = temp; temp 85 drivers/infiniband/hw/bnxt_re/qplib_sp.c u32 temp; temp 160 drivers/infiniband/hw/bnxt_re/qplib_sp.c temp = le32_to_cpu(sb->tqm_alloc_reqs[i]); temp 161 drivers/infiniband/hw/bnxt_re/qplib_sp.c tqm_alloc = (u8 *)&temp; temp 13028 drivers/infiniband/hw/hfi1/chip.c int hfi1_tempsense_rd(struct hfi1_devdata *dd, struct hfi1_temp *temp) temp 13040 drivers/infiniband/hw/hfi1/chip.c temp->curr = ((reg >> ASIC_STS_THERM_CURR_TEMP_SHIFT) & temp 13042 drivers/infiniband/hw/hfi1/chip.c temp->lo_lim = ((reg >> ASIC_STS_THERM_LO_TEMP_SHIFT) & temp 13044 drivers/infiniband/hw/hfi1/chip.c temp->hi_lim = ((reg >> ASIC_STS_THERM_HI_TEMP_SHIFT) & temp 13046 drivers/infiniband/hw/hfi1/chip.c temp->crit_lim = ((reg >> ASIC_STS_THERM_CRIT_TEMP_SHIFT) & temp 13049 drivers/infiniband/hw/hfi1/chip.c temp->triggers = (u8)((reg >> ASIC_STS_THERM_LOW_SHIFT) & 0x7); temp 2306 drivers/infiniband/hw/hfi1/hfi.h int hfi1_tempsense_rd(struct hfi1_devdata *dd, struct hfi1_temp *temp); temp 262 drivers/infiniband/hw/hfi1/pio_copy.c u64 new, temp; temp 265 drivers/infiniband/hw/hfi1/pio_copy.c temp = pbuf->carry.val64 | (new << mshift(pbuf->carry_bytes)); temp 266 drivers/infiniband/hw/hfi1/pio_copy.c writeq(temp, dest); temp 208 drivers/infiniband/hw/hfi1/platform.c u32 temp; temp 211 drivers/infiniband/hw/hfi1/platform.c PORT_TABLE_PORT_TYPE, &temp, temp 217 drivers/infiniband/hw/hfi1/platform.c ppd->port_type = temp; temp 601 drivers/infiniband/hw/hfi1/sysfs.c #define temp2str(temp, buf, size, idx) \ temp 603 drivers/infiniband/hw/hfi1/sysfs.c ((temp) >> 2), ((temp) & 0x3) * 25) temp 614 drivers/infiniband/hw/hfi1/sysfs.c struct hfi1_temp temp; temp 617 drivers/infiniband/hw/hfi1/sysfs.c ret = hfi1_tempsense_rd(dd, &temp); temp 621 drivers/infiniband/hw/hfi1/sysfs.c idx += temp2str(temp.curr, buf, PAGE_SIZE, idx); temp 622 drivers/infiniband/hw/hfi1/sysfs.c idx += temp2str(temp.lo_lim, buf, PAGE_SIZE, idx); temp 623 drivers/infiniband/hw/hfi1/sysfs.c idx += temp2str(temp.hi_lim, buf, PAGE_SIZE, idx); temp 624 drivers/infiniband/hw/hfi1/sysfs.c idx += temp2str(temp.crit_lim, buf, PAGE_SIZE, idx); temp 626 drivers/infiniband/hw/hfi1/sysfs.c "%u %u %u\n", temp.triggers & 0x1, temp 627 drivers/infiniband/hw/hfi1/sysfs.c temp.triggers & 0x2, temp.triggers & 0x4); temp 139 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp; temp 154 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(buf, j, &temp); temp 155 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info[i].base = RS_64_1(temp, 32) * 512; temp 165 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info[i].cnt = (u32)RS_64(temp, I40IW_QUERY_FPM_MAX_QPS); temp 167 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info[i].cnt = (u32)RS_64(temp, I40IW_QUERY_FPM_MAX_CQS); temp 169 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info[i].cnt = (u32)(temp); temp 194 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp; temp 197 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(buf, buf_idx, &temp); temp 198 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[rsrc_idx].max_cnt = (u32)temp; temp 199 drivers/infiniband/hw/i40iw/i40iw_ctrl.c size = (u32)RS_64_1(temp, 32); temp 202 drivers/infiniband/hw/i40iw/i40iw_ctrl.c return temp; temp 220 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp; temp 226 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(buf, 0, &temp); temp 227 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->first_sd_index = (u16)RS_64(temp, I40IW_QUERY_FPM_FIRST_PE_SD_INDEX); temp 228 drivers/infiniband/hw/i40iw/i40iw_ctrl.c max_pe_sds = (u16)RS_64(temp, I40IW_QUERY_FPM_MAX_PE_SDS); temp 236 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(buf, 8, &temp); temp 237 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_QP].max_cnt = (u32)RS_64(temp, I40IW_QUERY_FPM_MAX_QPS); temp 238 drivers/infiniband/hw/i40iw/i40iw_ctrl.c size = (u32)RS_64_1(temp, 32); temp 241 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(buf, 16, &temp); temp 242 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_CQ].max_cnt = (u32)RS_64(temp, I40IW_QUERY_FPM_MAX_CQS); temp 243 drivers/infiniband/hw/i40iw/i40iw_ctrl.c size = (u32)RS_64_1(temp, 32); temp 255 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(buf, 64, &temp); temp 256 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_XFFL].max_cnt = (u32)temp; temp 258 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_fpm_misc->xf_block_size = RS_64(temp, I40IW_QUERY_FPM_XFBLOCKSIZE); temp 264 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(buf, 80, &temp); temp 265 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_Q1FL].max_cnt = (u32)temp; temp 267 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_fpm_misc->q1_block_size = RS_64(temp, I40IW_QUERY_FPM_Q1BLOCKSIZE); temp 273 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(buf, 112, &temp); temp 274 drivers/infiniband/hw/i40iw/i40iw_ctrl.c obj_info[I40IW_HMC_IW_PBLE].max_cnt = (u32)temp; temp 277 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(buf, 120, &temp); temp 278 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_fpm_misc->max_ceqs = (u8)RS_64(temp, I40IW_QUERY_FPM_MAX_CEQS); temp 279 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_fpm_misc->ht_multiplier = RS_64(temp, I40IW_QUERY_FPM_HTMULTIPLIER); temp 280 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_fpm_misc->timer_bucket = RS_64(temp, I40IW_QUERY_FPM_TIMERBUCKET); temp 507 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp; temp 522 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = LS_64(cqp->hw_sq_size, I40IW_CQPHC_SQSIZE) | temp 525 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(cqp->host_ctx, 0, temp); temp 527 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = LS_64(cqp->enabled_vf_count, I40IW_CQPHC_ENABLED_VFS) | temp 529 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(cqp->host_ctx, 16, temp); temp 723 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 qp_ctx, temp, temp1; temp 735 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(cqe, 24, &temp); temp 736 drivers/infiniband/hw/i40iw/i40iw_ctrl.c polarity = (u8)RS_64(temp, I40IW_CQ_VALID); temp 742 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->error = (bool)RS_64(temp, I40IW_CQ_ERROR); temp 743 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->min_err_code = (u16)RS_64(temp, I40IW_CQ_MINERR); temp 745 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->maj_err_code = (u16)RS_64(temp, I40IW_CQ_MAJERR); temp 746 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->min_err_code = (u16)RS_64(temp, I40IW_CQ_MINERR); temp 748 drivers/infiniband/hw/i40iw/i40iw_ctrl.c wqe_idx = (u32)RS_64(temp, I40IW_CQ_WQEIDX); temp 1101 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp, header; temp 1108 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = info->mac_addr[5] | temp 1115 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 16, temp); temp 1262 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp; temp 1269 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = info->mac_addr[5] | temp 1276 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 0, temp); temp 1318 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = LS_64(cqp->polarity, I40IW_CQPSQ_QHASH_WQEVALID) | temp 1325 drivers/infiniband/hw/i40iw/i40iw_ctrl.c i40iw_insert_wqe_hdr(wqe, temp); temp 1377 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp, header; temp 1382 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = info->mac_addr[5] | temp 1389 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 32, temp); temp 1634 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp; temp 1640 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(ceqe, 0, &temp); temp 1641 drivers/infiniband/hw/i40iw/i40iw_ctrl.c polarity = (u8)RS_64(temp, I40IW_CEQE_VALID); temp 1645 drivers/infiniband/hw/i40iw/i40iw_ctrl.c cq = (struct i40iw_sc_cq *)(unsigned long)LS_64_1(temp, 1); temp 1773 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp, compl_ctx; temp 1781 drivers/infiniband/hw/i40iw/i40iw_ctrl.c get_64bit_val(aeqe, 8, &temp); temp 1782 drivers/infiniband/hw/i40iw/i40iw_ctrl.c polarity = (u8)RS_64(temp, I40IW_AEQE_VALID); temp 1789 drivers/infiniband/hw/i40iw/i40iw_ctrl.c ae_src = (u8)RS_64(temp, I40IW_AEQE_AESRC); temp 1790 drivers/infiniband/hw/i40iw/i40iw_ctrl.c wqe_idx = (u16)RS_64(temp, I40IW_AEQE_WQDESCIDX); temp 1791 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->qp_cq_id = (u32)RS_64(temp, I40IW_AEQE_QPCQID); temp 1792 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->ae_id = (u16)RS_64(temp, I40IW_AEQE_AECODE); temp 1793 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->tcp_state = (u8)RS_64(temp, I40IW_AEQE_TCPSTATE); temp 1794 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->iwarp_state = (u8)RS_64(temp, I40IW_AEQE_IWSTATE); temp 1795 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->q2_data_written = (u8)RS_64(temp, I40IW_AEQE_Q2DATA); temp 1796 drivers/infiniband/hw/i40iw/i40iw_ctrl.c info->aeqe_overflow = (bool)RS_64(temp, I40IW_AEQE_OVERFLOW); temp 2603 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp = 0; temp 2626 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp |= LS_64(info->rq_minor_code, I40IW_CQPSQ_FWQE_RQMNERR) | temp 2630 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp |= LS_64(info->sq_minor_code, I40IW_CQPSQ_FWQE_SQMNERR) | temp 2634 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 16, temp); temp 2636 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = (info->generate_ae) ? temp 2639 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 8, temp); temp 2672 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp; temp 2682 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = info->ae_code | temp 2685 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 8, temp); temp 2998 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp; temp 3023 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = (info->addr_type == I40IW_ADDR_TYPE_VA_BASED) ? (uintptr_t)info->va : info->fbo; temp 3024 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 0, temp); temp 3082 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp, va64, fbo, header; temp 3107 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = LS_64(info->new_stag_key, I40IW_CQPSQ_STAG_KEY) | temp 3110 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 16, temp); temp 3261 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u64 temp, header; temp 3275 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = (info->addr_type == I40IW_ADDR_TYPE_VA_BASED) ? (uintptr_t)info->va : info->fbo; temp 3276 drivers/infiniband/hw/i40iw/i40iw_ctrl.c set_64bit_val(wqe, 0, temp); temp 3278 drivers/infiniband/hw/i40iw/i40iw_ctrl.c temp = RS_64(info->first_pm_pbl_index >> 16, I40IWQPSQ_FIRSTPMPBLIDXHI); temp 3281 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(temp, I40IWQPSQ_FIRSTPMPBLIDXHI) | temp 89 drivers/infiniband/hw/i40iw/i40iw_uk.c u64 temp; temp 96 drivers/infiniband/hw/i40iw/i40iw_uk.c get_64bit_val(qp->shadow_area, 0, &temp); temp 98 drivers/infiniband/hw/i40iw/i40iw_uk.c hw_sq_tail = (u32)RS_64(temp, I40IW_QP_DBSA_HW_SQ_TAIL); temp 1095 drivers/infiniband/hw/i40iw/i40iw_uk.c u8 polarity, temp; temp 1098 drivers/infiniband/hw/i40iw/i40iw_uk.c temp = cq->polarity; temp 1107 drivers/infiniband/hw/i40iw/i40iw_uk.c if (polarity != temp) temp 1116 drivers/infiniband/hw/i40iw/i40iw_uk.c temp ^= 1; temp 57 drivers/infiniband/hw/i40iw/i40iw_vf.c u64 temp, header, pd_pl_pba = 0; temp 63 drivers/infiniband/hw/i40iw/i40iw_vf.c temp = LS_64(info->pd_entry_cnt, I40IW_CQPSQ_MVPBP_PD_ENTRY_CNT) | temp 66 drivers/infiniband/hw/i40iw/i40iw_vf.c set_64bit_val(wqe, 16, temp); temp 391 drivers/input/rmi4/rmi_f01.c u8 temp; temp 450 drivers/input/rmi4/rmi_f01.c error = rmi_read(rmi_dev, fn->fd.data_base_addr + 1, &temp); temp 184 drivers/input/touchscreen/sun4i-ts.c static int sun4i_get_temp(const struct sun4i_ts_data *ts, int *temp) temp 190 drivers/input/touchscreen/sun4i-ts.c *temp = ts->temp_data * ts->temp_step - ts->temp_offset; temp 195 drivers/input/touchscreen/sun4i-ts.c static int sun4i_get_tz_temp(void *data, int *temp) temp 197 drivers/input/touchscreen/sun4i-ts.c return sun4i_get_temp(data, temp); temp 208 drivers/input/touchscreen/sun4i-ts.c int temp; temp 211 drivers/input/touchscreen/sun4i-ts.c error = sun4i_get_temp(ts, &temp); temp 215 drivers/input/touchscreen/sun4i-ts.c return sprintf(buf, "%d\n", temp); temp 600 drivers/interconnect/qcom/sdm845.c u64 temp; temp 604 drivers/interconnect/qcom/sdm845.c temp = bcm->nodes[i]->sum_avg[bucket] * bcm->aux_data.width; temp 605 drivers/interconnect/qcom/sdm845.c do_div(temp, bcm->nodes[i]->buswidth * bcm->nodes[i]->channels); temp 606 drivers/interconnect/qcom/sdm845.c agg_avg[bucket] = max(agg_avg[bucket], temp); temp 608 drivers/interconnect/qcom/sdm845.c temp = bcm->nodes[i]->max_peak[bucket] * bcm->aux_data.width; temp 609 drivers/interconnect/qcom/sdm845.c do_div(temp, bcm->nodes[i]->buswidth); temp 610 drivers/interconnect/qcom/sdm845.c agg_peak[bucket] = max(agg_peak[bucket], temp); temp 613 drivers/interconnect/qcom/sdm845.c temp = agg_avg[bucket] * 1000ULL; temp 614 drivers/interconnect/qcom/sdm845.c do_div(temp, bcm->aux_data.unit); temp 615 drivers/interconnect/qcom/sdm845.c bcm->vote_x[bucket] = temp; temp 617 drivers/interconnect/qcom/sdm845.c temp = agg_peak[bucket] * 1000ULL; temp 618 drivers/interconnect/qcom/sdm845.c do_div(temp, bcm->aux_data.unit); temp 619 drivers/interconnect/qcom/sdm845.c bcm->vote_y[bucket] = temp; temp 3223 drivers/iommu/intel-iommu.c u32 temp = 2 << ecap_pss(iommu->ecap); temp 3225 drivers/iommu/intel-iommu.c intel_pasid_max_id = min_t(u32, temp, temp 1934 drivers/isdn/hardware/mISDN/hfcmulti.c int i, ii, temp, len = 0; temp 1988 drivers/isdn/hardware/mISDN/hfcmulti.c while (f2 != (temp = HFC_inb_nodebug(hc, A_F2))) { temp 1992 drivers/isdn/hardware/mISDN/hfcmulti.c __func__, hc->id + 1, temp, f2); temp 1993 drivers/isdn/hardware/mISDN/hfcmulti.c f2 = temp; /* repeat until F2 is equal */ temp 2021 drivers/isdn/hardware/mISDN/hfcmulti.c while (z2 != (temp = (HFC_inw_nodebug(hc, A_Z2) - hc->Zmin))) { temp 2024 drivers/isdn/hardware/mISDN/hfcmulti.c "%d!=%d\n", __func__, hc->id + 1, temp, z2); temp 2025 drivers/isdn/hardware/mISDN/hfcmulti.c z2 = temp; /* repeat unti Z2 is equal */ temp 2124 drivers/isdn/hardware/mISDN/hfcmulti.c temp = 1; temp 2126 drivers/isdn/hardware/mISDN/hfcmulti.c temp = 0; temp 2135 drivers/isdn/hardware/mISDN/hfcmulti.c temp ? "HDLC" : "TRANS"); temp 2180 drivers/isdn/hardware/mISDN/hfcmulti.c int temp; temp 2221 drivers/isdn/hardware/mISDN/hfcmulti.c while (f1 != (temp = HFC_inb_nodebug(hc, A_F1))) { temp 2225 drivers/isdn/hardware/mISDN/hfcmulti.c __func__, hc->id + 1, temp, f1); temp 2226 drivers/isdn/hardware/mISDN/hfcmulti.c f1 = temp; /* repeat until F1 is equal */ temp 2231 drivers/isdn/hardware/mISDN/hfcmulti.c while (z1 != (temp = (HFC_inw_nodebug(hc, A_Z1) - hc->Zmin))) { temp 2234 drivers/isdn/hardware/mISDN/hfcmulti.c "%d!=%d\n", __func__, hc->id + 1, temp, z2); temp 2235 drivers/isdn/hardware/mISDN/hfcmulti.c z1 = temp; /* repeat until Z1 is equal */ temp 2335 drivers/isdn/hardware/mISDN/hfcmulti.c temp = 0; temp 2336 drivers/isdn/hardware/mISDN/hfcmulti.c while (temp < (*sp)->len) temp 2337 drivers/isdn/hardware/mISDN/hfcmulti.c printk(" %02x", (*sp)->data[temp++]); temp 2387 drivers/isdn/hardware/mISDN/hfcmulti.c int ch, temp; temp 2448 drivers/isdn/hardware/mISDN/hfcmulti.c temp = HFC_inb_nodebug(hc, R_SYNC_STA) & V_SIG_LOS; temp 2449 drivers/isdn/hardware/mISDN/hfcmulti.c hc->chan[hc->dnum[0]].los = temp; temp 2451 drivers/isdn/hardware/mISDN/hfcmulti.c if (!temp && hc->chan[hc->dnum[0]].los) temp 2454 drivers/isdn/hardware/mISDN/hfcmulti.c if (temp && !hc->chan[hc->dnum[0]].los) temp 2460 drivers/isdn/hardware/mISDN/hfcmulti.c temp = HFC_inb_nodebug(hc, R_SYNC_STA) & V_AIS; temp 2461 drivers/isdn/hardware/mISDN/hfcmulti.c if (!temp && hc->chan[hc->dnum[0]].ais) temp 2464 drivers/isdn/hardware/mISDN/hfcmulti.c if (temp && !hc->chan[hc->dnum[0]].ais) temp 2467 drivers/isdn/hardware/mISDN/hfcmulti.c hc->chan[hc->dnum[0]].ais = temp; temp 2471 drivers/isdn/hardware/mISDN/hfcmulti.c temp = HFC_inb_nodebug(hc, R_SLIP) & V_FOSLIP_RX; temp 2472 drivers/isdn/hardware/mISDN/hfcmulti.c if (!temp && hc->chan[hc->dnum[0]].slip_rx) temp 2475 drivers/isdn/hardware/mISDN/hfcmulti.c hc->chan[hc->dnum[0]].slip_rx = temp; temp 2476 drivers/isdn/hardware/mISDN/hfcmulti.c temp = HFC_inb_nodebug(hc, R_SLIP) & V_FOSLIP_TX; temp 2477 drivers/isdn/hardware/mISDN/hfcmulti.c if (!temp && hc->chan[hc->dnum[0]].slip_tx) temp 2480 drivers/isdn/hardware/mISDN/hfcmulti.c hc->chan[hc->dnum[0]].slip_tx = temp; temp 2484 drivers/isdn/hardware/mISDN/hfcmulti.c temp = HFC_inb_nodebug(hc, R_RX_SL0_0) & V_A; temp 2485 drivers/isdn/hardware/mISDN/hfcmulti.c if (!temp && hc->chan[hc->dnum[0]].rdi) temp 2488 drivers/isdn/hardware/mISDN/hfcmulti.c if (temp && !hc->chan[hc->dnum[0]].rdi) temp 2491 drivers/isdn/hardware/mISDN/hfcmulti.c hc->chan[hc->dnum[0]].rdi = temp; temp 2493 drivers/isdn/hardware/mISDN/hfcmulti.c temp = HFC_inb_nodebug(hc, R_JATT_DIR); temp 2496 drivers/isdn/hardware/mISDN/hfcmulti.c if ((temp & 0x60) == 0x60) { temp 2511 drivers/isdn/hardware/mISDN/hfcmulti.c if ((temp & 0x60) != 0x60) { temp 2521 drivers/isdn/hardware/mISDN/hfcmulti.c temp = HFC_inb_nodebug(hc, R_SYNC_STA); temp 2522 drivers/isdn/hardware/mISDN/hfcmulti.c if (temp == 0x27) { temp 2532 drivers/isdn/hardware/mISDN/hfcmulti.c if ((temp & 0x60) != 0x60) { temp 2541 drivers/isdn/hardware/mISDN/hfcmulti.c temp = HFC_inb_nodebug(hc, R_SYNC_STA); temp 2542 drivers/isdn/hardware/mISDN/hfcmulti.c if (temp != 0x27) { temp 2567 drivers/isdn/hardware/mISDN/hfcmulti.c u_char st_status, temp; temp 2580 drivers/isdn/hardware/mISDN/hfcmulti.c while (st_status != (temp = temp 2585 drivers/isdn/hardware/mISDN/hfcmulti.c __func__, temp, temp 2587 drivers/isdn/hardware/mISDN/hfcmulti.c st_status = temp; /* repeat */ temp 2689 drivers/isdn/hardware/mISDN/hfcmulti.c u_char e1_syncsta, temp, temp2; temp 2774 drivers/isdn/hardware/mISDN/hfcmulti.c temp = HFC_inb_nodebug(hc, R_E1_RD_STA); temp 2775 drivers/isdn/hardware/mISDN/hfcmulti.c while (temp != (temp2 = temp 2780 drivers/isdn/hardware/mISDN/hfcmulti.c __func__, temp, temp2); temp 2781 drivers/isdn/hardware/mISDN/hfcmulti.c temp = temp2; /* repeat */ temp 2787 drivers/isdn/hardware/mISDN/hfcmulti.c __func__, hc->id, temp & 0x7); temp 2790 drivers/isdn/hardware/mISDN/hfcmulti.c dch->state = temp & 0x7; temp 602 drivers/isdn/mISDN/dsp_blowfish.c u32 data[2], temp; temp 633 drivers/isdn/mISDN/dsp_blowfish.c temp = (((u32)key[j] << 24) | temp 638 drivers/isdn/mISDN/dsp_blowfish.c P[i] = P[i] ^ temp; temp 352 drivers/leds/trigger/ledtrig-netdev.c struct rtnl_link_stats64 temp; temp 367 drivers/leds/trigger/ledtrig-netdev.c dev_stats = dev_get_stats(trigger_data->net_dev, &temp); temp 85 drivers/macintosh/ans-lcd.c char ch, __user *temp; temp 104 drivers/macintosh/ans-lcd.c temp = (char __user *) arg; temp 105 drivers/macintosh/ans-lcd.c __get_user(ch, temp); temp 106 drivers/macintosh/ans-lcd.c for (; ch; temp++) { /* FIXME: This is ugly, but should work, as a \0 byte is not a valid command code */ temp 108 drivers/macintosh/ans-lcd.c __get_user(ch, temp); temp 61 drivers/macintosh/therm_windtunnel.c int temp; temp 75 drivers/macintosh/therm_windtunnel.c int temp; temp 93 drivers/macintosh/therm_windtunnel.c print_temp( const char *s, int temp ) temp 95 drivers/macintosh/therm_windtunnel.c printk("%s%d.%d C", s ? s : "", temp>>8, (temp & 255)*10/256 ); temp 101 drivers/macintosh/therm_windtunnel.c return sprintf(buf, "%d.%d\n", x.temp>>8, (x.temp & 255)*10/256 ); temp 160 drivers/macintosh/therm_windtunnel.c print_temp("CPU-temp: ", x.temp ); temp 171 drivers/macintosh/therm_windtunnel.c int temp, i, level, casetemp; temp 173 drivers/macintosh/therm_windtunnel.c temp = read_reg( x.thermostat, 0, 2 ); temp 176 drivers/macintosh/therm_windtunnel.c if( temp < 0 ) temp 182 drivers/macintosh/therm_windtunnel.c if( LOG_TEMP && x.temp != temp ) { temp 183 drivers/macintosh/therm_windtunnel.c print_temp("CPU-temp: ", temp ); temp 187 drivers/macintosh/therm_windtunnel.c x.temp = temp; temp 191 drivers/macintosh/therm_windtunnel.c for( i=0; (temp & 0xffff) > fan_table[i].temp ; i++ ) temp 197 drivers/macintosh/therm_windtunnel.c for( i=0; (temp & 0xffff) >= fan_table[i+1].temp ; i++ ) temp 375 drivers/macintosh/therm_windtunnel.c int hyst_temp, os_temp, temp; temp 380 drivers/macintosh/therm_windtunnel.c if( (temp=read_reg(cl, 0, 2)) < 0 ) temp 384 drivers/macintosh/therm_windtunnel.c if( temp < 0x1600 || temp > 0x3c00 ) temp 392 drivers/macintosh/therm_windtunnel.c print_temp("Temp: ", temp ); temp 397 drivers/macintosh/therm_windtunnel.c x.temp = temp; temp 69 drivers/macintosh/windfarm_lm87_sensor.c s32 temp; temp 77 drivers/macintosh/windfarm_lm87_sensor.c temp = wf_lm87_read_reg(lm->i2c, LM87_INT_TEMP); temp 78 drivers/macintosh/windfarm_lm87_sensor.c if (temp < 0) temp 79 drivers/macintosh/windfarm_lm87_sensor.c return temp; temp 80 drivers/macintosh/windfarm_lm87_sensor.c *value = temp << 16; temp 84 drivers/macintosh/windfarm_pid.h extern s32 wf_cpu_pid_run(struct wf_cpu_pid_state *st, s32 power, s32 temp); temp 195 drivers/macintosh/windfarm_pm112.c static int cpu_check_overtemp(s32 temp) temp 201 drivers/macintosh/windfarm_pm112.c if (temp >= (cpu_all_tmax + LOW_OVER_IMMEDIATE)) { temp 207 drivers/macintosh/windfarm_pm112.c if (temp >= (cpu_all_tmax + HIGH_OVER_IMMEDIATE)) { temp 218 drivers/macintosh/windfarm_pm112.c cpu_thist[cpu_thist_pt] = temp; temp 221 drivers/macintosh/windfarm_pm112.c cpu_thist_total += temp; temp 225 drivers/macintosh/windfarm_pm112.c FIX32TOPRINT(t_avg), FIX32TOPRINT(t_old), FIX32TOPRINT(temp)); temp 253 drivers/macintosh/windfarm_pm112.c (temp < (cpu_all_tmax + LOW_OVER_CLEAR))) { temp 265 drivers/macintosh/windfarm_pm112.c s32 temp, power, t_max = 0; temp 275 drivers/macintosh/windfarm_pm112.c err = sr->ops->get_value(sr, &temp); temp 286 drivers/macintosh/windfarm_pm112.c t_max = max(t_max, temp); temp 302 drivers/macintosh/windfarm_pm112.c t = wf_cpu_pid_run(sp, power, temp); temp 309 drivers/macintosh/windfarm_pm112.c cpu, FIX32TOPRINT(power), FIX32TOPRINT(temp)); temp 352 drivers/macintosh/windfarm_pm112.c s32 temp; temp 370 drivers/macintosh/windfarm_pm112.c err = u4_temp->ops->get_value(u4_temp, &temp); temp 378 drivers/macintosh/windfarm_pm112.c speed = wf_pid_run(&backside_pid, temp); temp 380 drivers/macintosh/windfarm_pm112.c FIX32TOPRINT(temp), speed); temp 402 drivers/macintosh/windfarm_pm112.c s32 temp; temp 420 drivers/macintosh/windfarm_pm112.c err = hd_temp->ops->get_value(hd_temp, &temp); temp 428 drivers/macintosh/windfarm_pm112.c speed = wf_pid_run(&drive_bay_pid, temp); temp 430 drivers/macintosh/windfarm_pm112.c FIX32TOPRINT(temp), speed); temp 586 drivers/macintosh/windfarm_pm121.c s32 temp, new_setpoint; temp 601 drivers/macintosh/windfarm_pm121.c rc = sensor->ops->get_value(sensor, &temp); temp 611 drivers/macintosh/windfarm_pm121.c FIX32TOPRINT(temp)); temp 613 drivers/macintosh/windfarm_pm121.c new_setpoint = wf_pid_run(&st->pid, temp); temp 720 drivers/macintosh/windfarm_pm121.c s32 new_setpoint, temp, power; temp 733 drivers/macintosh/windfarm_pm121.c rc = sensor_cpu_temp->ops->get_value(sensor_cpu_temp, &temp); temp 750 drivers/macintosh/windfarm_pm121.c FIX32TOPRINT(temp), FIX32TOPRINT(power)); temp 752 drivers/macintosh/windfarm_pm121.c if (temp > st->pid.param.tmax) temp 755 drivers/macintosh/windfarm_pm121.c new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); temp 125 drivers/macintosh/windfarm_pm72.c static int cpu_check_overtemp(s32 temp) temp 132 drivers/macintosh/windfarm_pm72.c if (temp >= (cpu_all_tmax + LOW_OVER_IMMEDIATE)) { temp 138 drivers/macintosh/windfarm_pm72.c if (temp >= (cpu_all_tmax + HIGH_OVER_IMMEDIATE)) { temp 154 drivers/macintosh/windfarm_pm72.c cpu_thist[i] = temp; temp 155 drivers/macintosh/windfarm_pm72.c cpu_thist_total += temp; temp 165 drivers/macintosh/windfarm_pm72.c cpu_thist[cpu_thist_pt] = temp; temp 168 drivers/macintosh/windfarm_pm72.c cpu_thist_total += temp; temp 172 drivers/macintosh/windfarm_pm72.c FIX32TOPRINT(t_avg), FIX32TOPRINT(t_old), FIX32TOPRINT(temp)); temp 200 drivers/macintosh/windfarm_pm72.c (temp < (cpu_all_tmax + LOW_OVER_CLEAR))) { temp 208 drivers/macintosh/windfarm_pm72.c static int read_one_cpu_vals(int cpu, s32 *temp, s32 *power) temp 220 drivers/macintosh/windfarm_pm72.c *temp = dtemp; temp 254 drivers/macintosh/windfarm_pm72.c s32 intake, temp, power, t_max = 0; temp 266 drivers/macintosh/windfarm_pm72.c err = read_one_cpu_vals(cpu, &temp, &power); temp 274 drivers/macintosh/windfarm_pm72.c t_max = max(t_max, temp); temp 281 drivers/macintosh/windfarm_pm72.c wf_cpu_pid_run(sp, power, temp); temp 310 drivers/macintosh/windfarm_pm72.c s32 temp, power, intake, pump; temp 344 drivers/macintosh/windfarm_pm72.c temp = max(temp0, temp1); temp 348 drivers/macintosh/windfarm_pm72.c wf_cpu_pid_run(sp, power, temp); temp 465 drivers/macintosh/windfarm_pm72.c s32 temp; temp 482 drivers/macintosh/windfarm_pm72.c err = wf_sensor_get(backside_temp, &temp); temp 490 drivers/macintosh/windfarm_pm72.c speed = wf_pid_run(&backside_pid, temp); temp 493 drivers/macintosh/windfarm_pm72.c FIX32TOPRINT(temp), speed); temp 545 drivers/macintosh/windfarm_pm72.c s32 temp; temp 562 drivers/macintosh/windfarm_pm72.c err = wf_sensor_get(drives_temp, &temp); temp 569 drivers/macintosh/windfarm_pm72.c speed = wf_pid_run(&drives_pid, temp); temp 572 drivers/macintosh/windfarm_pm72.c FIX32TOPRINT(temp), speed); temp 330 drivers/macintosh/windfarm_pm81.c s32 new_setpoint, temp, scaled, cputarget; temp 340 drivers/macintosh/windfarm_pm81.c rc = wf_sensor_get(sensor_hd_temp, &temp); temp 349 drivers/macintosh/windfarm_pm81.c FIX32TOPRINT(temp)); temp 351 drivers/macintosh/windfarm_pm81.c if (temp > (st->pid.param.itarget + 0x50000)) temp 354 drivers/macintosh/windfarm_pm81.c new_setpoint = wf_pid_run(&st->pid, temp); temp 474 drivers/macintosh/windfarm_pm81.c s32 new_setpoint, temp, power, systarget; temp 484 drivers/macintosh/windfarm_pm81.c rc = wf_sensor_get(sensor_cpu_temp, &temp); temp 501 drivers/macintosh/windfarm_pm81.c FIX32TOPRINT(temp), FIX32TOPRINT(power)); temp 504 drivers/macintosh/windfarm_pm81.c if (temp > 0x4a0000) temp 507 drivers/macintosh/windfarm_pm81.c if (temp > st->pid.param.tmax) temp 510 drivers/macintosh/windfarm_pm81.c new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); temp 220 drivers/macintosh/windfarm_pm91.c s32 new_setpoint, temp, power; temp 230 drivers/macintosh/windfarm_pm91.c rc = wf_sensor_get(sensor_cpu_temp, &temp); temp 247 drivers/macintosh/windfarm_pm91.c FIX32TOPRINT(temp), FIX32TOPRINT(power)); temp 250 drivers/macintosh/windfarm_pm91.c if (temp > 0x4a0000) temp 253 drivers/macintosh/windfarm_pm91.c if (temp > st->pid.param.tmax) temp 256 drivers/macintosh/windfarm_pm91.c new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); temp 329 drivers/macintosh/windfarm_pm91.c s32 new_setpoint, temp; temp 339 drivers/macintosh/windfarm_pm91.c rc = wf_sensor_get(sensor_hd_temp, &temp); temp 348 drivers/macintosh/windfarm_pm91.c FIX32TOPRINT(temp)); temp 350 drivers/macintosh/windfarm_pm91.c if (temp > (st->pid.param.itarget + 0x50000)) temp 353 drivers/macintosh/windfarm_pm91.c new_setpoint = wf_pid_run(&st->pid, temp); temp 119 drivers/macintosh/windfarm_rm31.c static int cpu_check_overtemp(s32 temp) temp 126 drivers/macintosh/windfarm_rm31.c if (temp >= (cpu_all_tmax + LOW_OVER_IMMEDIATE)) { temp 132 drivers/macintosh/windfarm_rm31.c if (temp >= (cpu_all_tmax + HIGH_OVER_IMMEDIATE)) { temp 148 drivers/macintosh/windfarm_rm31.c cpu_thist[i] = temp; temp 149 drivers/macintosh/windfarm_rm31.c cpu_thist_total += temp; temp 159 drivers/macintosh/windfarm_rm31.c cpu_thist[cpu_thist_pt] = temp; temp 162 drivers/macintosh/windfarm_rm31.c cpu_thist_total += temp; temp 166 drivers/macintosh/windfarm_rm31.c FIX32TOPRINT(t_avg), FIX32TOPRINT(t_old), FIX32TOPRINT(temp)); temp 194 drivers/macintosh/windfarm_rm31.c (temp < (cpu_all_tmax + LOW_OVER_CLEAR))) { temp 202 drivers/macintosh/windfarm_rm31.c static int read_one_cpu_vals(int cpu, s32 *temp, s32 *power) temp 214 drivers/macintosh/windfarm_rm31.c *temp = dtemp; temp 248 drivers/macintosh/windfarm_rm31.c s32 speed, temp, power, t_max = 0; temp 258 drivers/macintosh/windfarm_rm31.c err = read_one_cpu_vals(cpu, &temp, &power); temp 266 drivers/macintosh/windfarm_rm31.c t_max = max(t_max, temp); temp 273 drivers/macintosh/windfarm_rm31.c wf_cpu_pid_run(sp, power, temp); temp 367 drivers/macintosh/windfarm_rm31.c s32 temp, dtemp; temp 384 drivers/macintosh/windfarm_rm31.c err = wf_sensor_get(backside_temp, &temp); temp 392 drivers/macintosh/windfarm_rm31.c speed = wf_pid_run(&backside_pid, temp); temp 395 drivers/macintosh/windfarm_rm31.c FIX32TOPRINT(temp), speed); temp 454 drivers/macintosh/windfarm_rm31.c s32 temp; temp 466 drivers/macintosh/windfarm_rm31.c err = wf_sensor_get(slots_temp, &temp); temp 473 drivers/macintosh/windfarm_rm31.c speed = wf_pid_run(&slots_pid, temp); temp 476 drivers/macintosh/windfarm_rm31.c FIX32TOPRINT(temp), speed); temp 2055 drivers/md/bcache/btree.c BKEY_PADDED(key) temp; temp 2056 drivers/md/bcache/btree.c bkey_copy(&temp.key, insert_keys->keys); temp 2058 drivers/md/bcache/btree.c bch_cut_back(&b->key, &temp.key); temp 2061 drivers/md/bcache/btree.c ret |= btree_insert_key(b, &temp.key, replace_key); temp 427 drivers/md/bcache/extents.c BKEY_PADDED(key) temp; temp 428 drivers/md/bcache/extents.c bkey_copy(&temp.key, k); temp 429 drivers/md/bcache/extents.c bch_bset_insert(b, k, &temp.key); temp 180 drivers/md/md.c struct md_rdev *temp; temp 186 drivers/md/md.c rdev_for_each(temp, mddev) temp 187 drivers/md/md.c if (temp != rdev && temp 188 drivers/md/md.c test_bit(WBCollisionCheck, &temp->flags)) temp 4970 drivers/md/md.c sector_t temp = max; temp 4973 drivers/md/md.c if (sector_div(temp, chunk)) temp 151 drivers/media/dvb-frontends/m88rs2000.c u64 temp; temp 162 drivers/media/dvb-frontends/m88rs2000.c temp = srate / 1000; temp 163 drivers/media/dvb-frontends/m88rs2000.c temp *= 1 << 24; temp 165 drivers/media/dvb-frontends/m88rs2000.c do_div(temp, mclk); temp 167 drivers/media/dvb-frontends/m88rs2000.c b[0] = (u8) (temp >> 16) & 0xff; temp 168 drivers/media/dvb-frontends/m88rs2000.c b[1] = (u8) (temp >> 8) & 0xff; temp 169 drivers/media/dvb-frontends/m88rs2000.c b[2] = (u8) temp & 0xff; temp 802 drivers/media/dvb-frontends/nxt200x.c u16 temp = 0; temp 811 drivers/media/dvb-frontends/nxt200x.c temp = (b[0] << 8) | b[1]; temp 812 drivers/media/dvb-frontends/nxt200x.c *strength = ((0x7FFF - temp) & 0x0FFF) * 16; temp 822 drivers/media/dvb-frontends/nxt200x.c u16 temp = 0, temp2; temp 832 drivers/media/dvb-frontends/nxt200x.c temp = (b[0] << 8) | b[1]; temp 833 drivers/media/dvb-frontends/nxt200x.c temp2 = 0x7FFF - temp; temp 112 drivers/media/dvb-frontends/stv0288.c unsigned int temp; temp 123 drivers/media/dvb-frontends/stv0288.c temp = (unsigned int)srate / 1000; temp 125 drivers/media/dvb-frontends/stv0288.c temp = temp * 32768; temp 126 drivers/media/dvb-frontends/stv0288.c temp = temp / 25; temp 127 drivers/media/dvb-frontends/stv0288.c temp = temp / 125; temp 128 drivers/media/dvb-frontends/stv0288.c b[0] = (unsigned char)((temp >> 12) & 0xff); temp 129 drivers/media/dvb-frontends/stv0288.c b[1] = (unsigned char)((temp >> 4) & 0xff); temp 130 drivers/media/dvb-frontends/stv0288.c b[2] = (unsigned char)((temp << 4) & 0xf0); temp 1005 drivers/media/dvb-frontends/stv0367.c u32 trl_nomrate = 0, InternalFreq = 0, temp = 0, ifkhz = 0; temp 1094 drivers/media/dvb-frontends/stv0367.c temp = (int) temp 1098 drivers/media/dvb-frontends/stv0367.c stv0367_writebits(state, F367TER_TRL_NOMRATE_LSB, temp % 2); temp 1099 drivers/media/dvb-frontends/stv0367.c temp = temp / 2; temp 1100 drivers/media/dvb-frontends/stv0367.c stv0367_writebits(state, F367TER_TRL_NOMRATE_HI, temp / 256); temp 1101 drivers/media/dvb-frontends/stv0367.c stv0367_writebits(state, F367TER_TRL_NOMRATE_LO, temp % 256); temp 1103 drivers/media/dvb-frontends/stv0367.c temp = stv0367_readbits(state, F367TER_TRL_NOMRATE_HI) * 512 + temp 1106 drivers/media/dvb-frontends/stv0367.c temp = (int)(((1 << 17) * ter_state->bw * 1000) / (7 * (InternalFreq))); temp 1107 drivers/media/dvb-frontends/stv0367.c stv0367_writebits(state, F367TER_GAIN_SRC_HI, temp / 256); temp 1108 drivers/media/dvb-frontends/stv0367.c stv0367_writebits(state, F367TER_GAIN_SRC_LO, temp % 256); temp 1109 drivers/media/dvb-frontends/stv0367.c temp = stv0367_readbits(state, F367TER_GAIN_SRC_HI) * 256 + temp 1112 drivers/media/dvb-frontends/stv0367.c temp = (int) temp 1115 drivers/media/dvb-frontends/stv0367.c dprintk("DEROT temp=0x%x\n", temp); temp 1116 drivers/media/dvb-frontends/stv0367.c stv0367_writebits(state, F367TER_INC_DEROT_HI, temp / 256); temp 1117 drivers/media/dvb-frontends/stv0367.c stv0367_writebits(state, F367TER_INC_DEROT_LO, temp % 256); temp 2786 drivers/media/dvb-frontends/stv0367.c u32 regval = 0, temp = 0; temp 2793 drivers/media/dvb-frontends/stv0367.c temp = power temp 2795 drivers/media/dvb-frontends/stv0367.c temp /= regval; temp 2799 drivers/media/dvb-frontends/stv0367.c if (temp >= 5012) temp 2801 drivers/media/dvb-frontends/stv0367.c else if (temp >= 3981) temp 2803 drivers/media/dvb-frontends/stv0367.c else if (temp >= 3162) temp 2805 drivers/media/dvb-frontends/stv0367.c else if (temp >= 2512) temp 2807 drivers/media/dvb-frontends/stv0367.c else if (temp >= 1995) temp 2809 drivers/media/dvb-frontends/stv0367.c else if (temp >= 1585) temp 2811 drivers/media/dvb-frontends/stv0367.c else if (temp >= 1259) temp 2813 drivers/media/dvb-frontends/stv0367.c else if (temp >= 1000) temp 2815 drivers/media/dvb-frontends/stv0367.c else if (temp >= 794) temp 2817 drivers/media/dvb-frontends/stv0367.c else if (temp >= 501) temp 2819 drivers/media/dvb-frontends/stv0367.c else if (temp >= 316) temp 2821 drivers/media/dvb-frontends/stv0367.c else if (temp >= 200) temp 2823 drivers/media/dvb-frontends/stv0367.c else if (temp >= 158) temp 2825 drivers/media/dvb-frontends/stv0367.c else if (temp >= 126) temp 330 drivers/media/i2c/bt819.c int temp; temp 348 drivers/media/i2c/bt819.c temp = (ctrl->val * 180) / 254; temp 349 drivers/media/i2c/bt819.c bt819_write(decoder, 0x0e, (temp >> 7) & 0xff); temp 350 drivers/media/i2c/bt819.c bt819_setbit(decoder, 0x0b, 0, (temp >> 15) & 0x01); temp 1136 drivers/media/i2c/ov5640.c u8 temp; temp 1138 drivers/media/i2c/ov5640.c ret = ov5640_read_reg(sensor, OV5640_REG_AEC_PK_EXPOSURE_HI, &temp); temp 1141 drivers/media/i2c/ov5640.c exp = ((int)temp & 0x0f) << 16; temp 1142 drivers/media/i2c/ov5640.c ret = ov5640_read_reg(sensor, OV5640_REG_AEC_PK_EXPOSURE_MED, &temp); temp 1145 drivers/media/i2c/ov5640.c exp |= ((int)temp << 8); temp 1146 drivers/media/i2c/ov5640.c ret = ov5640_read_reg(sensor, OV5640_REG_AEC_PK_EXPOSURE_LO, &temp); temp 1149 drivers/media/i2c/ov5640.c exp |= (int)temp; temp 1420 drivers/media/i2c/ov5640.c u8 temp, temp1; temp 1422 drivers/media/i2c/ov5640.c ret = ov5640_read_reg(sensor, OV5640_REG_HZ5060_CTRL01, &temp); temp 1426 drivers/media/i2c/ov5640.c if (temp & 0x80) { temp 1542 drivers/media/i2c/ov5640.c u8 temp; temp 1545 drivers/media/i2c/ov5640.c ret = ov5640_read_reg(sensor, OV5640_REG_TIMING_TC_REG21, &temp); temp 1549 drivers/media/i2c/ov5640.c return temp & BIT(0); temp 1576 drivers/media/i2c/ov5640.c u8 temp, channel = virtual_channel; temp 1586 drivers/media/i2c/ov5640.c ret = ov5640_read_reg(sensor, OV5640_REG_DEBUG_MODE, &temp); temp 1589 drivers/media/i2c/ov5640.c temp &= ~(3 << 6); temp 1590 drivers/media/i2c/ov5640.c temp |= (channel << 6); temp 1591 drivers/media/i2c/ov5640.c return ov5640_write_reg(sensor, OV5640_REG_DEBUG_MODE, temp); temp 77 drivers/media/pci/cx23885/cx23885-f300.c u8 i, temp, ret = 0; temp 79 drivers/media/pci/cx23885/cx23885-f300.c temp = buf[0]; temp 81 drivers/media/pci/cx23885/cx23885-f300.c temp += buf[i + 1]; temp 82 drivers/media/pci/cx23885/cx23885-f300.c temp = (~temp + 1);/* get check sum */ temp 83 drivers/media/pci/cx23885/cx23885-f300.c buf[1 + buf[0]] = temp; temp 98 drivers/media/pci/cx23885/cx23885-f300.c temp = buf[0]; temp 99 drivers/media/pci/cx23885/cx23885-f300.c temp += 2; temp 100 drivers/media/pci/cx23885/cx23885-f300.c for (i = 0; i < temp; i++) temp 107 drivers/media/pci/cx23885/cx23885-f300.c temp = 0; temp 108 drivers/media/pci/cx23885/cx23885-f300.c for (i = 0; ((i < 8) & (temp == 0)); i++) { temp 111 drivers/media/pci/cx23885/cx23885-f300.c temp = 1; temp 123 drivers/media/pci/cx23885/cx23885-f300.c temp = f300_get_byte(dev);/*get the data length */ temp 124 drivers/media/pci/cx23885/cx23885-f300.c if (temp > 14) temp 125 drivers/media/pci/cx23885/cx23885-f300.c temp = 14; temp 127 drivers/media/pci/cx23885/cx23885-f300.c for (i = 0; i < (temp + 1); i++) temp 540 drivers/media/pci/cx25821/cx25821-medusa-video.c unsigned char temp; temp 545 drivers/media/pci/cx25821/cx25821-medusa-video.c temp = ~(abs(numeric) & 0xFF); temp 546 drivers/media/pci/cx25821/cx25821-medusa-video.c temp += 1; temp 547 drivers/media/pci/cx25821/cx25821-medusa-video.c return temp; temp 2809 drivers/media/pci/ddbridge/ddbridge-core.c int temp, temp2; temp 2817 drivers/media/pci/ddbridge/ddbridge-core.c temp = (tmp[0] << 3) | (tmp[1] >> 5); temp 2818 drivers/media/pci/ddbridge/ddbridge-core.c temp *= 125; temp 2824 drivers/media/pci/ddbridge/ddbridge-core.c return sprintf(buf, "%d %d\n", temp, temp2); temp 2826 drivers/media/pci/ddbridge/ddbridge-core.c return sprintf(buf, "%d\n", temp); temp 2834 drivers/media/pci/ddbridge/ddbridge-core.c int temp; temp 2844 drivers/media/pci/ddbridge/ddbridge-core.c temp = tmp[0] * 1000; temp 2845 drivers/media/pci/ddbridge/ddbridge-core.c return sprintf(buf, "%d\n", temp); temp 3091 drivers/media/pci/ddbridge/ddbridge-core.c __ATTR_RO(temp), temp 3248 drivers/media/pci/ddbridge/ddbridge-core.c u32 temp, temp2, pwm; temp 3255 drivers/media/pci/ddbridge/ddbridge-core.c temp = (ddblreadl(link, TEMPMON_SENSOR0) >> 8) & 0xFF; temp 3256 drivers/media/pci/ddbridge/ddbridge-core.c if (temp & 0x80) temp 3257 drivers/media/pci/ddbridge/ddbridge-core.c temp = 0; temp 3261 drivers/media/pci/ddbridge/ddbridge-core.c if (temp2 > temp) temp 3262 drivers/media/pci/ddbridge/ddbridge-core.c temp = temp2; temp 3268 drivers/media/pci/ddbridge/ddbridge-core.c if (temp >= link->temp_tab[pwm]) { temp 3269 drivers/media/pci/ddbridge/ddbridge-core.c while (pwm < 10 && temp >= link->temp_tab[pwm + 1]) temp 3272 drivers/media/pci/ddbridge/ddbridge-core.c while (pwm > 1 && temp < link->temp_tab[pwm - 2]) temp 7911 drivers/media/pci/saa7134/saa7134-cards.c u8 temp = 0; temp 7921 drivers/media/pci/saa7134/saa7134-cards.c msg.buf = &temp; temp 207 drivers/media/platform/coda/coda-jpeg.c unsigned int temp; temp 211 drivers/media/platform/coda/coda-jpeg.c temp = DIV_ROUND_CLOSEST((unsigned int)q_tab[i] * scale, 100); temp 212 drivers/media/platform/coda/coda-jpeg.c if (temp <= 0) temp 213 drivers/media/platform/coda/coda-jpeg.c temp = 1; temp 214 drivers/media/platform/coda/coda-jpeg.c if (temp > 255) temp 215 drivers/media/platform/coda/coda-jpeg.c temp = 255; temp 216 drivers/media/platform/coda/coda-jpeg.c q_tab[i] = (unsigned char)temp; temp 121 drivers/media/platform/davinci/dm355_ccdc.c unsigned int temp; temp 122 drivers/media/platform/davinci/dm355_ccdc.c temp = regr(SYNCEN); temp 123 drivers/media/platform/davinci/dm355_ccdc.c temp &= (~CCDC_SYNCEN_VDHDEN_MASK); temp 124 drivers/media/platform/davinci/dm355_ccdc.c temp |= (en & CCDC_SYNCEN_VDHDEN_MASK); temp 125 drivers/media/platform/davinci/dm355_ccdc.c regw(temp, SYNCEN); temp 130 drivers/media/platform/davinci/dm355_ccdc.c unsigned int temp; temp 131 drivers/media/platform/davinci/dm355_ccdc.c temp = regr(SYNCEN); temp 132 drivers/media/platform/davinci/dm355_ccdc.c temp &= (~(CCDC_SYNCEN_WEN_MASK)); temp 133 drivers/media/platform/davinci/dm355_ccdc.c temp |= ((en << CCDC_SYNCEN_WEN_SHIFT) & CCDC_SYNCEN_WEN_MASK); temp 134 drivers/media/platform/davinci/dm355_ccdc.c regw(temp, SYNCEN); temp 253 drivers/media/platform/davinci/dm355_ccdc.c u32 temp; temp 260 drivers/media/platform/davinci/dm355_ccdc.c temp = (((params->pix_fmt & CCDC_INPUT_MODE_MASK) << temp 272 drivers/media/platform/davinci/dm355_ccdc.c temp |= CCDC_VD_POL_NEGATIVE; temp 274 drivers/media/platform/davinci/dm355_ccdc.c temp |= (((params->fid_pol & CCDC_FID_POL_MASK) << temp 283 drivers/media/platform/davinci/dm355_ccdc.c temp |= CCDC_DATA_PACK_ENABLE; temp 285 drivers/media/platform/davinci/dm355_ccdc.c regw(temp, MODESET); temp 291 drivers/media/platform/davinci/dm355_ccdc.c temp = (params->pix_order << CCDC_Y8POS_SHIFT); temp 292 drivers/media/platform/davinci/dm355_ccdc.c temp |= CCDC_LATCH_ON_VSYNC_DISABLE | CCDC_CCDCFG_FIDMD_NO_LATCH_VSYNC; temp 293 drivers/media/platform/davinci/dm355_ccdc.c regw(temp, CCDCFG); temp 739 drivers/media/platform/davinci/vpfe_capture.c int temp, found; temp 752 drivers/media/platform/davinci/vpfe_capture.c temp = 0; temp 754 drivers/media/platform/davinci/vpfe_capture.c while (ccdc_dev->hw_ops.enum_pix(&pix, temp) >= 0) { temp 759 drivers/media/platform/davinci/vpfe_capture.c temp++; temp 153 drivers/media/platform/davinci/vpss.c u32 temp = isp5_read(DM365_ISP5_CCDCMUX) & ~CCD_SRC_SEL_MASK; temp 157 drivers/media/platform/davinci/vpss.c temp |= 0x08; temp 159 drivers/media/platform/davinci/vpss.c temp |= (src_sel << CCD_SRC_SEL_SHIFT); temp 160 drivers/media/platform/davinci/vpss.c isp5_write(temp, DM365_ISP5_CCDCMUX); temp 34 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c u32 temp; temp 40 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c temp = byte << 8; temp 44 drivers/media/platform/mtk-jpeg/mtk_jpeg_parse.c *word = (u32)byte | temp; temp 107 drivers/media/platform/rockchip/rga/rga.h u32 temp = rga_read(rga, reg) & ~(mask); temp 109 drivers/media/platform/rockchip/rga/rga.h temp |= val & mask; temp 110 drivers/media/platform/rockchip/rga/rga.h rga_write(rga, reg, temp); temp 1049 drivers/media/platform/s5p-jpeg/jpeg-core.c unsigned int temp; temp 1055 drivers/media/platform/s5p-jpeg/jpeg-core.c temp = byte << 8; temp 1059 drivers/media/platform/s5p-jpeg/jpeg-core.c *word = (unsigned int)byte | temp; temp 86 drivers/media/radio/radio-terratec.c int temp; temp 97 drivers/media/radio/radio-terratec.c temp = 102400; temp 99 drivers/media/radio/radio-terratec.c if (rest % temp == rest) temp 103 drivers/media/radio/radio-terratec.c rest = rest - temp; temp 107 drivers/media/radio/radio-terratec.c temp = temp / 2; temp 410 drivers/media/tuners/mxl5007t.c u32 temp; temp 422 drivers/media/tuners/mxl5007t.c temp = rf_freq % MHz; temp 427 drivers/media/tuners/mxl5007t.c if (temp > frac_divider) { temp 428 drivers/media/tuners/mxl5007t.c temp -= frac_divider; temp 434 drivers/media/tuners/mxl5007t.c if (temp > 7812) temp 359 drivers/media/usb/cx231xx/cx231xx-417.c u32 temp; temp 362 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_REGISTER_DATA_BYTE0 | ((value & 0x000000FF) << 8); temp 363 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 364 drivers/media/usb/cx231xx/cx231xx-417.c status = set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 367 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 368 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 371 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_REGISTER_DATA_BYTE1 | (value & 0x0000FF00); temp 372 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 373 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 374 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 375 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 378 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_REGISTER_DATA_BYTE2 | ((value & 0x00FF0000) >> 8); temp 379 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 380 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 381 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 382 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 385 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_REGISTER_DATA_BYTE3 | ((value & 0xFF000000) >> 16); temp 386 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 387 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 388 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 389 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 392 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_REGISTER_ADDRESS_BYTE0 | ((address & 0x000000FF) << 8); temp 393 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 394 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 395 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 396 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 399 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_REGISTER_ADDRESS_BYTE1 | (address & 0x0000FF00); temp 400 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 401 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 402 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 403 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 406 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_REGISTER_MODE | MCI_MODE_REGISTER_WRITE; temp 407 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 408 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 409 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 410 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 418 drivers/media/usb/cx231xx/cx231xx-417.c u32 temp; temp 422 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_REGISTER_ADDRESS_BYTE0 | ((address & 0x00FF) << 8); temp 423 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 424 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 425 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | ((0x05) << 10); temp 426 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 429 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_REGISTER_ADDRESS_BYTE1 | (address & 0xFF00); temp 430 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 431 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 432 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | ((0x05) << 10); temp 433 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 436 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_REGISTER_MODE | MCI_MODE_REGISTER_READ; temp 437 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 438 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 439 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | ((0x05) << 10); temp 440 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 449 drivers/media/usb/cx231xx/cx231xx-417.c temp = (0x82 | MCI_REGISTER_DATA_BYTE0) << 10; temp 450 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 451 drivers/media/usb/cx231xx/cx231xx-417.c temp = ((0x81 | MCI_REGISTER_DATA_BYTE0) << 10); temp 452 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 453 drivers/media/usb/cx231xx/cx231xx-417.c get_itvc_reg(dev, ITVC_READ_DIR, &temp); temp 454 drivers/media/usb/cx231xx/cx231xx-417.c return_value |= ((temp & 0x03FC0000) >> 18); temp 458 drivers/media/usb/cx231xx/cx231xx-417.c temp = (0x82 | MCI_REGISTER_DATA_BYTE1) << 10; temp 459 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 460 drivers/media/usb/cx231xx/cx231xx-417.c temp = ((0x81 | MCI_REGISTER_DATA_BYTE1) << 10); temp 461 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 462 drivers/media/usb/cx231xx/cx231xx-417.c get_itvc_reg(dev, ITVC_READ_DIR, &temp); temp 464 drivers/media/usb/cx231xx/cx231xx-417.c return_value |= ((temp & 0x03FC0000) >> 10); temp 468 drivers/media/usb/cx231xx/cx231xx-417.c temp = (0x82 | MCI_REGISTER_DATA_BYTE2) << 10; temp 469 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 470 drivers/media/usb/cx231xx/cx231xx-417.c temp = ((0x81 | MCI_REGISTER_DATA_BYTE2) << 10); temp 471 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 472 drivers/media/usb/cx231xx/cx231xx-417.c get_itvc_reg(dev, ITVC_READ_DIR, &temp); temp 473 drivers/media/usb/cx231xx/cx231xx-417.c return_value |= ((temp & 0x03FC0000) >> 2); temp 477 drivers/media/usb/cx231xx/cx231xx-417.c temp = (0x82 | MCI_REGISTER_DATA_BYTE3) << 10; temp 478 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 479 drivers/media/usb/cx231xx/cx231xx-417.c temp = ((0x81 | MCI_REGISTER_DATA_BYTE3) << 10); temp 480 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 481 drivers/media/usb/cx231xx/cx231xx-417.c get_itvc_reg(dev, ITVC_READ_DIR, &temp); temp 482 drivers/media/usb/cx231xx/cx231xx-417.c return_value |= ((temp & 0x03FC0000) << 6); temp 493 drivers/media/usb/cx231xx/cx231xx-417.c u32 temp; temp 496 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_DATA_BYTE0 | ((value & 0x000000FF) << 8); temp 497 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 498 drivers/media/usb/cx231xx/cx231xx-417.c ret = set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 501 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 502 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 505 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_DATA_BYTE1 | (value & 0x0000FF00); temp 506 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 507 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 508 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 509 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 512 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_DATA_BYTE2 | ((value & 0x00FF0000) >> 8); temp 513 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 514 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 515 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 516 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 519 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_DATA_BYTE3 | ((value & 0xFF000000) >> 16); temp 520 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 521 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 522 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 523 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 526 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE2 | MCI_MODE_MEMORY_WRITE | temp 528 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 529 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 530 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 531 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 534 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE1 | (address & 0xFF00); temp 535 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 536 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 537 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 538 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 541 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE0 | ((address & 0x00FF) << 8); temp 542 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 543 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 544 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 545 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 555 drivers/media/usb/cx231xx/cx231xx-417.c u32 temp = 0; temp 560 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE2 | MCI_MODE_MEMORY_READ | temp 562 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 563 drivers/media/usb/cx231xx/cx231xx-417.c ret = set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 566 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 567 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 570 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE1 | (address & 0xFF00); temp 571 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 572 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 573 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 574 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 577 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE0 | ((address & 0x00FF) << 8); temp 578 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 579 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 580 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 581 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_WRITE_DIR, temp); temp 588 drivers/media/usb/cx231xx/cx231xx-417.c temp = (0x82 | MCI_MEMORY_DATA_BYTE3) << 10; temp 589 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 590 drivers/media/usb/cx231xx/cx231xx-417.c temp = ((0x81 | MCI_MEMORY_DATA_BYTE3) << 10); temp 591 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 592 drivers/media/usb/cx231xx/cx231xx-417.c get_itvc_reg(dev, ITVC_READ_DIR, &temp); temp 593 drivers/media/usb/cx231xx/cx231xx-417.c return_value |= ((temp & 0x03FC0000) << 6); temp 597 drivers/media/usb/cx231xx/cx231xx-417.c temp = (0x82 | MCI_MEMORY_DATA_BYTE2) << 10; temp 598 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 599 drivers/media/usb/cx231xx/cx231xx-417.c temp = ((0x81 | MCI_MEMORY_DATA_BYTE2) << 10); temp 600 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 601 drivers/media/usb/cx231xx/cx231xx-417.c get_itvc_reg(dev, ITVC_READ_DIR, &temp); temp 602 drivers/media/usb/cx231xx/cx231xx-417.c return_value |= ((temp & 0x03FC0000) >> 2); temp 606 drivers/media/usb/cx231xx/cx231xx-417.c temp = (0x82 | MCI_MEMORY_DATA_BYTE1) << 10; temp 607 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 608 drivers/media/usb/cx231xx/cx231xx-417.c temp = ((0x81 | MCI_MEMORY_DATA_BYTE1) << 10); temp 609 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 610 drivers/media/usb/cx231xx/cx231xx-417.c get_itvc_reg(dev, ITVC_READ_DIR, &temp); temp 611 drivers/media/usb/cx231xx/cx231xx-417.c return_value |= ((temp & 0x03FC0000) >> 10); temp 615 drivers/media/usb/cx231xx/cx231xx-417.c temp = (0x82 | MCI_MEMORY_DATA_BYTE0) << 10; temp 616 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 617 drivers/media/usb/cx231xx/cx231xx-417.c temp = ((0x81 | MCI_MEMORY_DATA_BYTE0) << 10); temp 618 drivers/media/usb/cx231xx/cx231xx-417.c set_itvc_reg(dev, ITVC_READ_DIR, temp); temp 619 drivers/media/usb/cx231xx/cx231xx-417.c get_itvc_reg(dev, ITVC_READ_DIR, &temp); temp 620 drivers/media/usb/cx231xx/cx231xx-417.c return_value |= ((temp & 0x03FC0000) >> 18); temp 853 drivers/media/usb/cx231xx/cx231xx-417.c u32 temp = 0; temp 856 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_DATA_BYTE0 | ((value & 0x000000FF) << 8); temp 857 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 858 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 860 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 861 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 865 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_DATA_BYTE1 | (value & 0x0000FF00); temp 866 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 867 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 869 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 870 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 874 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_DATA_BYTE2 | ((value & 0x00FF0000) >> 8); temp 875 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 876 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 878 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 879 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 883 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_DATA_BYTE3 | ((value & 0xFF000000) >> 16); temp 884 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 885 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 887 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 888 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 892 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE2 | MCI_MODE_MEMORY_WRITE | temp 894 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 895 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 897 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 898 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 902 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE1 | (address & 0xFF00); temp 903 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 904 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 906 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 907 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 911 drivers/media/usb/cx231xx/cx231xx-417.c temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE0 | ((address & 0x00FF) << 8); temp 912 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp << 10; temp 913 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 915 drivers/media/usb/cx231xx/cx231xx-417.c temp = temp | (0x05 << 10); temp 916 drivers/media/usb/cx231xx/cx231xx-417.c *p_fw_image = temp; temp 55 drivers/media/usb/cx231xx/cx231xx-avcore.c u32 temp = 0; temp 58 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 1, &temp, 1); temp 59 drivers/media/usb/cx231xx/cx231xx-avcore.c *data = (u8) temp; temp 107 drivers/media/usb/cx231xx/cx231xx-avcore.c u32 temp = 0; temp 110 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 2, &temp, 1); temp 111 drivers/media/usb/cx231xx/cx231xx-avcore.c *data = (u8) temp; temp 118 drivers/media/usb/cx231xx/cx231xx-avcore.c u8 temp = 0; temp 123 drivers/media/usb/cx231xx/cx231xx-avcore.c temp = (u8) (ref_count & 0xff); temp 124 drivers/media/usb/cx231xx/cx231xx-avcore.c status = afe_write_byte(dev, SUP_BLK_TUNE2, temp); temp 132 drivers/media/usb/cx231xx/cx231xx-avcore.c temp = (u8) ((ref_count & 0x300) >> 8); temp 133 drivers/media/usb/cx231xx/cx231xx-avcore.c temp |= 0x40; temp 134 drivers/media/usb/cx231xx/cx231xx-avcore.c status = afe_write_byte(dev, SUP_BLK_TUNE1, temp); temp 522 drivers/media/usb/cx231xx/cx231xx-avcore.c u32 temp = 0; temp 525 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 2, &temp, 1); temp 526 drivers/media/usb/cx231xx/cx231xx-avcore.c *data = (u8) temp; temp 543 drivers/media/usb/cx231xx/cx231xx-avcore.c u8 temp = 0; temp 545 drivers/media/usb/cx231xx/cx231xx-avcore.c status = vid_blk_read_byte(dev, DL_CTL_ADDRESS_LOW, &temp); temp 549 drivers/media/usb/cx231xx/cx231xx-avcore.c return temp; temp 927 drivers/media/usb/cx231xx/cx231xx-avcore.c u8 temp = 0; temp 934 drivers/media/usb/cx231xx/cx231xx-avcore.c vid_blk_read_byte(dev, TS1_PIN_CTL1, &temp); temp 935 drivers/media/usb/cx231xx/cx231xx-avcore.c temp = temp|0x04; temp 937 drivers/media/usb/cx231xx/cx231xx-avcore.c vid_blk_write_byte(dev, TS1_PIN_CTL1, temp); temp 943 drivers/media/usb/cx231xx/cx231xx-avcore.c u8 temp = 0; temp 947 drivers/media/usb/cx231xx/cx231xx-avcore.c vid_blk_read_byte(dev, TS1_PIN_CTL1, &temp); temp 948 drivers/media/usb/cx231xx/cx231xx-avcore.c temp = temp&0xFB; temp 950 drivers/media/usb/cx231xx/cx231xx-avcore.c vid_blk_write_byte(dev, TS1_PIN_CTL1, temp); temp 1764 drivers/media/usb/cx231xx/cx231xx-core.c u32 temp; temp 1767 drivers/media/usb/cx231xx/cx231xx-core.c status = cx231xx_read_i2c_data(dev, dev_addr, saddr, 2, &temp, 4); temp 1772 drivers/media/usb/cx231xx/cx231xx-core.c temp &= ~mask; temp 1773 drivers/media/usb/cx231xx/cx231xx-core.c temp |= value; temp 1775 drivers/media/usb/cx231xx/cx231xx-core.c status = cx231xx_write_i2c_data(dev, dev_addr, saddr, 2, temp, 4); temp 1782 drivers/media/usb/cx231xx/cx231xx-core.c u32 temp; temp 1784 drivers/media/usb/cx231xx/cx231xx-core.c for (temp = field_mask; (temp & 1) == 0; temp >>= 1) temp 95 drivers/media/usb/dvb-usb/af9005-fe.c u8 temp; temp 101 drivers/media/usb/dvb-usb/af9005-fe.c fec_vtb_rsd_mon_en_len, &temp); temp 104 drivers/media/usb/dvb-usb/af9005-fe.c if (temp & 1) { temp 109 drivers/media/usb/dvb-usb/af9005-fe.c reg_ofsm_read_rbc_en_len, &temp); temp 112 drivers/media/usb/dvb-usb/af9005-fe.c if ((temp & 1) == 0) temp 128 drivers/media/usb/dvb-usb/af9005-fe.c u8 temp, temp0, temp1, temp2; temp 138 drivers/media/usb/dvb-usb/af9005-fe.c &temp); temp 141 drivers/media/usb/dvb-usb/af9005-fe.c if (!temp) { temp 228 drivers/media/usb/dvb-usb/af9005-fe.c u8 temp, temp0, temp1, temp2; temp 235 drivers/media/usb/dvb-usb/af9005-fe.c &temp); temp 238 drivers/media/usb/dvb-usb/af9005-fe.c if (!temp) { temp 279 drivers/media/usb/dvb-usb/af9005-fe.c &temp); temp 282 drivers/media/usb/dvb-usb/af9005-fe.c if (temp == 0) { temp 285 drivers/media/usb/dvb-usb/af9005-fe.c } else if (temp == 1) { temp 297 drivers/media/usb/dvb-usb/af9005-fe.c &temp); temp 300 drivers/media/usb/dvb-usb/af9005-fe.c switch (temp) { temp 431 drivers/media/usb/dvb-usb/af9005-fe.c u8 temp; temp 439 drivers/media/usb/dvb-usb/af9005-fe.c agc_lock_pos, agc_lock_len, &temp); temp 442 drivers/media/usb/dvb-usb/af9005-fe.c if (temp) temp 447 drivers/media/usb/dvb-usb/af9005-fe.c &temp); temp 450 drivers/media/usb/dvb-usb/af9005-fe.c if (temp) temp 456 drivers/media/usb/dvb-usb/af9005-fe.c mp2if_sync_byte_locked_pos, &temp); temp 459 drivers/media/usb/dvb-usb/af9005-fe.c if (temp) temp 467 drivers/media/usb/dvb-usb/af9005-fe.c reg_strong_sginal_detected_len, &temp); temp 470 drivers/media/usb/dvb-usb/af9005-fe.c if (temp != state->strong) { temp 471 drivers/media/usb/dvb-usb/af9005-fe.c deb_info("adjust for strong signal %d\n", temp); temp 472 drivers/media/usb/dvb-usb/af9005-fe.c state->strong = temp; temp 766 drivers/media/usb/dvb-usb/af9005-fe.c u8 temp; temp 769 drivers/media/usb/dvb-usb/af9005-fe.c temp = 0; temp 772 drivers/media/usb/dvb-usb/af9005-fe.c temp = 1; temp 775 drivers/media/usb/dvb-usb/af9005-fe.c temp = 2; temp 782 drivers/media/usb/dvb-usb/af9005-fe.c reg_bw_len, temp); temp 788 drivers/media/usb/dvb-usb/af9005-fe.c u8 temp = on; temp 791 drivers/media/usb/dvb-usb/af9005-fe.c ret = af9005_send_command(state->d, 0x03, &temp, 1, NULL, 0); temp 808 drivers/media/usb/dvb-usb/af9005-fe.c u8 temp, temp0 = 0, temp1 = 0, temp2 = 0; temp 827 drivers/media/usb/dvb-usb/af9005-fe.c xd_I2C_reg_ofdm_rst, &temp))) temp 829 drivers/media/usb/dvb-usb/af9005-fe.c if (temp & (regmask[reg_ofdm_rst_len - 1] << reg_ofdm_rst_pos)) temp 852 drivers/media/usb/dvb-usb/af9005-fe.c temp = 0x01; temp 853 drivers/media/usb/dvb-usb/af9005-fe.c ret = af9005_send_command(state->d, 0x03, &temp, 1, NULL, 0); temp 863 drivers/media/usb/dvb-usb/af9005-fe.c temp = regmask[reg_ofdm_rst_len - 1] << reg_ofdm_rst_pos; temp 1096 drivers/media/usb/dvb-usb/af9005-fe.c u8 temp, temp0, temp1, temp2; temp 1187 drivers/media/usb/dvb-usb/af9005-fe.c temp = 0; temp 1188 drivers/media/usb/dvb-usb/af9005-fe.c ret = af9005_write_tuner_registers(state->d, 0xffff, &temp, 1); temp 1222 drivers/media/usb/dvb-usb/af9005-fe.c u8 temp; temp 1228 drivers/media/usb/dvb-usb/af9005-fe.c &temp); temp 1233 drivers/media/usb/dvb-usb/af9005-fe.c switch (temp) { temp 1252 drivers/media/usb/dvb-usb/af9005-fe.c &temp); temp 1256 drivers/media/usb/dvb-usb/af9005-fe.c switch (temp) { temp 1278 drivers/media/usb/dvb-usb/af9005-fe.c reg_dec_pri_pos, reg_dec_pri_len, &temp); temp 1282 drivers/media/usb/dvb-usb/af9005-fe.c deb_info("PRIORITY %s\n", temp ? "high" : "low"); temp 1288 drivers/media/usb/dvb-usb/af9005-fe.c &temp); temp 1292 drivers/media/usb/dvb-usb/af9005-fe.c switch (temp) { temp 1319 drivers/media/usb/dvb-usb/af9005-fe.c &temp); temp 1323 drivers/media/usb/dvb-usb/af9005-fe.c switch (temp) { temp 1349 drivers/media/usb/dvb-usb/af9005-fe.c reg_tpsd_gi_pos, reg_tpsd_gi_len, &temp); temp 1353 drivers/media/usb/dvb-usb/af9005-fe.c switch (temp) { temp 1376 drivers/media/usb/dvb-usb/af9005-fe.c &temp); temp 1380 drivers/media/usb/dvb-usb/af9005-fe.c switch (temp) { temp 1394 drivers/media/usb/dvb-usb/af9005-fe.c reg_bw_len, &temp); temp 1396 drivers/media/usb/dvb-usb/af9005-fe.c switch (temp) { temp 166 drivers/media/usb/dvb-usb/af9005.c u8 temp = value; temp 170 drivers/media/usb/dvb-usb/af9005.c &temp, 1); temp 198 drivers/media/usb/dvb-usb/af9005.c u8 temp; temp 201 drivers/media/usb/dvb-usb/af9005.c ret = af9005_read_ofdm_register(d, reg, &temp); temp 206 drivers/media/usb/dvb-usb/af9005.c *value = (temp >> pos) & regmask[len - 1]; temp 215 drivers/media/usb/dvb-usb/af9005.c u8 temp, mask; temp 220 drivers/media/usb/dvb-usb/af9005.c ret = af9005_read_ofdm_register(d, reg, &temp); temp 224 drivers/media/usb/dvb-usb/af9005.c temp = (temp & ~mask) | ((value << pos) & mask); temp 225 drivers/media/usb/dvb-usb/af9005.c return af9005_write_ofdm_register(d, reg, temp); temp 252 drivers/media/usb/dvb-usb/af9005.c u8 temp; temp 262 drivers/media/usb/dvb-usb/af9005.c &temp); temp 265 drivers/media/usb/dvb-usb/af9005.c done = temp & (regmask[i2c_m_status_wdat_done_len - 1] temp 269 drivers/media/usb/dvb-usb/af9005.c fail = temp & (regmask[i2c_m_status_wdat_fail_len - 1] temp 305 drivers/media/usb/dvb-usb/af9005.c u8 temp, buf[2]; temp 326 drivers/media/usb/dvb-usb/af9005.c ret = af9005_read_ofdm_register(d, 0xa408, &temp); temp 329 drivers/media/usb/dvb-usb/af9005.c if (temp & 0x01) temp 343 drivers/media/usb/dvb-usb/af9005.c ret = af9005_read_ofdm_register(d, 0xa400 + i, &temp); temp 346 drivers/media/usb/dvb-usb/af9005.c values[i] = temp; temp 381 drivers/media/usb/dvb-usb/af9005.c u8 temp; temp 384 drivers/media/usb/dvb-usb/af9005.c temp = reg + i; temp 388 drivers/media/usb/dvb-usb/af9005.c i2caddr, &temp, 1); temp 393 drivers/media/usb/dvb-usb/af9005.c data[i] = temp; temp 776 drivers/media/usb/dvb-usb/af9005.c int temp, ret; temp 779 drivers/media/usb/dvb-usb/af9005.c temp = 1; temp 781 drivers/media/usb/dvb-usb/af9005.c temp = 0; temp 782 drivers/media/usb/dvb-usb/af9005.c if (st->led_state != temp) { temp 786 drivers/media/usb/dvb-usb/af9005.c reg_top_locken1_len, temp); temp 792 drivers/media/usb/dvb-usb/af9005.c reg_top_lock1_len, temp); temp 795 drivers/media/usb/dvb-usb/af9005.c st->led_state = temp; temp 416 drivers/media/usb/usbvision/usbvision-i2c.c char temp[4]; temp 423 drivers/media/usb/usbvision/usbvision-i2c.c retval = usbvision_i2c_read_max4(usbvision, addr, temp, count); temp 426 drivers/media/usb/usbvision/usbvision-i2c.c buf[rdcount + i] = temp[i]; temp 728 drivers/media/usb/zr364xx/zr364xx.c int temp; temp 734 drivers/media/usb/zr364xx/zr364xx.c temp = (0x60 << 8) + 127 - ctrl->val; temp 735 drivers/media/usb/zr364xx/zr364xx.c send_control_msg(cam->udev, 1, temp, 0, NULL, 0); temp 255 drivers/memory/emif.c u32 temp; temp 293 drivers/memory/emif.c temp = readl(base + EMIF_POWER_MANAGEMENT_CONTROL); temp 294 drivers/memory/emif.c temp &= ~LP_MODE_MASK; temp 295 drivers/memory/emif.c temp |= (lpmode << LP_MODE_SHIFT); temp 296 drivers/memory/emif.c writel(temp, base + EMIF_POWER_MANAGEMENT_CONTROL); temp 838 drivers/memory/emif.c u32 temp, temperature_level; temp 851 drivers/memory/emif.c temp = readl(base + EMIF_LPDDR2_MODE_REG_DATA); temp 852 drivers/memory/emif.c temp = (temp & MR4_SDRAM_REF_RATE_MASK) temp 854 drivers/memory/emif.c temperature_level = max(temp, temperature_level); temp 1433 drivers/memory/emif.c void *temp; temp 1446 drivers/memory/emif.c temp = devm_kzalloc(dev, sizeof(*pd), GFP_KERNEL); temp 1454 drivers/memory/emif.c memcpy(temp, pd, sizeof(*pd)); temp 1455 drivers/memory/emif.c pd = temp; temp 1488 drivers/memory/emif.c temp = devm_kzalloc(dev, sizeof(*cust_cfgs), GFP_KERNEL); temp 1489 drivers/memory/emif.c if (temp) temp 1490 drivers/memory/emif.c memcpy(temp, cust_cfgs, sizeof(*cust_cfgs)); temp 1494 drivers/memory/emif.c pd->custom_configs = temp; temp 1503 drivers/memory/emif.c temp = devm_kzalloc(dev, size, GFP_KERNEL); temp 1504 drivers/memory/emif.c if (temp) { temp 1505 drivers/memory/emif.c memcpy(temp, pd->timings, size); temp 1506 drivers/memory/emif.c pd->timings = temp; temp 1517 drivers/memory/emif.c temp = devm_kzalloc(dev, sizeof(*pd->min_tck), GFP_KERNEL); temp 1518 drivers/memory/emif.c if (temp) { temp 1519 drivers/memory/emif.c memcpy(temp, pd->min_tck, sizeof(*pd->min_tck)); temp 1520 drivers/memory/emif.c pd->min_tck = temp; temp 1495 drivers/memory/omap-gpmc.c u32 temp; temp 1499 drivers/memory/omap-gpmc.c temp = gpmc_ps_to_ticks(time_ps); temp 1500 drivers/memory/omap-gpmc.c temp = (temp + div - 1) / div; temp 1501 drivers/memory/omap-gpmc.c return gpmc_ticks_to_ps(temp * div); temp 1509 drivers/memory/omap-gpmc.c u32 temp; temp 1512 drivers/memory/omap-gpmc.c temp = dev_t->t_avdp_r; temp 1519 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_avdh); temp 1520 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); temp 1522 drivers/memory/omap-gpmc.c gpmc_t->adv_rd_off = gpmc_round_ps_to_ticks(temp); temp 1525 drivers/memory/omap-gpmc.c temp = dev_t->t_oeasu; /* XXX: remove this ? */ temp 1527 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_ach); temp 1528 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_rd_off + temp 1531 drivers/memory/omap-gpmc.c gpmc_t->oe_on = gpmc_round_ps_to_ticks(temp); temp 1538 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_iaa, dev_t->cyc_iaa * gpmc_t->sync_clk); temp 1539 drivers/memory/omap-gpmc.c temp += gpmc_t->clk_activation; temp 1541 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->oe_on + temp 1543 drivers/memory/omap-gpmc.c gpmc_t->access = gpmc_round_ps_to_ticks(temp); temp 1549 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_cez_r, dev_t->t_oez); temp 1550 drivers/memory/omap-gpmc.c temp = gpmc_round_ps_to_sync_clk(temp, gpmc_t->sync_clk) + temp 1554 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->cs_rd_off + dev_t->t_ce_rdyz); temp 1555 drivers/memory/omap-gpmc.c gpmc_t->rd_cycle = gpmc_round_ps_to_ticks(temp); temp 1564 drivers/memory/omap-gpmc.c u32 temp; temp 1567 drivers/memory/omap-gpmc.c temp = dev_t->t_avdp_w; temp 1569 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, temp 1571 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); temp 1573 drivers/memory/omap-gpmc.c gpmc_t->adv_wr_off = gpmc_round_ps_to_ticks(temp); temp 1576 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_weasu, temp 1582 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, temp 1584 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_wr_off + temp 1587 drivers/memory/omap-gpmc.c gpmc_t->wr_data_mux_bus = gpmc_round_ps_to_ticks(temp); temp 1600 drivers/memory/omap-gpmc.c temp = gpmc_t->we_on + dev_t->t_wpl; temp 1601 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, temp 1603 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, temp 1605 drivers/memory/omap-gpmc.c gpmc_t->we_off = gpmc_round_ps_to_ticks(temp); temp 1611 drivers/memory/omap-gpmc.c temp = gpmc_round_ps_to_sync_clk(dev_t->t_cez_w, gpmc_t->sync_clk); temp 1612 drivers/memory/omap-gpmc.c temp += gpmc_t->wr_access; temp 1615 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, temp 1617 drivers/memory/omap-gpmc.c gpmc_t->wr_cycle = gpmc_round_ps_to_ticks(temp); temp 1626 drivers/memory/omap-gpmc.c u32 temp; temp 1629 drivers/memory/omap-gpmc.c temp = dev_t->t_avdp_r; temp 1631 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); temp 1632 drivers/memory/omap-gpmc.c gpmc_t->adv_rd_off = gpmc_round_ps_to_ticks(temp); temp 1635 drivers/memory/omap-gpmc.c temp = dev_t->t_oeasu; temp 1637 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, temp 1639 drivers/memory/omap-gpmc.c gpmc_t->oe_on = gpmc_round_ps_to_ticks(temp); temp 1642 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_iaa, /* XXX: remove t_iaa in async ? */ temp 1644 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, temp 1646 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, temp 1648 drivers/memory/omap-gpmc.c gpmc_t->access = gpmc_round_ps_to_ticks(temp); temp 1654 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_rd_cycle, temp 1656 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->oe_off + dev_t->t_oez); temp 1657 drivers/memory/omap-gpmc.c gpmc_t->rd_cycle = gpmc_round_ps_to_ticks(temp); temp 1666 drivers/memory/omap-gpmc.c u32 temp; temp 1669 drivers/memory/omap-gpmc.c temp = dev_t->t_avdp_w; temp 1671 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); temp 1672 drivers/memory/omap-gpmc.c gpmc_t->adv_wr_off = gpmc_round_ps_to_ticks(temp); temp 1675 drivers/memory/omap-gpmc.c temp = dev_t->t_weasu; temp 1677 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_wr_off + dev_t->t_aavdh); temp 1678 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_wr_off + temp 1681 drivers/memory/omap-gpmc.c gpmc_t->wr_data_mux_bus = gpmc_round_ps_to_ticks(temp); temp 1690 drivers/memory/omap-gpmc.c temp = gpmc_t->we_on + dev_t->t_wpl; temp 1691 drivers/memory/omap-gpmc.c gpmc_t->we_off = gpmc_round_ps_to_ticks(temp); temp 1697 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_wr_cycle, temp 1699 drivers/memory/omap-gpmc.c gpmc_t->wr_cycle = gpmc_round_ps_to_ticks(temp); temp 1707 drivers/memory/omap-gpmc.c u32 temp; temp 1716 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_ces, dev_t->t_avds); temp 1717 drivers/memory/omap-gpmc.c gpmc_t->clk_activation = gpmc_round_ps_to_ticks(temp); temp 1738 drivers/memory/omap-gpmc.c u32 temp; temp 1744 drivers/memory/omap-gpmc.c temp = dev_t->t_avdasu; temp 1746 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, temp 1748 drivers/memory/omap-gpmc.c gpmc_t->adv_on = gpmc_round_ps_to_ticks(temp); temp 225 drivers/memory/ti-emif-pm.c unsigned long temp; temp 230 drivers/memory/ti-emif-pm.c temp = readl(emif_instance->pm_data.ti_emif_base_addr_virt + temp 233 drivers/memory/ti-emif-pm.c temp = (temp & SDRAM_TYPE_MASK) >> SDRAM_TYPE_SHIFT; temp 234 drivers/memory/ti-emif-pm.c return temp; temp 135 drivers/mfd/rave-sp.c s16 temp[2]; temp 1202 drivers/mfd/twl-core.c u8 temp; temp 1204 drivers/mfd/twl-core.c twl_i2c_read_u8(TWL4030_MODULE_INTBR, &temp, REG_GPPUPDCTR1); temp 1205 drivers/mfd/twl-core.c temp &= ~(SR_I2C_SDA_CTRL_PU | SR_I2C_SCL_CTRL_PU | \ temp 1207 drivers/mfd/twl-core.c twl_i2c_write_u8(TWL4030_MODULE_INTBR, temp, REG_GPPUPDCTR1); temp 1209 drivers/mfd/twl-core.c twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &temp, temp 1211 drivers/mfd/twl-core.c temp |= SMARTREFLEX_ENABLE; temp 1212 drivers/mfd/twl-core.c twl_i2c_write_u8(TWL_MODULE_PM_RECEIVER, temp, temp 72 drivers/misc/apds9802als.c int temp; temp 81 drivers/misc/apds9802als.c temp = i2c_smbus_read_byte_data(client, 0x81); temp 82 drivers/misc/apds9802als.c i2c_smbus_write_byte_data(client, 0x81, temp | 0x08); temp 88 drivers/misc/apds9802als.c temp = i2c_smbus_read_byte_data(client, 0x8C); /* LSB data */ temp 89 drivers/misc/apds9802als.c if (temp < 0) { temp 90 drivers/misc/apds9802als.c ret_val = temp; temp 100 drivers/misc/apds9802als.c temp = (ret_val << 8) | temp; temp 101 drivers/misc/apds9802als.c return sprintf(buf, "%d\n", temp); temp 121 drivers/misc/ics932s401.c int i, temp; temp 135 drivers/misc/ics932s401.c temp = i2c_smbus_read_word_data(client, regs_to_copy[i]); temp 136 drivers/misc/ics932s401.c if (temp < 0) temp 138 drivers/misc/ics932s401.c data->regs[regs_to_copy[i]] = temp >> 8; temp 44 drivers/misc/isl29020.c int temp; temp 50 drivers/misc/isl29020.c temp = i2c_smbus_read_byte_data(client, 0x02); /* MSB data */ temp 51 drivers/misc/isl29020.c if (temp < 0) { temp 54 drivers/misc/isl29020.c return temp; temp 65 drivers/misc/isl29020.c ret_val |= temp << 8; temp 47 drivers/misc/mic/scif/scif_debugfs.c window, window->type, window->temp, window->offset); temp 792 drivers/misc/mic/scif/scif_dma.c u8 *temp, size_t rem_len, bool to_temp) temp 809 drivers/misc/mic/scif/scif_dma.c memcpy(temp, window_virt, loop_len); temp 811 drivers/misc/mic/scif/scif_dma.c memcpy(window_virt, temp, loop_len); temp 814 drivers/misc/mic/scif/scif_dma.c temp += loop_len; temp 830 drivers/misc/mic/scif/scif_dma.c memcpy(temp, window_virt, loop_len); temp 832 drivers/misc/mic/scif/scif_dma.c memcpy(window_virt, temp, loop_len); temp 834 drivers/misc/mic/scif/scif_dma.c temp += loop_len; temp 868 drivers/misc/mic/scif/scif_dma.c u8 *temp, struct dma_chan *chan, temp 903 drivers/misc/mic/scif/scif_dma.c scif_unaligned_cpy_toio(window_virt_addr, temp, temp 908 drivers/misc/mic/scif/scif_dma.c scif_unaligned_cpy_fromio(temp, window_virt_addr, temp 914 drivers/misc/mic/scif/scif_dma.c temp += loop_len; temp 935 drivers/misc/mic/scif/scif_dma.c temp_dma_addr = (dma_addr_t)virt_to_phys(temp); temp 1025 drivers/misc/mic/scif/scif_dma.c temp += loop_len; temp 1054 drivers/misc/mic/scif/scif_dma.c scif_unaligned_cpy_toio(window_virt_addr, temp, temp 1057 drivers/misc/mic/scif/scif_dma.c scif_unaligned_cpy_fromio(temp, window_virt_addr, temp 1539 drivers/misc/mic/scif/scif_dma.c u8 *temp = NULL; temp 1569 drivers/misc/mic/scif/scif_dma.c temp = kmalloc(work->len + (L1_CACHE_BYTES << 1), temp 1571 drivers/misc/mic/scif/scif_dma.c if (!temp) temp 1573 drivers/misc/mic/scif/scif_dma.c comp_cb->temp_buf_to_free = temp; temp 1575 drivers/misc/mic/scif/scif_dma.c if (!IS_ALIGNED((u64)temp, L1_CACHE_BYTES)) temp 1576 drivers/misc/mic/scif/scif_dma.c temp = PTR_ALIGN(temp, L1_CACHE_BYTES); temp 1579 drivers/misc/mic/scif/scif_dma.c temp = kmem_cache_alloc(unaligned_cache, GFP_KERNEL); temp 1580 drivers/misc/mic/scif/scif_dma.c if (!temp) temp 1582 drivers/misc/mic/scif/scif_dma.c comp_cb->temp_buf_to_free = temp; temp 1586 drivers/misc/mic/scif/scif_dma.c temp += dst_cache_off; temp 1588 drivers/misc/mic/scif/scif_dma.c temp, work->len, true); temp 1597 drivers/misc/mic/scif/scif_dma.c comp_cb->temp_buf = temp; temp 1599 drivers/misc/mic/scif/scif_dma.c err = scif_map_single(&comp_cb->temp_phys, temp, temp 1604 drivers/misc/mic/scif/scif_dma.c if (scif_rma_list_dma_copy_unaligned(work, temp, chan, src_local) < 0) temp 140 drivers/misc/mic/scif/scif_rma.c s64 offset, bool temp) temp 166 drivers/misc/mic/scif/scif_rma.c window->temp = temp; temp 310 drivers/misc/mic/scif/scif_rma.c if (!window->temp && window->mm) { temp 270 drivers/misc/mic/scif/scif_rma.h bool temp; temp 329 drivers/misc/mic/scif/scif_rma.h s64 offset, bool temp); temp 78 drivers/misc/mic/scif/scif_rma_list.c struct list_head *item, *temp, *head = req->head; temp 96 drivers/misc/mic/scif/scif_rma_list.c list_for_each_safe(item, temp, head) { temp 1816 drivers/mmc/core/core.c unsigned int temp = from_new; temp 1818 drivers/mmc/core/core.c from_new = round_up(temp, card->erase_size); temp 1819 drivers/mmc/core/core.c rem = from_new - temp; temp 244 drivers/mmc/host/bcm2835.c u32 temp; temp 257 drivers/mmc/host/bcm2835.c temp = readl(host->ioaddr + SDEDM); temp 258 drivers/mmc/host/bcm2835.c temp &= ~((SDEDM_THRESHOLD_MASK << SDEDM_READ_THRESHOLD_SHIFT) | temp 260 drivers/mmc/host/bcm2835.c temp |= (FIFO_READ_THRESHOLD << SDEDM_READ_THRESHOLD_SHIFT) | temp 262 drivers/mmc/host/bcm2835.c writel(temp, host->ioaddr + SDEDM); temp 647 drivers/mmc/host/davinci_mmc.c u32 temp; temp 658 drivers/mmc/host/davinci_mmc.c temp = readl(host->base + DAVINCI_MMCCLK) & ~MMCCLK_CLKRT_MASK; temp 659 drivers/mmc/host/davinci_mmc.c temp |= open_drain_freq; temp 660 drivers/mmc/host/davinci_mmc.c writel(temp, host->base + DAVINCI_MMCCLK); temp 665 drivers/mmc/host/davinci_mmc.c u32 temp; temp 671 drivers/mmc/host/davinci_mmc.c temp = readl(host->base + DAVINCI_MMCCLK) & ~MMCCLK_CLKEN; temp 672 drivers/mmc/host/davinci_mmc.c writel(temp, host->base + DAVINCI_MMCCLK); temp 676 drivers/mmc/host/davinci_mmc.c temp = readl(host->base + DAVINCI_MMCCLK) & ~MMCCLK_CLKRT_MASK; temp 677 drivers/mmc/host/davinci_mmc.c temp |= mmc_push_pull_freq; temp 678 drivers/mmc/host/davinci_mmc.c writel(temp, host->base + DAVINCI_MMCCLK); temp 680 drivers/mmc/host/davinci_mmc.c writel(temp | MMCCLK_CLKEN, host->base + DAVINCI_MMCCLK); temp 830 drivers/mmc/host/davinci_mmc.c u32 temp; temp 832 drivers/mmc/host/davinci_mmc.c temp = readl(host->base + DAVINCI_MMCCTL); temp 834 drivers/mmc/host/davinci_mmc.c temp |= MMCCTL_CMDRST | MMCCTL_DATRST; temp 836 drivers/mmc/host/davinci_mmc.c temp &= ~(MMCCTL_CMDRST | MMCCTL_DATRST); temp 838 drivers/mmc/host/davinci_mmc.c writel(temp, host->base + DAVINCI_MMCCTL); temp 961 drivers/mmc/host/davinci_mmc.c u32 temp = readb(host->base + DAVINCI_MMCDRSP); temp 963 drivers/mmc/host/davinci_mmc.c if (temp == 0x9f) temp 454 drivers/mmc/host/dw_mmc.c u32 temp; temp 457 drivers/mmc/host/dw_mmc.c temp = mci_readl(host, CTRL); temp 458 drivers/mmc/host/dw_mmc.c temp &= ~SDMMC_CTRL_USE_IDMAC; temp 459 drivers/mmc/host/dw_mmc.c temp |= SDMMC_CTRL_DMA_RESET; temp 460 drivers/mmc/host/dw_mmc.c mci_writel(host, CTRL, temp); temp 463 drivers/mmc/host/dw_mmc.c temp = mci_readl(host, BMOD); temp 464 drivers/mmc/host/dw_mmc.c temp &= ~(SDMMC_IDMAC_ENABLE | SDMMC_IDMAC_FB); temp 465 drivers/mmc/host/dw_mmc.c temp |= SDMMC_IDMAC_SWRESET; temp 466 drivers/mmc/host/dw_mmc.c mci_writel(host, BMOD, temp); temp 721 drivers/mmc/host/dw_mmc.c u32 temp; temp 740 drivers/mmc/host/dw_mmc.c temp = mci_readl(host, CTRL); temp 741 drivers/mmc/host/dw_mmc.c temp |= SDMMC_CTRL_USE_IDMAC; temp 742 drivers/mmc/host/dw_mmc.c mci_writel(host, CTRL, temp); temp 748 drivers/mmc/host/dw_mmc.c temp = mci_readl(host, BMOD); temp 749 drivers/mmc/host/dw_mmc.c temp |= SDMMC_IDMAC_ENABLE | SDMMC_IDMAC_FB; temp 750 drivers/mmc/host/dw_mmc.c mci_writel(host, BMOD, temp); temp 1078 drivers/mmc/host/dw_mmc.c u32 temp; temp 1110 drivers/mmc/host/dw_mmc.c temp = mci_readl(host, CTRL); temp 1111 drivers/mmc/host/dw_mmc.c temp |= SDMMC_CTRL_DMA_ENABLE; temp 1112 drivers/mmc/host/dw_mmc.c mci_writel(host, CTRL, temp); temp 1116 drivers/mmc/host/dw_mmc.c temp = mci_readl(host, INTMASK); temp 1117 drivers/mmc/host/dw_mmc.c temp &= ~(SDMMC_INT_RXDR | SDMMC_INT_TXDR); temp 1118 drivers/mmc/host/dw_mmc.c mci_writel(host, INTMASK, temp); temp 1137 drivers/mmc/host/dw_mmc.c u32 temp; temp 1166 drivers/mmc/host/dw_mmc.c temp = mci_readl(host, INTMASK); temp 1167 drivers/mmc/host/dw_mmc.c temp |= SDMMC_INT_TXDR | SDMMC_INT_RXDR; temp 1168 drivers/mmc/host/dw_mmc.c mci_writel(host, INTMASK, temp); temp 1171 drivers/mmc/host/dw_mmc.c temp = mci_readl(host, CTRL); temp 1172 drivers/mmc/host/dw_mmc.c temp &= ~SDMMC_CTRL_DMA_ENABLE; temp 1173 drivers/mmc/host/dw_mmc.c mci_writel(host, CTRL, temp); temp 3143 drivers/mmc/host/dw_mmc.c u32 temp; temp 3154 drivers/mmc/host/dw_mmc.c temp = mci_readl(host, INTMASK); temp 3155 drivers/mmc/host/dw_mmc.c temp |= SDMMC_INT_CD; temp 3156 drivers/mmc/host/dw_mmc.c mci_writel(host, INTMASK, temp); temp 826 drivers/mmc/host/mmc_spi.c u8 temp; temp 828 drivers/mmc/host/mmc_spi.c temp = *cp; temp 829 drivers/mmc/host/mmc_spi.c *cp++ = leftover | (temp >> bitshift); temp 830 drivers/mmc/host/mmc_spi.c leftover = temp << bitright; temp 833 drivers/mmc/host/mmc_spi.c temp = *cp; temp 834 drivers/mmc/host/mmc_spi.c *cp++ = leftover | (temp >> bitshift); temp 835 drivers/mmc/host/mmc_spi.c leftover = temp << bitright; temp 836 drivers/mmc/host/mmc_spi.c temp = *cp; temp 837 drivers/mmc/host/mmc_spi.c *cp = leftover | (temp >> bitshift); temp 746 drivers/mmc/host/sdhci-esdhc-imx.c u32 temp, val; temp 767 drivers/mmc/host/sdhci-esdhc-imx.c temp = readl(host->ioaddr + ESDHC_DLL_CTRL); temp 769 drivers/mmc/host/sdhci-esdhc-imx.c if (temp & BIT(10)) temp 773 drivers/mmc/host/sdhci-esdhc-imx.c temp = sdhci_readl(host, ESDHC_SYSTEM_CONTROL); temp 774 drivers/mmc/host/sdhci-esdhc-imx.c temp &= ~(ESDHC_CLOCK_IPGEN | ESDHC_CLOCK_HCKEN | ESDHC_CLOCK_PEREN temp 776 drivers/mmc/host/sdhci-esdhc-imx.c sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); temp 800 drivers/mmc/host/sdhci-esdhc-imx.c temp = sdhci_readl(host, ESDHC_SYSTEM_CONTROL); temp 801 drivers/mmc/host/sdhci-esdhc-imx.c temp |= (ESDHC_CLOCK_IPGEN | ESDHC_CLOCK_HCKEN | ESDHC_CLOCK_PEREN temp 804 drivers/mmc/host/sdhci-esdhc-imx.c sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); temp 603 drivers/mmc/host/sdhci-of-esdhc.c u32 temp; temp 625 drivers/mmc/host/sdhci-of-esdhc.c temp = sdhci_readl(host, ESDHC_SYSTEM_CONTROL); temp 626 drivers/mmc/host/sdhci-of-esdhc.c temp &= ~(ESDHC_CLOCK_SDCLKEN | ESDHC_CLOCK_IPGEN | ESDHC_CLOCK_HCKEN | temp 628 drivers/mmc/host/sdhci-of-esdhc.c sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); temp 663 drivers/mmc/host/sdhci-of-esdhc.c temp = sdhci_readl(host, ESDHC_SYSTEM_CONTROL); temp 664 drivers/mmc/host/sdhci-of-esdhc.c temp |= (ESDHC_CLOCK_IPGEN | ESDHC_CLOCK_HCKEN | ESDHC_CLOCK_PEREN temp 667 drivers/mmc/host/sdhci-of-esdhc.c sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); temp 671 drivers/mmc/host/sdhci-of-esdhc.c temp = sdhci_readl(host, ESDHC_TBCTL); temp 672 drivers/mmc/host/sdhci-of-esdhc.c sdhci_writel(host, temp | ESDHC_HS400_MODE, ESDHC_TBCTL); temp 673 drivers/mmc/host/sdhci-of-esdhc.c temp = sdhci_readl(host, ESDHC_SDCLKCTL); temp 674 drivers/mmc/host/sdhci-of-esdhc.c sdhci_writel(host, temp | ESDHC_CMD_CLK_CTL, ESDHC_SDCLKCTL); temp 677 drivers/mmc/host/sdhci-of-esdhc.c temp = sdhci_readl(host, ESDHC_DLLCFG0); temp 678 drivers/mmc/host/sdhci-of-esdhc.c temp |= ESDHC_DLL_ENABLE; temp 680 drivers/mmc/host/sdhci-of-esdhc.c temp |= ESDHC_DLL_FREQ_SEL; temp 681 drivers/mmc/host/sdhci-of-esdhc.c sdhci_writel(host, temp, ESDHC_DLLCFG0); temp 682 drivers/mmc/host/sdhci-of-esdhc.c temp = sdhci_readl(host, ESDHC_TBCTL); temp 683 drivers/mmc/host/sdhci-of-esdhc.c sdhci_writel(host, temp | ESDHC_HS400_WNDW_ADJUST, ESDHC_TBCTL); temp 686 drivers/mmc/host/sdhci-of-esdhc.c temp = sdhci_readl(host, ESDHC_DMA_SYSCTL); temp 687 drivers/mmc/host/sdhci-of-esdhc.c temp |= ESDHC_FLUSH_ASYNC_FIFO; temp 688 drivers/mmc/host/sdhci-of-esdhc.c sdhci_writel(host, temp, ESDHC_DMA_SYSCTL); temp 706 drivers/mmc/host/sdhci-of-esdhc.c temp = sdhci_readl(host, ESDHC_SYSTEM_CONTROL); temp 707 drivers/mmc/host/sdhci-of-esdhc.c temp |= ESDHC_CLOCK_SDCLKEN; temp 708 drivers/mmc/host/sdhci-of-esdhc.c sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); temp 38 drivers/mtd/inftlcore.c unsigned long temp; temp 77 drivers/mtd/inftlcore.c temp = inftl->cylinders * inftl->heads; temp 78 drivers/mtd/inftlcore.c inftl->sectors = inftl->mbd.size / temp; temp 79 drivers/mtd/inftlcore.c if (inftl->mbd.size % temp) { temp 81 drivers/mtd/inftlcore.c temp = inftl->cylinders * inftl->sectors; temp 82 drivers/mtd/inftlcore.c inftl->heads = inftl->mbd.size / temp; temp 84 drivers/mtd/inftlcore.c if (inftl->mbd.size % temp) { temp 86 drivers/mtd/inftlcore.c temp = inftl->heads * inftl->sectors; temp 87 drivers/mtd/inftlcore.c inftl->cylinders = inftl->mbd.size / temp; temp 51 drivers/mtd/maps/lantiq-flash.c map_word temp; temp 56 drivers/mtd/maps/lantiq-flash.c temp.x[0] = *(u16 *)(map->virt + adr); temp 58 drivers/mtd/maps/lantiq-flash.c return temp; temp 2719 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nand_chip *entry, *temp; temp 2721 drivers/mtd/nand/raw/marvell_nand.c list_for_each_entry_safe(entry, temp, &nfc->chips, node) { temp 344 drivers/mtd/nand/raw/meson_nand.c int len, temp; temp 346 drivers/mtd/nand/raw/meson_nand.c temp = nand->ecc.size + nand->ecc.bytes; temp 347 drivers/mtd/nand/raw/meson_nand.c len = (temp + 2) * i; temp 510 drivers/mtd/nand/raw/mtk_nand.c u32 temp, tsel = 0; temp 547 drivers/mtd/nand/raw/mtk_nand.c temp = (twh + 1) * 1000000 / rate; temp 549 drivers/mtd/nand/raw/mtk_nand.c temp *= 1000; temp 555 drivers/mtd/nand/raw/mtk_nand.c if (temp < timings->tWC_min) temp 556 drivers/mtd/nand/raw/mtk_nand.c twst = timings->tWC_min - temp; temp 565 drivers/mtd/nand/raw/mtk_nand.c if (temp < timings->tRC_min) temp 566 drivers/mtd/nand/raw/mtk_nand.c trlt = timings->tRC_min - temp; temp 572 drivers/mtd/nand/raw/mtk_nand.c temp = (trlt + 1) * 1000000 / rate; temp 574 drivers/mtd/nand/raw/mtk_nand.c temp *= 1000; temp 579 drivers/mtd/nand/raw/mtk_nand.c if (temp < timings->tREA_max) { temp 588 drivers/mtd/nand/raw/mtk_nand.c temp = nfi_readl(nfc, NFI_DEBUG_CON1); temp 589 drivers/mtd/nand/raw/mtk_nand.c temp &= ~STROBE_MASK; temp 590 drivers/mtd/nand/raw/mtk_nand.c temp |= tsel << STROBE_SHIFT; temp 591 drivers/mtd/nand/raw/mtk_nand.c nfi_writel(nfc, temp, NFI_DEBUG_CON1); temp 38 drivers/mtd/nftlcore.c unsigned long temp; temp 70 drivers/mtd/nftlcore.c temp = nftl->cylinders * nftl->heads; temp 71 drivers/mtd/nftlcore.c nftl->sectors = nftl->mbd.size / temp; temp 72 drivers/mtd/nftlcore.c if (nftl->mbd.size % temp) { temp 74 drivers/mtd/nftlcore.c temp = nftl->cylinders * nftl->sectors; temp 75 drivers/mtd/nftlcore.c nftl->heads = nftl->mbd.size / temp; temp 77 drivers/mtd/nftlcore.c if (nftl->mbd.size % temp) { temp 79 drivers/mtd/nftlcore.c temp = nftl->heads * nftl->sectors; temp 80 drivers/mtd/nftlcore.c nftl->cylinders = nftl->mbd.size / temp; temp 349 drivers/mtd/spi-nor/aspeed-smc.c __be32 temp; temp 361 drivers/mtd/spi-nor/aspeed-smc.c temp = cpu_to_be32(cmdaddr); temp 362 drivers/mtd/spi-nor/aspeed-smc.c aspeed_smc_write_to_ahb(chip->ahb_base, &temp, 4); temp 365 drivers/mtd/spi-nor/aspeed-smc.c temp = cpu_to_be32(addr); temp 367 drivers/mtd/spi-nor/aspeed-smc.c aspeed_smc_write_to_ahb(chip->ahb_base, &temp, 4); temp 553 drivers/mtd/spi-nor/cadence-quadspi.c unsigned int temp = ioread32(ahb_base); temp 556 drivers/mtd/spi-nor/cadence-quadspi.c memcpy(rxbuf, &temp, min((unsigned int) temp 660 drivers/mtd/spi-nor/cadence-quadspi.c unsigned int temp = 0xFFFFFFFF; temp 662 drivers/mtd/spi-nor/cadence-quadspi.c memcpy(&temp, txbuf, mod_bytes); temp 663 drivers/mtd/spi-nor/cadence-quadspi.c iowrite32(temp, cqspi->ahb_base); temp 3484 drivers/net/bonding/bond_main.c struct rtnl_link_stats64 temp; temp 3500 drivers/net/bonding/bond_main.c dev_get_stats(slave->dev, &temp); temp 127 drivers/net/dsa/b53/b53_mdio.c u64 temp = 0; temp 136 drivers/net/dsa/b53/b53_mdio.c temp <<= 16; temp 137 drivers/net/dsa/b53/b53_mdio.c temp |= mdiobus_read_nested(bus, BRCM_PSEUDO_PHY_ADDR, temp 141 drivers/net/dsa/b53/b53_mdio.c *val = temp; temp 149 drivers/net/dsa/b53/b53_mdio.c u64 temp = 0; temp 158 drivers/net/dsa/b53/b53_mdio.c temp <<= 16; temp 159 drivers/net/dsa/b53/b53_mdio.c temp |= mdiobus_read_nested(bus, BRCM_PSEUDO_PHY_ADDR, temp 163 drivers/net/dsa/b53/b53_mdio.c *val = temp; temp 200 drivers/net/dsa/b53/b53_mdio.c u32 temp = value; temp 205 drivers/net/dsa/b53/b53_mdio.c temp & 0xffff); temp 208 drivers/net/dsa/b53/b53_mdio.c temp >>= 16; temp 219 drivers/net/dsa/b53/b53_mdio.c u64 temp = value; temp 224 drivers/net/dsa/b53/b53_mdio.c temp & 0xffff); temp 227 drivers/net/dsa/b53/b53_mdio.c temp >>= 16; temp 238 drivers/net/dsa/b53/b53_mdio.c u64 temp = value; temp 243 drivers/net/dsa/b53/b53_mdio.c temp & 0xffff); temp 246 drivers/net/dsa/b53/b53_mdio.c temp >>= 16; temp 1378 drivers/net/ethernet/3com/3c515.c void *temp; temp 1382 drivers/net/ethernet/3com/3c515.c temp = skb_put(skb, pkt_len); temp 1384 drivers/net/ethernet/3com/3c515.c if (isa_bus_to_virt(vp->rx_ring[entry].addr) != temp) temp 1388 drivers/net/ethernet/3com/3c515.c skb->head, temp); temp 113 drivers/net/ethernet/amazon/ena/ena_eth_com.h int temp; temp 123 drivers/net/ethernet/amazon/ena/ena_eth_com.h temp = required_buffers / io_sq->llq_info.descs_per_entry + 2; temp 125 drivers/net/ethernet/amazon/ena/ena_eth_com.h return ena_com_free_desc(io_sq) > temp; temp 892 drivers/net/ethernet/amd/xgbe/xgbe-dev.c u32 temp = 0; temp 902 drivers/net/ethernet/amd/xgbe/xgbe-dev.c temp = ((crc & 1) ^ data_byte) & 1; temp 906 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (temp) temp 1551 drivers/net/ethernet/apm/xgene/xgene_enet_main.c u64 temp; temp 1553 drivers/net/ethernet/apm/xgene/xgene_enet_main.c status = acpi_evaluate_integer(ACPI_HANDLE(dev), "_SUN", NULL, &temp); temp 1557 drivers/net/ethernet/apm/xgene/xgene_enet_main.c pdata->port_id = temp; temp 21 drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c int temp; temp 35 drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c err = aq_nic->aq_fw_ops->get_phy_temp(aq_nic->aq_hw, &temp); temp 36 drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c *value = temp; temp 261 drivers/net/ethernet/aquantia/atlantic/aq_hw.h int (*get_phy_temp)(struct aq_hw_s *self, int *temp); temp 311 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c static int aq_fw2x_get_phy_temp(struct aq_hw_s *self, int *temp) temp 340 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c *temp = (temp_res & 0xFFFF) * 1000 / 256; temp 10323 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 temp; temp 10324 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp = vars->line_speed; temp 10328 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->line_speed = temp; temp 11017 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 temp; temp 11027 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c &temp); temp 11028 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp &= ~(0xf << 4); temp 11029 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp |= (0x6 << 4); temp 11032 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_REG_GPHY_SHADOW_WR_ENA | temp); temp 11047 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 autoneg_val, an_1000_val, an_10_100_val, fc_val, temp; temp 11086 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c &temp); temp 11087 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp |= MDIO_REG_GPHY_SHADOW_INVERT_FIB_SD; temp 11090 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_REG_GPHY_SHADOW_WR_ENA | temp); temp 11192 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_cl22_read(bp, phy, MDIO_REG_GPHY_EXP_ACCESS_GATE, &temp); temp 11193 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp &= 0xfffe; temp 11194 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_cl22_write(bp, phy, MDIO_REG_GPHY_EXP_ACCESS_GATE, temp); temp 11223 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp = 6; temp 11226 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp = 0; temp 11230 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_AN_REG_EEE_ADV, temp); temp 11252 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 temp; temp 11259 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c &temp); temp 11260 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp &= 0xff00; temp 11266 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp |= 0x00ee; temp 11269 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp |= 0x0001; temp 11272 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c temp |= 0x00ff; temp 11279 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_REG_GPHY_SHADOW_WR_ENA | temp); temp 8928 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 temp = 0; temp 8934 drivers/net/ethernet/broadcom/bnxt/bnxt.c temp = resp->temp * 1000; /* display millidegree */ temp 8937 drivers/net/ethernet/broadcom/bnxt/bnxt.c return sprintf(buf, "%u\n", temp); temp 7180 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h u8 temp; temp 2548 drivers/net/ethernet/brocade/bna/bnad.c bnad_q_num_adjust(struct bnad *bnad, int msix_vectors, int temp) temp 306 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c u64 temp; temp 329 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c temp = oct->sriov_info.rings_per_vf & 0xff; temp 330 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c reg_val |= (temp << CN23XX_PKT_MAC_CTL_RINFO_RPVF_BIT_POS); temp 333 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c temp = oct->sriov_info.max_vfs & 0xff; temp 334 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c reg_val |= (temp << CN23XX_PKT_MAC_CTL_RINFO_NVFS_BIT_POS); temp 1035 drivers/net/ethernet/cavium/liquidio/octeon_device.c struct list_head freelist, *temp, *tmp2; temp 1046 drivers/net/ethernet/cavium/liquidio/octeon_device.c temp = dispatch->next; temp 1047 drivers/net/ethernet/cavium/liquidio/octeon_device.c list_move_tail(temp, &freelist); temp 1057 drivers/net/ethernet/cavium/liquidio/octeon_device.c list_for_each_safe(temp, tmp2, &freelist) { temp 1058 drivers/net/ethernet/cavium/liquidio/octeon_device.c list_del(temp); temp 1059 drivers/net/ethernet/cavium/liquidio/octeon_device.c vfree(temp); temp 13 drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c int *temp) temp 28 drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c *temp = val * 1000; temp 45 drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c int trip, int *temp) temp 52 drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c *temp = adap->ch_thermal.trip_temp; temp 229 drivers/net/ethernet/dec/tulip/interrupt.c char *temp = skb_put(skb = tp->rx_buffers[entry].skb, temp 239 drivers/net/ethernet/dec/tulip/interrupt.c skb->head, temp); temp 455 drivers/net/ethernet/dec/tulip/interrupt.c char *temp = skb_put(skb = tp->rx_buffers[entry].skb, temp 465 drivers/net/ethernet/dec/tulip/interrupt.c skb->head, temp); temp 534 drivers/net/ethernet/freescale/enetc/enetc_pf.c u32 temp; temp 537 drivers/net/ethernet/freescale/enetc/enetc_pf.c temp = enetc_port_rd(hw, ENETC_PFPMR); temp 539 drivers/net/ethernet/freescale/enetc/enetc_pf.c temp | ENETC_PFPMR_PMACE | ENETC_PFPMR_MWLM); temp 541 drivers/net/ethernet/freescale/enetc/enetc_pf.c temp = enetc_port_rd(hw, ENETC_MMCSR); temp 542 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(hw, ENETC_MMCSR, temp | ENETC_MMCSR_ME); temp 180 drivers/net/ethernet/freescale/fs_enet/mac-fec.c int temp, hash_index; temp 185 drivers/net/ethernet/freescale/fs_enet/mac-fec.c temp = (crc & 0x3f) >> 1; temp 186 drivers/net/ethernet/freescale/fs_enet/mac-fec.c hash_index = ((temp & 0x01) << 4) | temp 187 drivers/net/ethernet/freescale/fs_enet/mac-fec.c ((temp & 0x02) << 2) | temp 188 drivers/net/ethernet/freescale/fs_enet/mac-fec.c ((temp & 0x04)) | temp 189 drivers/net/ethernet/freescale/fs_enet/mac-fec.c ((temp & 0x08) >> 2) | temp 190 drivers/net/ethernet/freescale/fs_enet/mac-fec.c ((temp & 0x10) >> 4); temp 3497 drivers/net/ethernet/freescale/gianfar.c u32 temp; temp 3499 drivers/net/ethernet/freescale/gianfar.c temp = gfar_read(®s->rctrl); temp 3500 drivers/net/ethernet/freescale/gianfar.c temp &= ~(RCTRL_FILREN | RCTRL_PRSDEP_INIT); temp 3501 drivers/net/ethernet/freescale/gianfar.c gfar_write(®s->rctrl, temp); temp 3507 drivers/net/ethernet/freescale/gianfar.c u32 temp; temp 3509 drivers/net/ethernet/freescale/gianfar.c temp = gfar_read(®s->rctrl); temp 3510 drivers/net/ethernet/freescale/gianfar.c temp |= RCTRL_FILREN | RCTRL_PRSDEP_INIT; temp 3511 drivers/net/ethernet/freescale/gianfar.c gfar_write(®s->rctrl, temp); temp 1302 drivers/net/ethernet/freescale/gianfar_ethtool.c struct ethtool_flow_spec_container *temp, *comp; temp 1305 drivers/net/ethernet/freescale/gianfar_ethtool.c temp = kmalloc(sizeof(*temp), GFP_KERNEL); temp 1306 drivers/net/ethernet/freescale/gianfar_ethtool.c if (temp == NULL) temp 1308 drivers/net/ethernet/freescale/gianfar_ethtool.c memcpy(&temp->fs, flow, sizeof(temp->fs)); temp 1310 drivers/net/ethernet/freescale/gianfar_ethtool.c gfar_invert_masks(&temp->fs); temp 1311 drivers/net/ethernet/freescale/gianfar_ethtool.c ret = gfar_check_capability(&temp->fs, priv); temp 1319 drivers/net/ethernet/freescale/gianfar_ethtool.c list_add(&temp->list, &priv->rx_list.list); temp 1324 drivers/net/ethernet/freescale/gianfar_ethtool.c list_add_tail(&temp->list, &comp->list); temp 1335 drivers/net/ethernet/freescale/gianfar_ethtool.c list_add_tail(&temp->list, &priv->rx_list.list); temp 1347 drivers/net/ethernet/freescale/gianfar_ethtool.c list_del(&temp->list); temp 1349 drivers/net/ethernet/freescale/gianfar_ethtool.c kfree(temp); temp 1405 drivers/net/ethernet/freescale/ucc_geth.c u32 temp; temp 1423 drivers/net/ethernet/freescale/ucc_geth.c temp = in_be32(uccf->p_ucce); temp 1424 drivers/net/ethernet/freescale/ucc_geth.c } while (!(temp & UCC_GETH_UCCE_GRA) && --i); temp 1435 drivers/net/ethernet/freescale/ucc_geth.c u8 temp; temp 1441 drivers/net/ethernet/freescale/ucc_geth.c temp = in_8(&ugeth->p_rx_glbl_pram->rxgstpack); temp 1442 drivers/net/ethernet/freescale/ucc_geth.c temp &= ~GRACEFUL_STOP_ACKNOWLEDGE_RX; temp 1443 drivers/net/ethernet/freescale/ucc_geth.c out_8(&ugeth->p_rx_glbl_pram->rxgstpack, temp); temp 1455 drivers/net/ethernet/freescale/ucc_geth.c temp = in_8(&ugeth->p_rx_glbl_pram->rxgstpack); temp 1456 drivers/net/ethernet/freescale/ucc_geth.c } while (!(temp & GRACEFUL_STOP_ACKNOWLEDGE_RX) && --i); temp 839 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct rtnl_link_stats64 temp; temp 848 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c net_stats = dev_get_stats(netdev, &temp); temp 153 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c u8 *temp; temp 198 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c temp = (u8 *)&req->msg[4]; temp 200 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c resp->additional_info[i] = *temp; temp 201 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c temp++; temp 590 drivers/net/ethernet/huawei/hinic/hinic_port.c u32 *temp; temp 612 drivers/net/ethernet/huawei/hinic/hinic_port.c temp = (u32 *)&indir_tbl->entry[i - 3]; temp 613 drivers/net/ethernet/huawei/hinic/hinic_port.c *temp = cpu_to_be32(*temp); temp 781 drivers/net/ethernet/huawei/hinic/hinic_port.c const u8 *temp) temp 792 drivers/net/ethernet/huawei/hinic/hinic_port.c memcpy(rss_key.key, temp, HINIC_RSS_KEY_SIZE); temp 808 drivers/net/ethernet/huawei/hinic/hinic_port.c u8 *temp) temp 817 drivers/net/ethernet/huawei/hinic/hinic_port.c if (!hwdev || !temp) temp 835 drivers/net/ethernet/huawei/hinic/hinic_port.c memcpy(temp, temp_key.key, HINIC_RSS_KEY_SIZE); temp 553 drivers/net/ethernet/huawei/hinic/hinic_port.h const u8 *temp); temp 573 drivers/net/ethernet/huawei/hinic/hinic_port.h u8 *temp); temp 1844 drivers/net/ethernet/ibm/ehea/ehea_main.c struct list_head *temp; temp 1848 drivers/net/ethernet/ibm/ehea/ehea_main.c list_for_each_safe(pos, temp, &(port->mc_list->list)) { temp 792 drivers/net/ethernet/intel/e1000/e1000_ethtool.c u16 temp; temp 799 drivers/net/ethernet/intel/e1000/e1000_ethtool.c if ((e1000_read_eeprom(hw, i, 1, &temp)) < 0) { temp 803 drivers/net/ethernet/intel/e1000/e1000_ethtool.c checksum += temp; temp 4392 drivers/net/ethernet/intel/e1000/e1000_hw.c u32 temp; temp 4395 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = E1000_READ_REG_ARRAY(hw, VFTA, (offset - 1)); temp 4398 drivers/net/ethernet/intel/e1000/e1000_hw.c E1000_WRITE_REG_ARRAY(hw, VFTA, (offset - 1), temp); temp 4434 drivers/net/ethernet/intel/e1000/e1000_hw.c u16 eeprom_data, i, temp; temp 4458 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = (eeprom_data >> (i << 2)) & led_mask; temp 4459 drivers/net/ethernet/intel/e1000/e1000_hw.c switch (temp) { temp 4476 drivers/net/ethernet/intel/e1000/e1000_hw.c switch (temp) { temp 4678 drivers/net/ethernet/intel/e1000/e1000_hw.c volatile u32 temp; temp 4680 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(CRCERRS); temp 4681 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(SYMERRS); temp 4682 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(MPC); temp 4683 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(SCC); temp 4684 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(ECOL); temp 4685 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(MCC); temp 4686 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(LATECOL); temp 4687 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(COLC); temp 4688 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(DC); temp 4689 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(SEC); temp 4690 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(RLEC); temp 4691 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(XONRXC); temp 4692 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(XONTXC); temp 4693 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(XOFFRXC); temp 4694 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(XOFFTXC); temp 4695 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(FCRUC); temp 4697 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PRC64); temp 4698 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PRC127); temp 4699 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PRC255); temp 4700 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PRC511); temp 4701 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PRC1023); temp 4702 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PRC1522); temp 4704 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(GPRC); temp 4705 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(BPRC); temp 4706 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(MPRC); temp 4707 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(GPTC); temp 4708 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(GORCL); temp 4709 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(GORCH); temp 4710 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(GOTCL); temp 4711 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(GOTCH); temp 4712 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(RNBC); temp 4713 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(RUC); temp 4714 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(RFC); temp 4715 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(ROC); temp 4716 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(RJC); temp 4717 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(TORL); temp 4718 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(TORH); temp 4719 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(TOTL); temp 4720 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(TOTH); temp 4721 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(TPR); temp 4722 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(TPT); temp 4724 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PTC64); temp 4725 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PTC127); temp 4726 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PTC255); temp 4727 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PTC511); temp 4728 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PTC1023); temp 4729 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(PTC1522); temp 4731 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(MPTC); temp 4732 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(BPTC); temp 4737 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(ALGNERRC); temp 4738 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(RXERRC); temp 4739 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(TNCRS); temp 4740 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(CEXTERR); temp 4741 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(TSCTC); temp 4742 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(TSCTFC); temp 4747 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(MGTPRC); temp 4748 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(MGTPDC); temp 4749 drivers/net/ethernet/intel/e1000/e1000_hw.c temp = er32(MGTPTC); temp 345 drivers/net/ethernet/intel/e1000e/80003es2lan.c u16 temp; temp 361 drivers/net/ethernet/intel/e1000e/80003es2lan.c temp = (u16)((u16)offset >> GG82563_PAGE_SHIFT); temp 362 drivers/net/ethernet/intel/e1000e/80003es2lan.c ret_val = e1000e_write_phy_reg_mdic(hw, page_select, temp); temp 376 drivers/net/ethernet/intel/e1000e/80003es2lan.c ret_val = e1000e_read_phy_reg_mdic(hw, page_select, &temp); temp 378 drivers/net/ethernet/intel/e1000e/80003es2lan.c if (((u16)offset >> GG82563_PAGE_SHIFT) != temp) { temp 414 drivers/net/ethernet/intel/e1000e/80003es2lan.c u16 temp; temp 430 drivers/net/ethernet/intel/e1000e/80003es2lan.c temp = (u16)((u16)offset >> GG82563_PAGE_SHIFT); temp 431 drivers/net/ethernet/intel/e1000e/80003es2lan.c ret_val = e1000e_write_phy_reg_mdic(hw, page_select, temp); temp 445 drivers/net/ethernet/intel/e1000e/80003es2lan.c ret_val = e1000e_read_phy_reg_mdic(hw, page_select, &temp); temp 447 drivers/net/ethernet/intel/e1000e/80003es2lan.c if (((u16)offset >> GG82563_PAGE_SHIFT) != temp) { temp 950 drivers/net/ethernet/intel/e1000e/ethtool.c u16 temp; temp 957 drivers/net/ethernet/intel/e1000e/ethtool.c if ((e1000_read_nvm(&adapter->hw, i, 1, &temp)) < 0) { temp 961 drivers/net/ethernet/intel/e1000e/ethtool.c checksum += temp; temp 4553 drivers/net/ethernet/intel/e1000e/ich8lan.c u16 data, i, temp, shift; temp 4565 drivers/net/ethernet/intel/e1000e/ich8lan.c temp = (data >> (i << 2)) & E1000_LEDCTL_LED0_MODE_MASK; temp 4567 drivers/net/ethernet/intel/e1000e/ich8lan.c switch (temp) { temp 4584 drivers/net/ethernet/intel/e1000e/ich8lan.c switch (temp) { temp 1473 drivers/net/ethernet/intel/e1000e/mac.c u16 data, i, temp; temp 1485 drivers/net/ethernet/intel/e1000e/mac.c temp = (data >> (i << 2)) & led_mask; temp 1486 drivers/net/ethernet/intel/e1000e/mac.c switch (temp) { temp 1503 drivers/net/ethernet/intel/e1000e/mac.c switch (temp) { temp 4333 drivers/net/ethernet/intel/e1000e/netdev.c u64 time_delta, rem, temp; temp 4347 drivers/net/ethernet/intel/e1000e/netdev.c temp = time_delta; temp 4349 drivers/net/ethernet/intel/e1000e/netdev.c rem = incvalue ? do_div(temp, incvalue) : (time_delta != 0); temp 2540 drivers/net/ethernet/intel/e1000e/phy.c u16 temp; temp 2562 drivers/net/ethernet/intel/e1000e/phy.c temp = *phy_reg; temp 2563 drivers/net/ethernet/intel/e1000e/phy.c temp |= BM_WUC_ENABLE_BIT; temp 2564 drivers/net/ethernet/intel/e1000e/phy.c temp &= ~(BM_WUC_ME_WU_BIT | BM_WUC_HOST_WU_BIT); temp 2566 drivers/net/ethernet/intel/e1000e/phy.c ret_val = e1000e_write_phy_reg_mdic(hw, BM_WUC_ENABLE_REG, temp); temp 769 drivers/net/ethernet/intel/ice/ice_sched.c u32 temp; temp 809 drivers/net/ethernet/intel/ice/ice_sched.c first_teid_ptr = &temp; temp 2793 drivers/net/ethernet/intel/igb/e1000_82575.c data->sensor[0].temp = (rd32(E1000_THMJT) & 0xFF); temp 2820 drivers/net/ethernet/intel/igb/e1000_82575.c &data->sensor[i].temp); temp 345 drivers/net/ethernet/intel/igb/e1000_hw.h u8 temp; temp 1373 drivers/net/ethernet/intel/igb/e1000_mac.c u16 data, i, temp; temp 1391 drivers/net/ethernet/intel/igb/e1000_mac.c temp = (data >> (i << 2)) & led_mask; temp 1392 drivers/net/ethernet/intel/igb/e1000_mac.c switch (temp) { temp 1409 drivers/net/ethernet/intel/igb/e1000_mac.c switch (temp) { temp 44 drivers/net/ethernet/intel/igb/igb_hwmon.c value = igb_attr->sensor->temp; temp 3945 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c &data->sensor[i].temp); temp 1196 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c struct rtnl_link_stats64 temp; temp 1204 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c net_stats = dev_get_stats(netdev, &temp); temp 38 drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c value = ixgbe_attr->sensor->temp; temp 204 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h u8 temp; temp 425 drivers/net/ethernet/intel/ixgbevf/ethtool.c struct rtnl_link_stats64 temp; temp 433 drivers/net/ethernet/intel/ixgbevf/ethtool.c net_stats = dev_get_stats(netdev, &temp); temp 1360 drivers/net/ethernet/marvell/mv643xx_eth.c u64 temp; temp 1363 drivers/net/ethernet/marvell/mv643xx_eth.c temp = ((val & 0x02000000) >> 10) | ((val & 0x003fff80) >> 7); temp 1365 drivers/net/ethernet/marvell/mv643xx_eth.c temp = (val & 0x003fff00) >> 8; temp 1367 drivers/net/ethernet/marvell/mv643xx_eth.c temp *= 64000000; temp 1368 drivers/net/ethernet/marvell/mv643xx_eth.c temp += mp->t_clk / 2; temp 1369 drivers/net/ethernet/marvell/mv643xx_eth.c do_div(temp, mp->t_clk); temp 1371 drivers/net/ethernet/marvell/mv643xx_eth.c return (unsigned int)temp; temp 1376 drivers/net/ethernet/marvell/mv643xx_eth.c u64 temp; temp 1379 drivers/net/ethernet/marvell/mv643xx_eth.c temp = (u64)usec * mp->t_clk; temp 1380 drivers/net/ethernet/marvell/mv643xx_eth.c temp += 31999999; temp 1381 drivers/net/ethernet/marvell/mv643xx_eth.c do_div(temp, 64000000); temp 1385 drivers/net/ethernet/marvell/mv643xx_eth.c if (temp > 0xffff) temp 1386 drivers/net/ethernet/marvell/mv643xx_eth.c temp = 0xffff; temp 1388 drivers/net/ethernet/marvell/mv643xx_eth.c val |= (temp & 0x8000) << 10; temp 1389 drivers/net/ethernet/marvell/mv643xx_eth.c val |= (temp & 0x7fff) << 7; temp 1391 drivers/net/ethernet/marvell/mv643xx_eth.c if (temp > 0x3fff) temp 1392 drivers/net/ethernet/marvell/mv643xx_eth.c temp = 0x3fff; temp 1394 drivers/net/ethernet/marvell/mv643xx_eth.c val |= (temp & 0x3fff) << 8; temp 1401 drivers/net/ethernet/marvell/mv643xx_eth.c u64 temp; temp 1403 drivers/net/ethernet/marvell/mv643xx_eth.c temp = (rdlp(mp, TX_FIFO_URGENT_THRESHOLD) & 0x3fff0) >> 4; temp 1404 drivers/net/ethernet/marvell/mv643xx_eth.c temp *= 64000000; temp 1405 drivers/net/ethernet/marvell/mv643xx_eth.c temp += mp->t_clk / 2; temp 1406 drivers/net/ethernet/marvell/mv643xx_eth.c do_div(temp, mp->t_clk); temp 1408 drivers/net/ethernet/marvell/mv643xx_eth.c return (unsigned int)temp; temp 1413 drivers/net/ethernet/marvell/mv643xx_eth.c u64 temp; temp 1415 drivers/net/ethernet/marvell/mv643xx_eth.c temp = (u64)usec * mp->t_clk; temp 1416 drivers/net/ethernet/marvell/mv643xx_eth.c temp += 31999999; temp 1417 drivers/net/ethernet/marvell/mv643xx_eth.c do_div(temp, 64000000); temp 1419 drivers/net/ethernet/marvell/mv643xx_eth.c if (temp > 0x3fff) temp 1420 drivers/net/ethernet/marvell/mv643xx_eth.c temp = 0x3fff; temp 1422 drivers/net/ethernet/marvell/mv643xx_eth.c wrlp(mp, TX_FIFO_URGENT_THRESHOLD, temp << 4); temp 63 drivers/net/ethernet/mellanox/mlx4/cq.c struct mlx4_cq *mcq, *temp; temp 69 drivers/net/ethernet/mellanox/mlx4/cq.c list_for_each_entry_safe(mcq, temp, &ctx->process_list, tasklet_ctx.list) { temp 605 drivers/net/ethernet/mellanox/mlx4/en_rx.c __wsum temp; temp 613 drivers/net/ethernet/mellanox/mlx4/en_rx.c temp = csum_add(hw_checksum, *(__wsum *)ipv6h); temp 615 drivers/net/ethernet/mellanox/mlx4/en_rx.c skb->csum = csum_add(temp, (__force __wsum)*(__be16 *)&ipv6h->nexthdr); temp 52 drivers/net/ethernet/mellanox/mlx5/core/cq.c struct mlx5_core_cq *temp; temp 58 drivers/net/ethernet/mellanox/mlx5/core/cq.c list_for_each_entry_safe(mcq, temp, &ctx->process_list, temp 160 drivers/net/ethernet/mellanox/mlx5/core/en/port.c unsigned long temp = eth_proto_oper; temp 167 drivers/net/ethernet/mellanox/mlx5/core/en/port.c i = find_first_bit(&temp, max_size); temp 442 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c struct dcb_app temp; temp 455 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c temp.selector = IEEE_8021QAZ_APP_SEL_DSCP; temp 456 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c temp.protocol = app->protocol; temp 457 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c temp.priority = priv->dcbx_dp.dscp2prio[app->protocol]; temp 475 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c err = dcb_ieee_delapp(dev, &temp); temp 1065 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c struct dcb_app temp; temp 1078 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c temp.selector = IEEE_8021QAZ_APP_SEL_DSCP; temp 1080 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c temp.protocol = i; temp 1081 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c temp.priority = priv->dcbx_dp.dscp2prio[i]; temp 1083 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c dcb_ieee_setapp(priv->netdev, &temp); temp 1085 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c dcb_ieee_delapp(priv->netdev, &temp); temp 774 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c struct mlx5e_ethtool_rule *temp; temp 776 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c list_for_each_entry_safe(iter, temp, &priv->fs.ethtool.rules, list) temp 700 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct mlx5e_rep_indr_block_priv *cb_priv, *temp; temp 703 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c list_for_each_entry_safe(cb_priv, temp, head, list) { temp 638 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c struct mlx5_fpga_dma_buf *buf, *temp; temp 651 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c list_for_each_entry_safe(buf, temp, &conn->qp.sq.backlog, list) { temp 2439 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c struct fs_node *temp; temp 2442 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c list_for_each_entry_safe(iter, temp, &node->children, list) temp 87 drivers/net/ethernet/mellanox/mlxsw/core_env.c int off, int *temp) temp 92 drivers/net/ethernet/mellanox/mlxsw/core_env.c u16 temp; temp 107 drivers/net/ethernet/mellanox/mlxsw/core_env.c *temp = 0; temp 143 drivers/net/ethernet/mellanox/mlxsw/core_env.c *temp = temp_thresh.temp * 1000; temp 8 drivers/net/ethernet/mellanox/mlxsw/core_env.h int off, int *temp); temp 55 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c int temp, index; temp 66 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL); temp 67 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c return sprintf(buf, "%d\n", temp); temp 217 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c int temp; temp 226 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL); temp 228 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c return sprintf(buf, "%d\n", temp); temp 240 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c u16 temp; temp 252 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_reg_mtbr_temp_unpack(mtbr_pl, 0, &temp, NULL); temp 255 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c switch (temp) { temp 280 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c int temp; temp 286 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c SFP_TEMP_HIGH_WARN, &temp); temp 292 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c return sprintf(buf, "%u\n", temp); temp 304 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c int temp; temp 309 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c SFP_TEMP_HIGH_ALARM, &temp); temp 315 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c return sprintf(buf, "%u\n", temp); temp 53 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c int temp; temp 62 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c .temp = MLXSW_THERMAL_ASIC_TEMP_NORM, temp 70 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c .temp = MLXSW_THERMAL_ASIC_TEMP_HIGH, temp 77 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c .temp = MLXSW_THERMAL_ASIC_TEMP_HOT, temp 84 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c .temp = MLXSW_THERMAL_ASIC_TEMP_CRIT, temp 155 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[MLXSW_THERMAL_TEMP_TRIP_NORM].temp = 0; temp 156 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[MLXSW_THERMAL_TEMP_TRIP_HIGH].temp = 0; temp 157 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[MLXSW_THERMAL_TEMP_TRIP_HOT].temp = 0; temp 158 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[MLXSW_THERMAL_TEMP_TRIP_CRIT].temp = 0; temp 188 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[MLXSW_THERMAL_TEMP_TRIP_NORM].temp = crit_temp - temp 191 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[MLXSW_THERMAL_TEMP_TRIP_NORM].temp = crit_temp; temp 192 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[MLXSW_THERMAL_TEMP_TRIP_HIGH].temp = crit_temp; temp 193 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[MLXSW_THERMAL_TEMP_TRIP_HOT].temp = emerg_temp; temp 195 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[MLXSW_THERMAL_TEMP_TRIP_CRIT].temp = emerg_temp + temp 198 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[MLXSW_THERMAL_TEMP_TRIP_CRIT].temp = emerg_temp; temp 206 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c int temp) temp 217 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c if (temp < trip->temp) { temp 218 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c delta = DIV_ROUND_CLOSEST(temp, trip->temp - temp); temp 315 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c int temp; temp 325 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL); temp 326 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c if (temp > 0) temp 328 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c temp); temp 330 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c *p_temp = temp; temp 355 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c *p_temp = thermal->trips[trip].temp; temp 360 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c int trip, int temp) temp 365 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c temp > MLXSW_THERMAL_ASIC_TEMP_CRIT) temp 368 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c thermal->trips[trip].temp = temp; temp 505 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c int temp; temp 516 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c temp = 0; temp 517 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c *p_temp = (int) temp; temp 520 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL); temp 521 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c *p_temp = temp; temp 523 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c if (!temp) temp 528 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c if (!err && temp > 0) temp 529 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_thermal_tz_score_update(thermal, tzdev, tz->trips, temp); temp 556 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c *p_temp = tz->trips[trip].temp; temp 562 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c int trip, int temp) temp 567 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c temp > tz->trips[MLXSW_THERMAL_TEMP_TRIP_CRIT].temp) temp 570 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c tz->trips[trip].temp = temp; temp 631 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c int temp; temp 641 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL); temp 642 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c if (temp > 0) temp 643 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_thermal_tz_score_update(thermal, tzdev, tz->trips, temp); temp 645 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c *p_temp = temp; temp 8272 drivers/net/ethernet/mellanox/mlxsw/reg.h s16 temp; temp 8275 drivers/net/ethernet/mellanox/mlxsw/reg.h temp = mlxsw_reg_mtmp_temperature_get(payload); temp 8276 drivers/net/ethernet/mellanox/mlxsw/reg.h *p_temp = MLXSW_REG_MTMP_TEMP_TO_MC(temp); temp 8279 drivers/net/ethernet/mellanox/mlxsw/reg.h temp = mlxsw_reg_mtmp_max_temperature_get(payload); temp 8280 drivers/net/ethernet/mellanox/mlxsw/reg.h *p_max_temp = MLXSW_REG_MTMP_TEMP_TO_MC(temp); temp 3043 drivers/net/ethernet/micrel/ksz884x.c u16 temp = 0; temp 3049 drivers/net/ethernet/micrel/ksz884x.c temp |= (state_gpio(hw, EEPROM_DATA_IN)) ? 1 << i : 0; temp 3054 drivers/net/ethernet/micrel/ksz884x.c return temp; temp 833 drivers/net/ethernet/microchip/lan743x_main.c u32 temp; temp 835 drivers/net/ethernet/microchip/lan743x_main.c temp = lan743x_csr_read(adapter, MAC_RX); temp 836 drivers/net/ethernet/microchip/lan743x_main.c lan743x_csr_write(adapter, MAC_RX, temp | MAC_RX_RXEN_); temp 837 drivers/net/ethernet/microchip/lan743x_main.c temp = lan743x_csr_read(adapter, MAC_TX); temp 838 drivers/net/ethernet/microchip/lan743x_main.c lan743x_csr_write(adapter, MAC_TX, temp | MAC_TX_TXEN_); temp 844 drivers/net/ethernet/microchip/lan743x_main.c u32 temp; temp 846 drivers/net/ethernet/microchip/lan743x_main.c temp = lan743x_csr_read(adapter, MAC_TX); temp 847 drivers/net/ethernet/microchip/lan743x_main.c temp &= ~MAC_TX_TXEN_; temp 848 drivers/net/ethernet/microchip/lan743x_main.c lan743x_csr_write(adapter, MAC_TX, temp); temp 852 drivers/net/ethernet/microchip/lan743x_main.c temp = lan743x_csr_read(adapter, MAC_RX); temp 853 drivers/net/ethernet/microchip/lan743x_main.c temp &= ~MAC_RX_RXEN_; temp 854 drivers/net/ethernet/microchip/lan743x_main.c lan743x_csr_write(adapter, MAC_RX, temp); temp 881 drivers/net/ethernet/microchip/lan743x_ptp.c u32 temp; temp 885 drivers/net/ethernet/microchip/lan743x_ptp.c temp = lan743x_csr_read(adapter, PTP_TX_MOD2); temp 886 drivers/net/ethernet/microchip/lan743x_ptp.c temp |= PTP_TX_MOD2_TX_PTP_CLR_UDPV4_CHKSUM_; temp 887 drivers/net/ethernet/microchip/lan743x_ptp.c lan743x_csr_write(adapter, PTP_TX_MOD2, temp); temp 100 drivers/net/ethernet/neterion/vxge/vxge-main.c struct sk_buff **temp; temp 116 drivers/net/ethernet/neterion/vxge/vxge-main.c for (temp = completed; temp != skb_ptr; temp++) temp 117 drivers/net/ethernet/neterion/vxge/vxge-main.c dev_consume_skb_irq(*temp); temp 2290 drivers/net/ethernet/neterion/vxge/vxge-main.c int msix_intr_vect = 0, temp; temp 2363 drivers/net/ethernet/neterion/vxge/vxge-main.c temp = (ret - 1)/2; temp 2364 drivers/net/ethernet/neterion/vxge/vxge-main.c vxge_close_vpaths(vdev, temp); temp 2365 drivers/net/ethernet/neterion/vxge/vxge-main.c vdev->no_of_vpath = temp; temp 3674 drivers/net/ethernet/neterion/vxge/vxge-main.c int i, no_of_vpaths = 0, default_no_vpath = 0, temp; temp 3677 drivers/net/ethernet/neterion/vxge/vxge-main.c temp = driver_config->vpath_per_dev; temp 3852 drivers/net/ethernet/neterion/vxge/vxge-main.c driver_config->vpath_per_dev = temp; temp 1213 drivers/net/ethernet/netronome/nfp/flower/offload.c struct nfp_fl_payload_link *link, *temp; temp 1250 drivers/net/ethernet/netronome/nfp/flower/offload.c list_for_each_entry_safe(link, temp, &merge_flow->linked_flows, temp 1267 drivers/net/ethernet/netronome/nfp/flower/offload.c struct nfp_fl_payload_link *link, *temp; temp 1270 drivers/net/ethernet/netronome/nfp/flower/offload.c list_for_each_entry_safe(link, temp, &sub_flow->linked_flows, temp 2151 drivers/net/ethernet/nvidia/forcedeth.c u32 temp, seedset, combinedSeed; temp 2190 drivers/net/ethernet/nvidia/forcedeth.c temp = NVREG_BKOFFCTRL_DEFAULT | (0 << NVREG_BKOFFCTRL_SELECT); temp 2191 drivers/net/ethernet/nvidia/forcedeth.c temp |= combinedSeed & NVREG_BKOFFCTRL_SEED_MASK; temp 2192 drivers/net/ethernet/nvidia/forcedeth.c temp |= combinedSeed >> NVREG_BKOFFCTRL_GEAR; temp 2193 drivers/net/ethernet/nvidia/forcedeth.c writel(temp, base + NvRegBackOffControl); temp 2199 drivers/net/ethernet/nvidia/forcedeth.c temp = NVREG_BKOFFCTRL_DEFAULT | (i << NVREG_BKOFFCTRL_SELECT); temp 2200 drivers/net/ethernet/nvidia/forcedeth.c temp |= main_seedset[seedset][i-1] & 0x3ff; temp 2201 drivers/net/ethernet/nvidia/forcedeth.c temp |= ((gear_seedset[seedset][i-1] & 0x3ff) << NVREG_BKOFFCTRL_GEAR); temp 2202 drivers/net/ethernet/nvidia/forcedeth.c writel(temp, base + NvRegBackOffControl); temp 1631 drivers/net/ethernet/qlogic/netxen/netxen_nic.h u32 temp; temp 423 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c u32 temp; temp 451 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c temp = (NX_CAP0_LEGACY_CONTEXT | NX_CAP0_LEGACY_MN | NX_CAP0_LSO); temp 452 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c prq->capabilities[0] = cpu_to_le32(temp); temp 479 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c temp = le32_to_cpu(prsp->cds_ring.host_producer_crb); temp 481 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c NETXEN_NIC_REG(temp - 0x200)); temp 1440 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c u32 temp, off_lo, off_hi, addr_hi, data_hi, data_lo; temp 1494 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c temp = readl((mem_crb + TEST_AGT_CTRL)); temp 1495 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c if ((temp & TA_CTL_BUSY) == 0) temp 1517 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c u32 temp, off_lo, off_hi, addr_hi, data_hi, data_lo; temp 1569 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c temp = readl(mem_crb + TEST_AGT_CTRL); temp 1570 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c if ((temp & TA_CTL_BUSY) == 0) temp 1581 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c temp = readl(mem_crb + data_hi); temp 1582 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c val = ((u64)temp << 32); temp 1599 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c u32 temp, off8; temp 1643 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c temp = readl(mem_crb + TEST_AGT_CTRL); temp 1644 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c if ((temp & TA_CTL_BUSY) == 0) temp 1666 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c u32 temp, off8; temp 1706 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c temp = readl(mem_crb + TEST_AGT_CTRL); temp 1707 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c if ((temp & TA_CTL_BUSY) == 0) temp 1397 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c u32 temp; temp 1403 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c temp = NXRD32(adapter, NETXEN_ULA_KEY); temp 1404 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c switch (temp) { temp 2147 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c uint32_t temp, temp_state, temp_val; temp 2150 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c temp = NXRD32(adapter, CRB_TEMP_STATE); temp 2152 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c temp_state = nx_get_temp_state(temp); temp 2153 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c temp_val = nx_get_temp_val(temp); temp 2162 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (adapter->temp == NX_TEMP_NORMAL) { temp 2170 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (adapter->temp == NX_TEMP_WARN) { temp 2177 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c adapter->temp = temp_state; temp 2621 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (adapter->temp == NX_TEMP_PANIC) temp 6922 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct regpair temp[4]; temp 7039 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct regpair temp[4]; temp 7308 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct regpair temp[8]; temp 7354 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct regpair temp[9]; temp 7840 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct regpair temp[2]; temp 7845 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct regpair temp[16]; temp 7850 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct regpair temp[24]; temp 7855 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct regpair temp[30]; temp 7860 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct regpair temp[6]; temp 7865 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct regpair temp[12]; temp 183 drivers/net/ethernet/qlogic/qed/qed_ptp.c u32 temp = 0; temp 185 drivers/net/ethernet/qlogic/qed/qed_ptp.c temp = qed_rd(p_hwfn, p_ptt, NIG_REG_TSGEN_SYNC_TIME_LSB); temp 188 drivers/net/ethernet/qlogic/qed/qed_ptp.c *phc_cycles |= temp; temp 261 drivers/net/ethernet/qlogic/qede/qede_filter.c struct hlist_node *temp; temp 267 drivers/net/ethernet/qlogic/qede/qede_filter.c hlist_for_each_entry_safe(fltr, temp, head, node) { temp 1207 drivers/net/ethernet/qlogic/qede/qede_filter.c unsigned char *mc_macs, *temp; temp 1222 drivers/net/ethernet/qlogic/qede/qede_filter.c temp = mc_macs; temp 1235 drivers/net/ethernet/qlogic/qede/qede_filter.c ether_addr_copy(temp, ha->addr); temp 1236 drivers/net/ethernet/qlogic/qede/qede_filter.c temp += ETH_ALEN; temp 1271 drivers/net/ethernet/qlogic/qede/qede_filter.c unsigned char *uc_macs, *temp; temp 1288 drivers/net/ethernet/qlogic/qede/qede_filter.c temp = uc_macs; temp 1290 drivers/net/ethernet/qlogic/qede/qede_filter.c ether_addr_copy(temp, ha->addr); temp 1291 drivers/net/ethernet/qlogic/qede/qede_filter.c temp += ETH_ALEN; temp 1318 drivers/net/ethernet/qlogic/qede/qede_filter.c temp = uc_macs; temp 1322 drivers/net/ethernet/qlogic/qede/qede_filter.c temp); temp 1326 drivers/net/ethernet/qlogic/qede/qede_filter.c temp += ETH_ALEN; temp 1673 drivers/net/ethernet/qlogic/qede/qede_filter.c struct hlist_node *temp; temp 1678 drivers/net/ethernet/qlogic/qede/qede_filter.c hlist_for_each_entry_safe(fltr, temp, head, node) { temp 564 drivers/net/ethernet/qlogic/qla3xxx.c u32 temp; temp 568 drivers/net/ethernet/qlogic/qla3xxx.c temp = ql_read_page0_reg(qdev, &port_regs->macMIIStatusReg); temp 569 drivers/net/ethernet/qlogic/qla3xxx.c if (!(temp & MAC_MII_STATUS_BSY)) temp 671 drivers/net/ethernet/qlogic/qla3xxx.c u32 temp; temp 695 drivers/net/ethernet/qlogic/qla3xxx.c temp = ql_read_page0_reg(qdev, &port_regs->macMIIMgmtDataReg); temp 696 drivers/net/ethernet/qlogic/qla3xxx.c *value = (u16) temp; temp 734 drivers/net/ethernet/qlogic/qla3xxx.c u32 temp; temp 760 drivers/net/ethernet/qlogic/qla3xxx.c temp = ql_read_page0_reg(qdev, &port_regs->macMIIMgmtDataReg); temp 761 drivers/net/ethernet/qlogic/qla3xxx.c *value = (u16) temp; temp 1141 drivers/net/ethernet/qlogic/qla3xxx.c u32 temp; temp 1152 drivers/net/ethernet/qlogic/qla3xxx.c temp = ql_read_page0_reg(qdev, &port_regs->portStatus); temp 1153 drivers/net/ethernet/qlogic/qla3xxx.c return (temp & bitToCheck) != 0; temp 1171 drivers/net/ethernet/qlogic/qla3xxx.c u32 temp; temp 1182 drivers/net/ethernet/qlogic/qla3xxx.c temp = ql_read_page0_reg(qdev, &port_regs->portStatus); temp 1183 drivers/net/ethernet/qlogic/qla3xxx.c if (temp & bitToCheck) { temp 1207 drivers/net/ethernet/qlogic/qla3xxx.c u32 temp; temp 1217 drivers/net/ethernet/qlogic/qla3xxx.c temp = ql_read_page0_reg(qdev, &port_regs->portStatus); temp 1218 drivers/net/ethernet/qlogic/qla3xxx.c return (temp & bitToCheck) != 0; temp 1245 drivers/net/ethernet/qlogic/qla3xxx.c u32 temp; temp 1256 drivers/net/ethernet/qlogic/qla3xxx.c temp = temp 1258 drivers/net/ethernet/qlogic/qla3xxx.c return (temp & bitToCheck) != 0; temp 1299 drivers/net/ethernet/qlogic/qla3xxx.c u32 temp; temp 1312 drivers/net/ethernet/qlogic/qla3xxx.c temp = ql_read_page0_reg(qdev, &port_regs->portStatus); temp 1313 drivers/net/ethernet/qlogic/qla3xxx.c if (temp & bitToCheck) { temp 1417 drivers/net/ethernet/qlogic/qla3xxx.c u32 temp, linkState; temp 1428 drivers/net/ethernet/qlogic/qla3xxx.c temp = ql_read_page0_reg(qdev, &port_regs->portStatus); temp 1429 drivers/net/ethernet/qlogic/qla3xxx.c if (temp & bitToCheck) temp 518 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u32 temp; temp 902 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp; temp 924 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = adapter->ahw->fw_hal_version << 29; temp 925 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mbx->req.arg[0] = (type | (mbx->req.num << 16) | temp); temp 1143 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp = 0; temp 1154 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_pf_set_interface_id_del_rx_ctx(adapter, &temp); temp 1156 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[1] = recv_ctx->context_id | temp; temp 1296 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp = 0; temp 1305 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_pf_set_interface_id_del_tx_ctx(adapter, &temp); temp 1307 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[1] = tx_ring->ctx_id | temp; temp 1319 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 *buf, intr_mask, temp = 0; temp 1363 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_pf_set_interface_id_create_tx_ctx(adapter, &temp); temp 1366 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[5] = QLCNIC_SINGLE_RING | temp; temp 1693 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp; temp 1700 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = adapter->recv_ctx->context_id << 16; temp 1701 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[1] = (enable ? 1 : 0) | BIT_8 | temp; temp 1726 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp = 0; temp 1742 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_83xx_set_interface_id_promisc(adapter, &temp); temp 1747 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd->req.arg[1] = mode | temp; temp 1832 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c int temp; temp 1836 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = ahw->extend_lb_time * 1000; temp 1837 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c *max_wait_count += temp / QLC_83XX_LB_MSLEEP_COUNT; temp 1978 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp = 0, temp_ip; temp 1986 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_83xx_set_interface_id_ipaddr(adapter, &temp); temp 1989 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[1] = 1 | temp; temp 1991 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[1] = 2 | temp; temp 2015 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp, arg1; temp 2028 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = adapter->recv_ctx->context_id << 16; temp 2029 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c arg1 = lro_bit_mask | temp; temp 2095 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 *buf, temp = 0; temp 2116 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_83xx_set_interface_id_macaddr(adapter, &temp); temp 2117 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd->req.arg[1] |= temp; temp 2194 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u16 temp; temp 2201 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = adapter->recv_ctx->context_id; temp 2202 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[1] = QLCNIC_INTR_COAL_TYPE_RX | temp << 16; temp 2203 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = coal->rx_time_us; temp 2204 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[2] = coal->rx_packets | temp << 16; temp 2221 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u16 temp; temp 2228 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = adapter->tx_ring->ctx_id; temp 2229 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[1] = QLCNIC_INTR_COAL_TYPE_TX | temp << 16; temp 2230 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = coal->tx_time_us; temp 2231 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[2] = coal->tx_packets | temp << 16; temp 2416 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp; temp 2426 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = func_id << 16; temp 2427 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[1] = op | BIT_31 | temp; temp 2453 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = (cmd.rsp.arg[8] & 0x7FFE0000) >> 17; temp 2454 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c npar_info->max_linkspeed_reg_offset = temp; temp 2498 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp; temp 2520 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = (cmd.rsp.arg[i] & 0xFFFF0000) >> 16; temp 2521 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c pci_info->default_port = temp; temp 2524 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = (cmd.rsp.arg[i] & 0xFFFF0000) >> 16; temp 2525 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c pci_info->tx_max_bw = temp; temp 2553 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 val, temp, type; temp 2592 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = cmd.rsp.arg[index + 1]; temp 2593 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c adapter->ahw->intr_tbl[i].src = temp; temp 2894 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp; temp 2904 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = QLCRD32(adapter, QLC_83XX_FLASH_SPI_CONTROL, &err); temp 2909 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c (temp | QLC_83XX_FLASH_SPI_CTRL)); temp 2964 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = QLCRD32(adapter, QLC_83XX_FLASH_SPI_CONTROL, &err); temp 2970 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c (temp | QLC_83XX_FLASH_SPI_CTRL)); temp 3018 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 lock_alive_counter, val, id, i = 0, status = 0, temp = 0; temp 3030 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = QLCRDX(adapter->ahw, QLC_83XX_DRV_LOCK_ID); temp 3034 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c if (val == temp) { temp 3088 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp; temp 3115 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = qlcnic_ind_rd(adapter, QLCNIC_MS_CTRL); temp 3117 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c if ((temp & TA_CTL_BUSY) == 0) temp 3782 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 temp; temp 3792 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = QLCRD32(adapter, QLC_83XX_FLASH_RDDATA, &err); temp 3796 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c return temp & 0xFF; temp 831 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (ahw->temp == QLCNIC_TEMP_PANIC) { temp 835 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->temp); temp 1376 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c u32 dest, *p_cache, *temp; temp 1383 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c temp = vzalloc(fw->size); temp 1384 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (!temp) { temp 1396 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c temp[i] = __le32_to_cpu(temp_le[i]); temp 1400 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c p_cache = temp; temp 1414 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c data[i] = ((u8 *)temp)[size + i]; temp 1429 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c vfree(temp); temp 423 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c u32 temp, intr_mask, temp_int_crb_mode; temp 455 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c temp = (QLCNIC_CAP0_LEGACY_CONTEXT | QLCNIC_CAP0_LEGACY_MN | temp 458 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c temp |= QLCNIC_CAP0_TX_MULTI; temp 460 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c prq->capabilities[0] = cpu_to_le32(temp); temp 495 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c temp = le32_to_cpu(prsp->cds_ring.host_producer_crb); temp 496 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c tx_ring->crb_cmd_producer = adapter->ahw->pci_base0 + temp; temp 797 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c struct qlcnic_dcb_tc_cfg *tc_cfg, *temp; temp 821 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c temp = &type->tc_cfg[i]; temp 822 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c if (temp->valid && (pg == temp->pgid)) temp 1335 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c u32 temp, off8; temp 1366 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c temp = qlcnic_ind_rd(adapter, ms.control); temp 1367 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c if ((temp & TA_CTL_BUSY) == 0) temp 1387 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c temp = qlcnic_ind_rd(adapter, ms.control); temp 1388 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c if ((temp & TA_CTL_BUSY) == 0) temp 1409 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c u32 temp, off8; temp 1440 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c temp = qlcnic_ind_rd(adapter, ms.control); temp 1441 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c if ((temp & TA_CTL_BUSY) == 0) temp 1452 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c temp = qlcnic_ind_rd(adapter, ms.rd[3]); temp 1453 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c val = (u64)temp << 32; temp 798 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c __le32 temp; temp 800 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c temp = *((__le32 *)&unirom[adapter->file_prd_off] + temp 802 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c idx = le32_to_cpu(temp); temp 833 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c __le32 temp; temp 835 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c temp = *((__le32 *)&unirom[adapter->file_prd_off] + temp 837 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c idx = le32_to_cpu(temp); temp 867 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c __le32 temp; temp 890 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c temp = *((__le32 *)&unirom[offs] + QLCNIC_UNI_FLAGS_OFF); temp 891 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c flags = le32_to_cpu(temp); temp 892 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c temp = *((__le32 *)&unirom[offs] + QLCNIC_UNI_CHIP_REV_OFF); temp 893 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c file_chiprev = le32_to_cpu(temp); temp 947 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c __le32 temp; temp 949 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c temp = *((__le32 *)&unirom[adapter->file_prd_off] + idx_offset); temp 950 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c idx = le32_to_cpu(temp); temp 1044 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c __le32 temp; temp 1051 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c temp = *((__le32 *)(&fw->data[prd_off]) + QLCNIC_UNI_BIOS_VERSION_OFF); temp 1052 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c bios_ver = le32_to_cpu(temp); temp 1324 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c u32 temp; temp 1325 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c temp = QLCRD32(adapter, CRB_FW_CAPABILITIES_2, &err); temp 1328 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->ahw->extra_capability[0] = temp; temp 2957 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c u32 temp_state, temp_val, temp = 0; temp 2961 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c temp = QLCRDX(adapter->ahw, QLC_83XX_ASIC_TEMP); temp 2964 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c temp = QLC_SHARED_REG_RD32(adapter, QLCNIC_ASIC_TEMP); temp 2966 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c temp_state = qlcnic_get_temp_state(temp); temp 2967 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c temp_val = qlcnic_get_temp_val(temp); temp 2976 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (adapter->ahw->temp == QLCNIC_TEMP_NORMAL) { temp 2984 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (adapter->ahw->temp == QLCNIC_TEMP_WARN) { temp 2990 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->ahw->temp = temp_state; temp 3544 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (adapter->ahw->temp == QLCNIC_TEMP_PANIC) { temp 3546 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c adapter->ahw->temp); temp 409 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c u32 addr, data, temp; temp 453 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp = ctr->index_a; temp 454 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c if (temp) temp 457 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp); temp 463 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp = ctr->index_v; temp 464 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c if (temp) temp 467 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp); temp 471 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp = ctr->index_a; temp 472 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c if (temp) temp 475 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp); temp 773 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c u32 temp, dma_base_addr, size = 0, read_size = 0; temp 783 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp = qlcnic_get_saved_state(adapter, tmpl_hdr, temp 785 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c dma_base_addr = QLC_DMA_REG_BASE_ADDR(temp); temp 786 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp = qlcnic_ind_rd(adapter, temp 789 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c if (!(temp & BIT_31)) { temp 810 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp = 0; temp 811 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp = mem->dma_desc_cmd & 0xff0f; temp 812 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp |= (adapter->ahw->pci_func & 0xf) << 4; temp 813 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c dma_descr->dma_desc_cmd = (temp << 16) & 0xffff0000; temp 829 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp = sizeof(struct qlcnic_pex_dma_descriptor) / 16; temp 831 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c (u32 *)dma_descr, temp); temp 912 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c u32 data, wait_count, poll_wait, temp; temp 939 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c temp = qlcnic_ind_rd(adapter, poll->addr1); temp 940 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c if ((temp & poll->poll_mask) != 0) temp 76 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u32 num_vfs, max, temp; temp 96 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c temp = res->num_rx_ucast_mac_filters - num_macs * num_vfs; temp 97 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c info->max_rx_ucast_mac_filters = temp; temp 98 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c temp = res->num_tx_mac_filters - num_macs * num_vfs; temp 99 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c info->max_tx_mac_filters = temp; temp 100 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c temp = num_macs * num_vfs * QLCNIC_SRIOV_VF_MAX_MAC; temp 101 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c temp = res->num_rx_mcast_mac_filters - temp; temp 102 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c info->max_rx_mcast_mac_filters = temp; temp 115 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c temp = num_macs * QLCNIC_SRIOV_VF_MAX_MAC; temp 116 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c info->max_rx_mcast_mac_filters = temp; temp 160 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c int temp, total_fn; temp 162 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c temp = npar_info->max_rx_mcast_mac_filters; temp 165 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c temp = temp / (QLCNIC_SRIOV_VF_MAX_MAC * total_fn); temp 166 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c sriov->num_allowed_vlans = temp - 1; temp 6181 drivers/net/ethernet/sfc/ef10.c bool temp) temp 6188 drivers/net/ethernet/sfc/ef10.c (temp && channel->sync_events_state == SYNC_EVENTS_DISABLED)) temp 6201 drivers/net/ethernet/sfc/ef10.c channel->sync_events_state = temp ? SYNC_EVENTS_QUIESCENT : temp 6208 drivers/net/ethernet/sfc/ef10.c bool temp) temp 6214 drivers/net/ethernet/sfc/ef10.c (temp && channel->sync_events_state == SYNC_EVENTS_QUIESCENT)) temp 6220 drivers/net/ethernet/sfc/ef10.c channel->sync_events_state = temp ? SYNC_EVENTS_QUIESCENT : temp 6237 drivers/net/ethernet/sfc/ef10.c bool temp) temp 6239 drivers/net/ethernet/sfc/ef10.c int (*set)(struct efx_channel *channel, bool temp); temp 6248 drivers/net/ethernet/sfc/ef10.c int rc = set(channel, temp); temp 6250 drivers/net/ethernet/sfc/ef10.c efx_ef10_ptp_set_ts_sync_events(efx, false, temp); temp 494 drivers/net/ethernet/sfc/falcon/falcon.c ef4_oword_t temp; temp 498 drivers/net/ethernet/sfc/falcon/falcon.c memcpy(&temp, efx->rx_hash_key, sizeof(temp)); temp 499 drivers/net/ethernet/sfc/falcon/falcon.c ef4_writeo(efx, &temp, FR_BZ_RX_RSS_TKEY); temp 2478 drivers/net/ethernet/sfc/falcon/falcon.c ef4_oword_t temp; temp 2482 drivers/net/ethernet/sfc/falcon/falcon.c ef4_reado(efx, &temp, FR_AB_NIC_STAT); temp 2483 drivers/net/ethernet/sfc/falcon/falcon.c EF4_SET_OWORD_FIELD(temp, FRF_AB_ONCHIP_SRAM, 1); temp 2484 drivers/net/ethernet/sfc/falcon/falcon.c ef4_writeo(efx, &temp, FR_AB_NIC_STAT); temp 2494 drivers/net/ethernet/sfc/falcon/falcon.c ef4_reado(efx, &temp, FR_AZ_CSR_SPARE); temp 2495 drivers/net/ethernet/sfc/falcon/falcon.c EF4_SET_OWORD_FIELD(temp, FRF_AB_MEM_PERR_EN_TX_DATA, 0); temp 2496 drivers/net/ethernet/sfc/falcon/falcon.c ef4_writeo(efx, &temp, FR_AZ_CSR_SPARE); temp 2500 drivers/net/ethernet/sfc/falcon/falcon.c ef4_reado(efx, &temp, FR_BZ_RX_FILTER_CTL); temp 2501 drivers/net/ethernet/sfc/falcon/falcon.c EF4_SET_OWORD_FIELD(temp, FRF_BZ_UDP_FULL_SRCH_LIMIT, 8); temp 2502 drivers/net/ethernet/sfc/falcon/falcon.c EF4_SET_OWORD_FIELD(temp, FRF_BZ_UDP_WILD_SRCH_LIMIT, 8); temp 2503 drivers/net/ethernet/sfc/falcon/falcon.c EF4_SET_OWORD_FIELD(temp, FRF_BZ_TCP_FULL_SRCH_LIMIT, 8); temp 2504 drivers/net/ethernet/sfc/falcon/falcon.c EF4_SET_OWORD_FIELD(temp, FRF_BZ_TCP_WILD_SRCH_LIMIT, 8); temp 2505 drivers/net/ethernet/sfc/falcon/falcon.c ef4_writeo(efx, &temp, FR_BZ_RX_FILTER_CTL); temp 2512 drivers/net/ethernet/sfc/falcon/falcon.c ef4_reado(efx, &temp, FR_AA_RX_SELF_RST); temp 2513 drivers/net/ethernet/sfc/falcon/falcon.c EF4_SET_OWORD_FIELD(temp, FRF_AA_RX_NODESC_WAIT_DIS, 1); temp 2514 drivers/net/ethernet/sfc/falcon/falcon.c EF4_SET_OWORD_FIELD(temp, FRF_AA_RX_SELF_RST_EN, 1); temp 2516 drivers/net/ethernet/sfc/falcon/falcon.c EF4_SET_OWORD_FIELD(temp, FRF_AA_RX_ISCSI_DIS, 1); temp 2517 drivers/net/ethernet/sfc/falcon/falcon.c ef4_writeo(efx, &temp, FR_AA_RX_SELF_RST); temp 2522 drivers/net/ethernet/sfc/falcon/falcon.c ef4_reado(efx, &temp, FR_AZ_TX_CFG); temp 2523 drivers/net/ethernet/sfc/falcon/falcon.c EF4_SET_OWORD_FIELD(temp, FRF_AZ_TX_NO_EOP_DISC_EN, 0); temp 2524 drivers/net/ethernet/sfc/falcon/falcon.c ef4_writeo(efx, &temp, FR_AZ_TX_CFG); temp 2532 drivers/net/ethernet/sfc/falcon/falcon.c EF4_POPULATE_OWORD_1(temp, FRF_BZ_FLS_EVQ_ID, 0); temp 2533 drivers/net/ethernet/sfc/falcon/falcon.c ef4_writeo(efx, &temp, FR_BZ_DP_CTRL); temp 1670 drivers/net/ethernet/sfc/falcon/farch.c ef4_oword_t temp; temp 1673 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_OWORD_1(temp, FRF_AZ_SRM_TX_DC_BASE_ADR, efx->tx_dc_base); temp 1674 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &temp, FR_AZ_SRM_TX_DC_CFG); temp 1675 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_OWORD_1(temp, FRF_AZ_SRM_RX_DC_BASE_ADR, efx->rx_dc_base); temp 1676 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &temp, FR_AZ_SRM_RX_DC_CFG); temp 1680 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_OWORD_1(temp, FRF_AZ_TX_DC_SIZE, TX_DC_ENTRIES_ORDER); temp 1681 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &temp, FR_AZ_TX_DC_CFG); temp 1687 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_OWORD_1(temp, FRF_AZ_RX_DC_SIZE, RX_DC_ENTRIES_ORDER); temp 1688 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &temp, FR_AZ_RX_DC_CFG); temp 1689 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_OWORD_1(temp, FRF_AZ_RX_DC_PF_LWM, RX_DC_ENTRIES - 8); temp 1690 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &temp, FR_AZ_RX_DC_PF_WM); temp 1693 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_OWORD_2(temp, temp 1697 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &temp, FR_AZ_INT_ADR_KER); temp 1708 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_OWORD_3(temp, temp 1712 drivers/net/ethernet/sfc/falcon/farch.c EF4_INVERT_OWORD(temp); temp 1713 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &temp, FR_AZ_FATAL_INTR_KER); temp 1718 drivers/net/ethernet/sfc/falcon/farch.c ef4_reado(efx, &temp, FR_AZ_TX_RESERVED); temp 1719 drivers/net/ethernet/sfc/falcon/farch.c EF4_SET_OWORD_FIELD(temp, FRF_AZ_TX_RX_SPACER, 0xfe); temp 1720 drivers/net/ethernet/sfc/falcon/farch.c EF4_SET_OWORD_FIELD(temp, FRF_AZ_TX_RX_SPACER_EN, 1); temp 1721 drivers/net/ethernet/sfc/falcon/farch.c EF4_SET_OWORD_FIELD(temp, FRF_AZ_TX_ONE_PKT_PER_Q, 1); temp 1722 drivers/net/ethernet/sfc/falcon/farch.c EF4_SET_OWORD_FIELD(temp, FRF_AZ_TX_PUSH_EN, 1); temp 1723 drivers/net/ethernet/sfc/falcon/farch.c EF4_SET_OWORD_FIELD(temp, FRF_AZ_TX_DIS_NON_IP_EV, 1); temp 1725 drivers/net/ethernet/sfc/falcon/farch.c EF4_SET_OWORD_FIELD(temp, FRF_AZ_TX_SOFT_EVT_EN, 1); temp 1727 drivers/net/ethernet/sfc/falcon/farch.c EF4_SET_OWORD_FIELD(temp, FRF_AZ_TX_PREF_THRESHOLD, 2); temp 1729 drivers/net/ethernet/sfc/falcon/farch.c EF4_SET_OWORD_FIELD(temp, FRF_AZ_TX_PREF_WD_TMR, 0x3fffff); temp 1732 drivers/net/ethernet/sfc/falcon/farch.c EF4_SET_OWORD_FIELD(temp, FRF_BZ_TX_FLUSH_MIN_LEN_EN, 1); temp 1733 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &temp, FR_AZ_TX_RESERVED); temp 1736 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_OWORD_4(temp, temp 1745 drivers/net/ethernet/sfc/falcon/farch.c ef4_writeo(efx, &temp, FR_BZ_TX_PACE); temp 1728 drivers/net/ethernet/sfc/farch.c efx_oword_t temp; temp 1731 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_OWORD_1(temp, FRF_AZ_SRM_TX_DC_BASE_ADR, efx->tx_dc_base); temp 1732 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &temp, FR_AZ_SRM_TX_DC_CFG); temp 1733 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_OWORD_1(temp, FRF_AZ_SRM_RX_DC_BASE_ADR, efx->rx_dc_base); temp 1734 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &temp, FR_AZ_SRM_RX_DC_CFG); temp 1738 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_OWORD_1(temp, FRF_AZ_TX_DC_SIZE, TX_DC_ENTRIES_ORDER); temp 1739 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &temp, FR_AZ_TX_DC_CFG); temp 1745 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_OWORD_1(temp, FRF_AZ_RX_DC_SIZE, RX_DC_ENTRIES_ORDER); temp 1746 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &temp, FR_AZ_RX_DC_CFG); temp 1747 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_OWORD_1(temp, FRF_AZ_RX_DC_PF_LWM, RX_DC_ENTRIES - 8); temp 1748 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &temp, FR_AZ_RX_DC_PF_WM); temp 1751 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_OWORD_2(temp, temp 1755 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &temp, FR_AZ_INT_ADR_KER); temp 1770 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_OWORD_3(temp, temp 1774 drivers/net/ethernet/sfc/farch.c EFX_SET_OWORD_FIELD(temp, FRF_CZ_SRAM_PERR_INT_P_KER_EN, 1); temp 1775 drivers/net/ethernet/sfc/farch.c EFX_INVERT_OWORD(temp); temp 1776 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &temp, FR_AZ_FATAL_INTR_KER); temp 1781 drivers/net/ethernet/sfc/farch.c efx_reado(efx, &temp, FR_AZ_TX_RESERVED); temp 1782 drivers/net/ethernet/sfc/farch.c EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_RX_SPACER, 0xfe); temp 1783 drivers/net/ethernet/sfc/farch.c EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_RX_SPACER_EN, 1); temp 1784 drivers/net/ethernet/sfc/farch.c EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_ONE_PKT_PER_Q, 1); temp 1785 drivers/net/ethernet/sfc/farch.c EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_PUSH_EN, 1); temp 1786 drivers/net/ethernet/sfc/farch.c EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_DIS_NON_IP_EV, 1); temp 1788 drivers/net/ethernet/sfc/farch.c EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_SOFT_EVT_EN, 1); temp 1790 drivers/net/ethernet/sfc/farch.c EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_PREF_THRESHOLD, 2); temp 1792 drivers/net/ethernet/sfc/farch.c EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_PREF_WD_TMR, 0x3fffff); temp 1794 drivers/net/ethernet/sfc/farch.c EFX_SET_OWORD_FIELD(temp, FRF_BZ_TX_FLUSH_MIN_LEN_EN, 1); temp 1795 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &temp, FR_AZ_TX_RESERVED); temp 1797 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_OWORD_4(temp, temp 1805 drivers/net/ethernet/sfc/farch.c efx_writeo(efx, &temp, FR_BZ_TX_PACE); temp 1384 drivers/net/ethernet/sfc/net_driver.h int (*ptp_set_ts_sync_events)(struct efx_nic *efx, bool en, bool temp); temp 343 drivers/net/ethernet/sfc/siena.c efx_oword_t temp; temp 349 drivers/net/ethernet/sfc/siena.c efx_reado(efx, &temp, FR_CZ_RX_RSS_IPV6_REG1); temp 350 drivers/net/ethernet/sfc/siena.c memcpy(efx->rss_context.rx_hash_key, &temp, sizeof(temp)); temp 351 drivers/net/ethernet/sfc/siena.c efx_reado(efx, &temp, FR_CZ_RX_RSS_IPV6_REG2); temp 352 drivers/net/ethernet/sfc/siena.c memcpy(efx->rss_context.rx_hash_key + sizeof(temp), &temp, sizeof(temp)); temp 353 drivers/net/ethernet/sfc/siena.c efx_reado(efx, &temp, FR_CZ_RX_RSS_IPV6_REG3); temp 354 drivers/net/ethernet/sfc/siena.c memcpy(efx->rss_context.rx_hash_key + 2 * sizeof(temp), &temp, temp 363 drivers/net/ethernet/sfc/siena.c efx_oword_t temp; temp 367 drivers/net/ethernet/sfc/siena.c memcpy(efx->rss_context.rx_hash_key, key, sizeof(temp)); temp 368 drivers/net/ethernet/sfc/siena.c memcpy(&temp, efx->rss_context.rx_hash_key, sizeof(temp)); temp 369 drivers/net/ethernet/sfc/siena.c efx_writeo(efx, &temp, FR_BZ_RX_RSS_TKEY); temp 373 drivers/net/ethernet/sfc/siena.c 2 * sizeof(temp) + FRF_CZ_RX_RSS_IPV6_TKEY_HI_WIDTH / 8 || temp 375 drivers/net/ethernet/sfc/siena.c memcpy(&temp, efx->rss_context.rx_hash_key, sizeof(temp)); temp 376 drivers/net/ethernet/sfc/siena.c efx_writeo(efx, &temp, FR_CZ_RX_RSS_IPV6_REG1); temp 377 drivers/net/ethernet/sfc/siena.c memcpy(&temp, efx->rss_context.rx_hash_key + sizeof(temp), sizeof(temp)); temp 378 drivers/net/ethernet/sfc/siena.c efx_writeo(efx, &temp, FR_CZ_RX_RSS_IPV6_REG2); temp 379 drivers/net/ethernet/sfc/siena.c EFX_POPULATE_OWORD_2(temp, FRF_CZ_RX_RSS_IPV6_THASH_ENABLE, 1, temp 381 drivers/net/ethernet/sfc/siena.c memcpy(&temp, efx->rss_context.rx_hash_key + 2 * sizeof(temp), temp 383 drivers/net/ethernet/sfc/siena.c efx_writeo(efx, &temp, FR_CZ_RX_RSS_IPV6_REG3); temp 398 drivers/net/ethernet/sfc/siena.c efx_oword_t temp; temp 407 drivers/net/ethernet/sfc/siena.c efx_reado(efx, &temp, FR_AZ_TX_RESERVED); temp 408 drivers/net/ethernet/sfc/siena.c EFX_SET_OWORD_FIELD(temp, FRF_BZ_TX_FLUSH_MIN_LEN_EN, 1); temp 409 drivers/net/ethernet/sfc/siena.c efx_writeo(efx, &temp, FR_AZ_TX_RESERVED); temp 414 drivers/net/ethernet/sfc/siena.c efx_reado(efx, &temp, FR_AZ_TX_CFG); temp 415 drivers/net/ethernet/sfc/siena.c EFX_SET_OWORD_FIELD(temp, FRF_AZ_TX_NO_EOP_DISC_EN, 0); temp 416 drivers/net/ethernet/sfc/siena.c EFX_SET_OWORD_FIELD(temp, FRF_CZ_TX_FILTER_EN_BIT, 1); temp 417 drivers/net/ethernet/sfc/siena.c efx_writeo(efx, &temp, FR_AZ_TX_CFG); temp 419 drivers/net/ethernet/sfc/siena.c efx_reado(efx, &temp, FR_AZ_RX_CFG); temp 420 drivers/net/ethernet/sfc/siena.c EFX_SET_OWORD_FIELD(temp, FRF_BZ_RX_DESC_PUSH_EN, 0); temp 421 drivers/net/ethernet/sfc/siena.c EFX_SET_OWORD_FIELD(temp, FRF_BZ_RX_INGR_EN, 1); temp 425 drivers/net/ethernet/sfc/siena.c EFX_SET_OWORD_FIELD(temp, FRF_BZ_RX_HASH_INSRT_HDR, 1); temp 426 drivers/net/ethernet/sfc/siena.c EFX_SET_OWORD_FIELD(temp, FRF_BZ_RX_HASH_ALG, 1); temp 427 drivers/net/ethernet/sfc/siena.c EFX_SET_OWORD_FIELD(temp, FRF_BZ_RX_IP_HASH, 1); temp 428 drivers/net/ethernet/sfc/siena.c EFX_SET_OWORD_FIELD(temp, FRF_BZ_RX_USR_BUF_SIZE, temp 430 drivers/net/ethernet/sfc/siena.c efx_writeo(efx, &temp, FR_AZ_RX_CFG); temp 441 drivers/net/ethernet/sfc/siena.c EFX_POPULATE_OWORD_1(temp, FRF_BZ_FLS_EVQ_ID, 0); temp 442 drivers/net/ethernet/sfc/siena.c efx_writeo(efx, &temp, FR_BZ_DP_CTRL); temp 444 drivers/net/ethernet/sfc/siena.c EFX_POPULATE_OWORD_1(temp, FRF_CZ_USREV_DIS, 1); temp 445 drivers/net/ethernet/sfc/siena.c efx_writeo(efx, &temp, FR_CZ_USR_EV_CFG); temp 1528 drivers/net/ethernet/sgi/ioc3-eth.c unsigned int temp = 0; temp 1536 drivers/net/ethernet/sgi/ioc3-eth.c temp <<= 1; temp 1537 drivers/net/ethernet/sgi/ioc3-eth.c temp |= (crc & 0x1); temp 1541 drivers/net/ethernet/sgi/ioc3-eth.c return temp; temp 912 drivers/net/ethernet/silan/sc92031.c int temp; temp 917 drivers/net/ethernet/silan/sc92031.c temp = (ioread32(port_base + RxStatus0) >> 16) & 0xffff; temp 919 drivers/net/ethernet/silan/sc92031.c if (temp == 0xffff) { temp 920 drivers/net/ethernet/silan/sc92031.c priv->rx_value += temp; temp 923 drivers/net/ethernet/silan/sc92031.c dev->stats.rx_fifo_errors = temp + priv->rx_value; temp 495 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp; temp 499 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, MAC_CSR_CMD); temp 500 drivers/net/ethernet/smsc/smsc911x.c if (unlikely(temp & MAC_CSR_CMD_CSR_BUSY_)) { temp 510 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, BYTE_TEST); temp 524 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp; temp 528 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, MAC_CSR_CMD); temp 529 drivers/net/ethernet/smsc/smsc911x.c if (unlikely(temp & MAC_CSR_CMD_CSR_BUSY_)) { temp 543 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, BYTE_TEST); temp 813 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp; temp 816 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, PMT_CTRL); temp 817 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, PMT_CTRL, temp | PMT_CTRL_PHY_RST_); temp 820 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, PMT_CTRL); temp 821 drivers/net/ethernet/smsc/smsc911x.c } while ((i--) && (temp & PMT_CTRL_PHY_RST_)); temp 823 drivers/net/ethernet/smsc/smsc911x.c if (unlikely(temp & PMT_CTRL_PHY_RST_)) { temp 1199 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp; temp 1201 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, RX_DATA_FIFO); temp 1220 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp; temp 1225 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, INT_EN); temp 1226 drivers/net/ethernet/smsc/smsc911x.c temp |= INT_EN_RSFL_EN_; temp 1227 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, INT_EN, temp); temp 1438 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp; temp 1481 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, reset_offset); temp 1482 drivers/net/ethernet/smsc/smsc911x.c } while ((--timeout) && (temp & reset_mask)); temp 1484 drivers/net/ethernet/smsc/smsc911x.c if (unlikely(temp & reset_mask)) { temp 1530 drivers/net/ethernet/smsc/smsc911x.c u32 temp; temp 1533 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, INT_EN); temp 1534 drivers/net/ethernet/smsc/smsc911x.c temp &= (~INT_EN_SW_INT_EN_); temp 1535 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, INT_EN, temp); temp 1553 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, FIFO_INT); temp 1554 drivers/net/ethernet/smsc/smsc911x.c temp |= FIFO_INT_TX_AVAIL_LEVEL_; temp 1555 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, FIFO_INT, temp); temp 1570 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, INT_EN); temp 1571 drivers/net/ethernet/smsc/smsc911x.c temp &= (~INT_EN_RSFL_EN_); temp 1572 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, INT_EN, temp); temp 1588 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp; temp 1671 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, INT_EN); temp 1672 drivers/net/ethernet/smsc/smsc911x.c temp |= INT_EN_SW_INT_EN_; temp 1673 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, INT_EN, temp); temp 1701 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, HW_CFG); temp 1703 drivers/net/ethernet/smsc/smsc911x.c temp &= (HW_CFG_TX_FIF_SZ_|0x00000FFF); temp 1704 drivers/net/ethernet/smsc/smsc911x.c temp |= HW_CFG_SF_; temp 1705 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, HW_CFG, temp); temp 1707 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, FIFO_INT); temp 1708 drivers/net/ethernet/smsc/smsc911x.c temp |= FIFO_INT_TX_AVAIL_LEVEL_; temp 1709 drivers/net/ethernet/smsc/smsc911x.c temp &= ~(FIFO_INT_RX_STS_LEVEL_); temp 1710 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, FIFO_INT, temp); temp 1718 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, INT_EN); temp 1719 drivers/net/ethernet/smsc/smsc911x.c temp |= (INT_EN_TDFA_EN_ | INT_EN_RSFL_EN_ | INT_EN_RXSTOP_INT_EN_); temp 1720 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, INT_EN, temp); temp 1723 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_mac_read(pdata, MAC_CR); temp 1724 drivers/net/ethernet/smsc/smsc911x.c temp |= (MAC_CR_TXEN_ | MAC_CR_RXEN_ | MAC_CR_HBDIS_); temp 1725 drivers/net/ethernet/smsc/smsc911x.c smsc911x_mac_write(pdata, MAC_CR, temp); temp 1746 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp; temp 1749 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, INT_CFG); temp 1750 drivers/net/ethernet/smsc/smsc911x.c temp &= ~INT_CFG_IRQ_EN_; temp 1751 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, INT_CFG, temp); temp 1783 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp; temp 1819 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, FIFO_INT); temp 1820 drivers/net/ethernet/smsc/smsc911x.c temp &= 0x00FFFFFF; temp 1821 drivers/net/ethernet/smsc/smsc911x.c temp |= 0x32000000; temp 1822 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, FIFO_INT, temp); temp 1891 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp; temp 1897 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_mac_read(pdata, MAC_CR); temp 1898 drivers/net/ethernet/smsc/smsc911x.c temp &= ~(MAC_CR_RXEN_); temp 1899 drivers/net/ethernet/smsc/smsc911x.c smsc911x_mac_write(pdata, MAC_CR, temp); temp 2010 drivers/net/ethernet/smsc/smsc911x.c unsigned int temp = smsc911x_reg_read(pdata, GPIO_CFG); temp 2011 drivers/net/ethernet/smsc/smsc911x.c temp &= ~GPIO_CFG_EEPR_EN_; temp 2012 drivers/net/ethernet/smsc/smsc911x.c smsc911x_reg_write(pdata, GPIO_CFG, temp); temp 2067 drivers/net/ethernet/smsc/smsc911x.c u32 temp; temp 2078 drivers/net/ethernet/smsc/smsc911x.c temp = smsc911x_reg_read(pdata, BYTE_TEST); temp 275 drivers/net/ethernet/smsc/smsc9420.c unsigned int temp = smsc9420_reg_read(pd, GPIO_CFG); temp 276 drivers/net/ethernet/smsc/smsc9420.c temp &= ~GPIO_CFG_EEPR_EN_; temp 277 drivers/net/ethernet/smsc/smsc9420.c smsc9420_reg_write(pd, GPIO_CFG, temp); temp 109 drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c unsigned int temp; temp 111 drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c temp = rgmii_readl(ethqos, offset); temp 112 drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c temp = (temp & ~(mask)) | val; temp 113 drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c rgmii_writel(ethqos, temp, offset); temp 514 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c u64 temp = 0; temp 702 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c temp = div_u64(1000000000ULL, sec_inc); temp 713 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c temp = (u64)(temp << 32); temp 714 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->default_addend = div_u64(temp, priv->plat->clk_ptp_rate); temp 4236 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c u32 temp = 0; temp 4244 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c temp = ((crc & 1) ^ data_byte) & 1; temp 4248 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (temp) temp 198 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c u32 temp = 0; temp 206 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c temp = ((crc & 1) ^ data_byte) & 1; temp 210 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c if (temp) temp 1428 drivers/net/ethernet/ti/davinci_cpdma.c int temp, ret; temp 1432 drivers/net/ethernet/ti/davinci_cpdma.c temp = ctlr->num_rx_desc; temp 1437 drivers/net/ethernet/ti/davinci_cpdma.c ctlr->num_rx_desc = temp; temp 1971 drivers/net/ethernet/ti/netcp_core.c u32 temp[2]; temp 2069 drivers/net/ethernet/ti/netcp_core.c ret = of_property_read_u32_array(node_interface, "rx-pool", temp, 2); temp 2075 drivers/net/ethernet/ti/netcp_core.c netcp->rx_pool_size = temp[0]; temp 2076 drivers/net/ethernet/ti/netcp_core.c netcp->rx_pool_region_id = temp[1]; temp 2078 drivers/net/ethernet/ti/netcp_core.c ret = of_property_read_u32_array(node_interface, "tx-pool", temp, 2); temp 2084 drivers/net/ethernet/ti/netcp_core.c netcp->tx_pool_size = temp[0]; temp 2085 drivers/net/ethernet/ti/netcp_core.c netcp->tx_pool_region_id = temp[1]; temp 683 drivers/net/ethernet/xscale/ixp4xx_eth.c struct sk_buff *temp; temp 737 drivers/net/ethernet/xscale/ixp4xx_eth.c temp = skb; temp 760 drivers/net/ethernet/xscale/ixp4xx_eth.c port->rx_buff_tab[n] = temp; temp 651 drivers/net/hamradio/yam.c unsigned char b, temp; temp 687 drivers/net/hamradio/yam.c temp = yp->tx_crcl; temp 688 drivers/net/hamradio/yam.c yp->tx_crcl = chktabl[temp] ^ yp->tx_crch; temp 689 drivers/net/hamradio/yam.c yp->tx_crch = chktabh[temp] ^ b; temp 187 drivers/net/net_failover.c struct rtnl_link_stats64 temp; temp 197 drivers/net/net_failover.c new = dev_get_stats(slave_dev, &temp); temp 204 drivers/net/net_failover.c new = dev_get_stats(slave_dev, &temp); temp 58 drivers/net/phy/aquantia_hwmon.c int temp = phy_read_mmd(phydev, MDIO_MMD_VEND1, reg); temp 60 drivers/net/phy/aquantia_hwmon.c if (temp < 0) temp 61 drivers/net/phy/aquantia_hwmon.c return temp; temp 64 drivers/net/phy/aquantia_hwmon.c *value = (s16)temp * 1000 / 256; temp 71 drivers/net/phy/aquantia_hwmon.c int temp; temp 76 drivers/net/phy/aquantia_hwmon.c temp = value * 256 / 1000; temp 79 drivers/net/phy/aquantia_hwmon.c return phy_write_mmd(phydev, MDIO_MMD_VEND1, reg, (u16)temp); temp 63 drivers/net/phy/davicom.c int temp; temp 65 drivers/net/phy/davicom.c temp = phy_read(phydev, MII_DM9161_INTR); temp 67 drivers/net/phy/davicom.c if (temp < 0) temp 68 drivers/net/phy/davicom.c return temp; temp 71 drivers/net/phy/davicom.c temp &= ~(MII_DM9161_INTR_STOP); temp 73 drivers/net/phy/davicom.c temp |= MII_DM9161_INTR_STOP; temp 75 drivers/net/phy/davicom.c temp = phy_write(phydev, MII_DM9161_INTR, temp); temp 77 drivers/net/phy/davicom.c return temp; temp 101 drivers/net/phy/davicom.c int err, temp; temp 111 drivers/net/phy/davicom.c temp = MII_DM9161_SCR_INIT; temp 114 drivers/net/phy/davicom.c temp = MII_DM9161_SCR_INIT | MII_DM9161_SCR_RMII; temp 121 drivers/net/phy/davicom.c err = phy_write(phydev, MII_DM9161_SCR, temp); temp 745 drivers/net/phy/marvell.c int temp; temp 752 drivers/net/phy/marvell.c temp = phy_read(phydev, MII_M1111_PHY_EXT_SR); temp 753 drivers/net/phy/marvell.c if (temp < 0) temp 754 drivers/net/phy/marvell.c return temp; temp 756 drivers/net/phy/marvell.c temp &= ~(MII_M1111_HWCFG_MODE_MASK); temp 758 drivers/net/phy/marvell.c if (temp & MII_M1111_HWCFG_FIBER_COPPER_RES) temp 759 drivers/net/phy/marvell.c temp |= MII_M1111_HWCFG_MODE_FIBER_RGMII; temp 761 drivers/net/phy/marvell.c temp |= MII_M1111_HWCFG_MODE_COPPER_RGMII; temp 763 drivers/net/phy/marvell.c return phy_write(phydev, MII_M1111_PHY_EXT_SR, temp); temp 1639 drivers/net/phy/marvell.c static int m88e1121_get_temp(struct phy_device *phydev, long *temp) temp 1645 drivers/net/phy/marvell.c *temp = 0; temp 1676 drivers/net/phy/marvell.c *temp = ((val & MII_88E1121_MISC_TEST_TEMP_MASK) - 5) * 5000; temp 1684 drivers/net/phy/marvell.c u32 attr, int channel, long *temp) temp 1691 drivers/net/phy/marvell.c err = m88e1121_get_temp(phydev, temp); temp 1751 drivers/net/phy/marvell.c static int m88e1510_get_temp(struct phy_device *phydev, long *temp) temp 1755 drivers/net/phy/marvell.c *temp = 0; temp 1762 drivers/net/phy/marvell.c *temp = ((ret & MII_88E1510_TEMP_SENSOR_MASK) - 25) * 1000; temp 1767 drivers/net/phy/marvell.c static int m88e1510_get_temp_critical(struct phy_device *phydev, long *temp) temp 1771 drivers/net/phy/marvell.c *temp = 0; temp 1778 drivers/net/phy/marvell.c *temp = (((ret & MII_88E1510_MISC_TEST_TEMP_THRESHOLD_MASK) >> temp 1781 drivers/net/phy/marvell.c *temp *= 1000; temp 1786 drivers/net/phy/marvell.c static int m88e1510_set_temp_critical(struct phy_device *phydev, long temp) temp 1788 drivers/net/phy/marvell.c temp = temp / 1000; temp 1789 drivers/net/phy/marvell.c temp = clamp_val(DIV_ROUND_CLOSEST(temp, 5) + 5, 0, 0x1f); temp 1794 drivers/net/phy/marvell.c temp << MII_88E1510_MISC_TEST_TEMP_THRESHOLD_SHIFT); temp 1815 drivers/net/phy/marvell.c u32 attr, int channel, long *temp) temp 1822 drivers/net/phy/marvell.c err = m88e1510_get_temp(phydev, temp); temp 1825 drivers/net/phy/marvell.c err = m88e1510_get_temp_critical(phydev, temp); temp 1828 drivers/net/phy/marvell.c err = m88e1510_get_temp_alarm(phydev, temp); temp 1839 drivers/net/phy/marvell.c u32 attr, int channel, long temp) temp 1846 drivers/net/phy/marvell.c err = m88e1510_set_temp_critical(phydev, temp); temp 1899 drivers/net/phy/marvell.c static int m88e6390_get_temp(struct phy_device *phydev, long *temp) temp 1906 drivers/net/phy/marvell.c *temp = 0; temp 1939 drivers/net/phy/marvell.c *temp = (sum - 75) * 1000; temp 1959 drivers/net/phy/marvell.c u32 attr, int channel, long *temp) temp 1966 drivers/net/phy/marvell.c err = m88e6390_get_temp(phydev, temp); temp 85 drivers/net/phy/marvell10g.c int temp; temp 93 drivers/net/phy/marvell10g.c temp = phy_read_mmd(phydev, MDIO_MMD_VEND2, MV_V2_TEMP); temp 94 drivers/net/phy/marvell10g.c if (temp < 0) temp 95 drivers/net/phy/marvell10g.c return temp; temp 97 drivers/net/phy/marvell10g.c *value = ((temp & 0xff) - 75) * 1000; temp 160 drivers/net/phy/micrel.c int temp; temp 169 drivers/net/phy/micrel.c temp = phy_read(phydev, MII_KSZPHY_CTRL); temp 170 drivers/net/phy/micrel.c if (temp < 0) temp 171 drivers/net/phy/micrel.c return temp; temp 172 drivers/net/phy/micrel.c temp &= ~mask; temp 173 drivers/net/phy/micrel.c phy_write(phydev, MII_KSZPHY_CTRL, temp); temp 177 drivers/net/phy/micrel.c temp = KSZPHY_INTCS_ALL; temp 179 drivers/net/phy/micrel.c temp = 0; temp 181 drivers/net/phy/micrel.c return phy_write(phydev, MII_KSZPHY_INTCS, temp); temp 202 drivers/net/phy/micrel.c int rc, temp, shift; temp 215 drivers/net/phy/micrel.c temp = phy_read(phydev, reg); temp 216 drivers/net/phy/micrel.c if (temp < 0) { temp 217 drivers/net/phy/micrel.c rc = temp; temp 221 drivers/net/phy/micrel.c temp &= ~(3 << shift); temp 222 drivers/net/phy/micrel.c temp |= val << shift; temp 223 drivers/net/phy/micrel.c rc = phy_write(phydev, reg, temp); temp 316 drivers/net/phy/nxp-tja11xx.c HWMON_CHANNEL_INFO(temp, HWMON_T_CRIT_ALARM), temp 774 drivers/net/usb/cdc_ncm.c int temp; temp 837 drivers/net/usb/cdc_ncm.c temp = usb_driver_claim_interface(driver, ctx->data, dev); temp 838 drivers/net/usb/cdc_ncm.c if (temp) { temp 858 drivers/net/usb/cdc_ncm.c temp = usb_set_interface(dev->udev, iface_no, 0); temp 859 drivers/net/usb/cdc_ncm.c if (temp) { temp 876 drivers/net/usb/cdc_ncm.c temp = usb_set_interface(dev->udev, iface_no, data_altsetting); temp 877 drivers/net/usb/cdc_ncm.c if (temp) { temp 919 drivers/net/usb/cdc_ncm.c temp = usbnet_get_ethernet_addr(dev, ctx->ether_desc->iMACAddress); temp 920 drivers/net/usb/cdc_ncm.c if (temp) { temp 1018 drivers/net/usb/lan78xx.c u32 temp; temp 1021 drivers/net/usb/lan78xx.c temp = addr[3]; temp 1022 drivers/net/usb/lan78xx.c temp = addr[2] | (temp << 8); temp 1023 drivers/net/usb/lan78xx.c temp = addr[1] | (temp << 8); temp 1024 drivers/net/usb/lan78xx.c temp = addr[0] | (temp << 8); temp 1025 drivers/net/usb/lan78xx.c pdata->pfilter_table[index][1] = temp; temp 1026 drivers/net/usb/lan78xx.c temp = addr[5]; temp 1027 drivers/net/usb/lan78xx.c temp = addr[4] | (temp << 8); temp 1028 drivers/net/usb/lan78xx.c temp |= MAF_HI_VALID_ | MAF_HI_TYPE_DST_; temp 1029 drivers/net/usb/lan78xx.c pdata->pfilter_table[index][0] = temp; temp 1530 drivers/net/usb/lan78xx.c int temp; temp 1541 drivers/net/usb/lan78xx.c temp = phy_read(phydev, MII_BMCR); temp 1542 drivers/net/usb/lan78xx.c phy_write(phydev, MII_BMCR, temp | BMCR_LOOPBACK); temp 1544 drivers/net/usb/lan78xx.c phy_write(phydev, MII_BMCR, temp); temp 1853 drivers/net/usb/lan78xx.c int ret, temp; temp 1862 drivers/net/usb/lan78xx.c temp = phy_read(phydev, LAN88XX_INT_MASK); temp 1863 drivers/net/usb/lan78xx.c temp &= ~LAN88XX_INT_MASK_MDINTPIN_EN_; temp 1864 drivers/net/usb/lan78xx.c ret = phy_write(phydev, LAN88XX_INT_MASK, temp); temp 1866 drivers/net/usb/lan78xx.c temp = phy_read(phydev, MII_BMCR); temp 1867 drivers/net/usb/lan78xx.c temp &= ~(BMCR_SPEED100 | BMCR_SPEED1000); temp 1868 drivers/net/usb/lan78xx.c phy_write(phydev, MII_BMCR, temp); /* set to 10 first */ temp 1869 drivers/net/usb/lan78xx.c temp |= BMCR_SPEED100; temp 1870 drivers/net/usb/lan78xx.c phy_write(phydev, MII_BMCR, temp); /* set to 100 later */ temp 1873 drivers/net/usb/lan78xx.c temp = phy_read(phydev, LAN88XX_INT_STS); temp 1876 drivers/net/usb/lan78xx.c temp = phy_read(phydev, LAN88XX_INT_MASK); temp 1877 drivers/net/usb/lan78xx.c temp |= LAN88XX_INT_MASK_MDINTPIN_EN_; temp 1878 drivers/net/usb/lan78xx.c ret = phy_write(phydev, LAN88XX_INT_MASK, temp); temp 2430 drivers/net/usb/lan78xx.c u8 temp[2]; temp 2432 drivers/net/usb/lan78xx.c if (lan78xx_read_eeprom(dev, 0x3F, 2, temp) == 0) { temp 2433 drivers/net/usb/lan78xx.c if (temp[0] == 24) { temp 2435 drivers/net/usb/lan78xx.c temp[1] * 2, temp 2441 drivers/net/usb/lan78xx.c } else if (lan78xx_read_otp(dev, 0x3F, 2, temp) == 0) { temp 2442 drivers/net/usb/lan78xx.c if (temp[0] == 24) { temp 2444 drivers/net/usb/lan78xx.c temp[1] * 2, temp 2669 drivers/net/usb/lan78xx.c int temp; temp 2675 drivers/net/usb/lan78xx.c temp = unlink_urbs(dev, &dev->txq) + unlink_urbs(dev, &dev->rxq); temp 2684 drivers/net/usb/lan78xx.c "waited for %d urb completions\n", temp); temp 781 drivers/net/usb/usbnet.c int temp; temp 786 drivers/net/usb/usbnet.c temp = unlink_urbs(dev, &dev->txq) + temp 794 drivers/net/usb/usbnet.c "waited for %d urb completions\n", temp); temp 1559 drivers/net/usb/usbnet.c int temp = dev->rxq.qlen; temp 1561 drivers/net/usb/usbnet.c if (temp < RX_QLEN(dev)) { temp 1564 drivers/net/usb/usbnet.c if (temp != dev->rxq.qlen) temp 1567 drivers/net/usb/usbnet.c temp, dev->rxq.qlen); temp 266 drivers/net/vmxnet3/vmxnet3_drv.c u32 temp = le32_to_cpu(*bitfield); temp 268 drivers/net/vmxnet3/vmxnet3_drv.c temp &= mask; temp 269 drivers/net/vmxnet3/vmxnet3_drv.c temp >>= pos; temp 270 drivers/net/vmxnet3/vmxnet3_drv.c return temp; temp 1605 drivers/net/wan/cosa.c char temp[5]; temp 1609 drivers/net/wan/cosa.c sprintf(temp, "%04X", number); temp 1611 drivers/net/wan/cosa.c if (put_wait_data(cosa, temp[i]) == -1) { temp 1616 drivers/net/wan/cosa.c if (get_wait_data(cosa) != temp[i]) { temp 668 drivers/net/wan/ixp4xx_hss.c struct sk_buff *temp; temp 751 drivers/net/wan/ixp4xx_hss.c temp = skb; temp 772 drivers/net/wan/ixp4xx_hss.c port->rx_buff_tab[n] = temp; temp 80 drivers/net/wan/sdla.c char *temp; temp 84 drivers/net/wan/sdla.c temp = buf; temp 92 drivers/net/wan/sdla.c memcpy(temp, base, bytes); temp 95 drivers/net/wan/sdla.c temp += bytes; temp 111 drivers/net/wan/sdla.c const char *temp; temp 115 drivers/net/wan/sdla.c temp = buf; temp 123 drivers/net/wan/sdla.c memcpy(base, temp, bytes); temp 126 drivers/net/wan/sdla.c temp += bytes; temp 169 drivers/net/wan/sdla.c char byte, *temp; temp 171 drivers/net/wan/sdla.c temp = (void *) (dev->mem_start + (addr & SDLA_ADDR_MASK)); temp 175 drivers/net/wan/sdla.c byte = *temp; temp 249 drivers/net/wan/sdla.c char resp, *temp; temp 254 drivers/net/wan/sdla.c temp = (void *)dev->mem_start; temp 255 drivers/net/wan/sdla.c temp += z80_addr & SDLA_ADDR_MASK; temp 264 drivers/net/wan/sdla.c resp = *temp; temp 1195 drivers/net/wan/sdla.c char *temp; temp 1202 drivers/net/wan/sdla.c temp = kzalloc(mem.len, GFP_KERNEL); temp 1203 drivers/net/wan/sdla.c if (!temp) temp 1205 drivers/net/wan/sdla.c sdla_read(dev, mem.addr, temp, mem.len); temp 1206 drivers/net/wan/sdla.c if(copy_to_user(mem.data, temp, mem.len)) temp 1208 drivers/net/wan/sdla.c kfree(temp); temp 1211 drivers/net/wan/sdla.c kfree(temp); temp 1215 drivers/net/wan/sdla.c temp = memdup_user(mem.data, mem.len); temp 1216 drivers/net/wan/sdla.c if (IS_ERR(temp)) temp 1217 drivers/net/wan/sdla.c return PTR_ERR(temp); temp 1218 drivers/net/wan/sdla.c sdla_write(dev, mem.addr, temp, mem.len); temp 1219 drivers/net/wan/sdla.c kfree(temp); temp 42 drivers/net/wan/slic_ds26522.c u8 temp[3]; temp 46 drivers/net/wan/slic_ds26522.c temp[0] = (u8)((addr >> 8) & 0x7f); temp 47 drivers/net/wan/slic_ds26522.c temp[1] = (u8)(addr & 0xfe); temp 48 drivers/net/wan/slic_ds26522.c temp[2] = data; temp 51 drivers/net/wan/slic_ds26522.c spi_write(spi, &temp[0], SLIC_THREE_LEN); temp 56 drivers/net/wan/slic_ds26522.c u8 temp[2]; temp 60 drivers/net/wan/slic_ds26522.c temp[0] = (u8)(((addr >> 8) & 0x7f) | 0x80); temp 61 drivers/net/wan/slic_ds26522.c temp[1] = (u8)(addr & 0xfe); temp 63 drivers/net/wan/slic_ds26522.c spi_write_then_read(spi, &temp[0], SLIC_TWO_LEN, &data, temp 218 drivers/net/wireless/ath/ath10k/qmi.c const u8 *temp; temp 225 drivers/net/wireless/ath/ath10k/qmi.c temp = ar->normal_mode_fw.board_data; temp 245 drivers/net/wireless/ath/ath10k/qmi.c memcpy(req->data, temp, req->data_len); temp 275 drivers/net/wireless/ath/ath10k/qmi.c temp += req->data_len; temp 344 drivers/net/wireless/ath/ath9k/ar9003_calib.c u32 temp, val; temp 414 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = REG_READ(ah, AR_PHY_65NM_CH0_BB3); temp 415 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch0_i1 = (temp >> 26) & 0x1f; temp 416 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch0_q1 = (temp >> 21) & 0x1f; temp 418 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = REG_READ(ah, AR_PHY_65NM_CH1_BB3); temp 419 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch1_i1 = (temp >> 26) & 0x1f; temp 420 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch1_q1 = (temp >> 21) & 0x1f; temp 422 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = REG_READ(ah, AR_PHY_65NM_CH2_BB3); temp 423 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch2_i1 = (temp >> 26) & 0x1f; temp 424 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch2_q1 = (temp >> 21) & 0x1f; temp 436 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = REG_READ(ah, AR_PHY_65NM_CH0_BB3); temp 437 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch0_i2 = (temp >> 26) & 0x1f; temp 438 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch0_q2 = (temp >> 21) & 0x1f; temp 440 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = REG_READ(ah, AR_PHY_65NM_CH1_BB3); temp 441 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch1_i2 = (temp >> 26) & 0x1f; temp 442 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch1_q2 = (temp >> 21) & 0x1f; temp 444 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = REG_READ(ah, AR_PHY_65NM_CH2_BB3); temp 445 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch2_i2 = (temp >> 26) & 0x1f; temp 446 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch2_q2 = (temp >> 21) & 0x1f; temp 458 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = REG_READ(ah, AR_PHY_65NM_CH0_BB3); temp 459 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch0_i3 = (temp >> 26) & 0x1f; temp 460 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch0_q3 = (temp >> 21) & 0x1f; temp 462 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = REG_READ(ah, AR_PHY_65NM_CH1_BB3); temp 463 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch1_i3 = (temp >> 26) & 0x1f; temp 464 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch1_q3 = (temp >> 21) & 0x1f; temp 466 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = REG_READ(ah, AR_PHY_65NM_CH2_BB3); temp 467 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch2_i3 = (temp >> 26) & 0x1f; temp 468 drivers/net/wireless/ath/ath9k/ar9003_calib.c dc_off_ch2_q3 = (temp >> 21) & 0x1f; temp 1008 drivers/net/wireless/ath/ath9k/ar9003_calib.c int im, ix, iy, temp; temp 1015 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = coeff->mag_coeff[i][im][ix]; temp 1018 drivers/net/wireless/ath/ath9k/ar9003_calib.c coeff->mag_coeff[i][im][iy] = temp; temp 1022 drivers/net/wireless/ath/ath9k/ar9003_calib.c temp = coeff->phs_coeff[i][im][ix]; temp 1025 drivers/net/wireless/ath/ath9k/ar9003_calib.c coeff->phs_coeff[i][im][iy] = temp; temp 1401 drivers/net/wireless/ath/wil6210/debugfs.c DEFINE_SHOW_ATTRIBUTE(temp); temp 2257 drivers/net/wireless/broadcom/b43/phy_g.c u16 saved, rssi, temp; temp 2271 drivers/net/wireless/broadcom/b43/phy_g.c temp = (b43_phy_read(dev, 0x047F) >> 8) & 0x3F; temp 2272 drivers/net/wireless/broadcom/b43/phy_g.c if (temp > 32) temp 2273 drivers/net/wireless/broadcom/b43/phy_g.c temp -= 64; temp 2274 drivers/net/wireless/broadcom/b43/phy_g.c if (temp < rssi) temp 160 drivers/net/wireless/broadcom/b43/phy_lp.c u16 temp[3]; temp 174 drivers/net/wireless/broadcom/b43/phy_lp.c temp[0] = ((isolation - 26) / 12) << 12; temp 175 drivers/net/wireless/broadcom/b43/phy_lp.c temp[1] = temp[0] + 0x1000; temp 176 drivers/net/wireless/broadcom/b43/phy_lp.c temp[2] = temp[0] + 0x2000; temp 178 drivers/net/wireless/broadcom/b43/phy_lp.c b43_lptab_write_bulk(dev, B43_LPTAB16(13, 0), 3, temp); temp 179 drivers/net/wireless/broadcom/b43/phy_lp.c b43_lptab_write_bulk(dev, B43_LPTAB16(12, 0), 3, temp); temp 236 drivers/net/wireless/broadcom/b43legacy/radio.c u16 temp; temp 251 drivers/net/wireless/broadcom/b43legacy/radio.c temp = (b43legacy_phy_read(dev, 0x047F) >> 8) & 0x3F; temp 252 drivers/net/wireless/broadcom/b43legacy/radio.c if (temp > 32) temp 253 drivers/net/wireless/broadcom/b43legacy/radio.c temp -= 64; temp 254 drivers/net/wireless/broadcom/b43legacy/radio.c if (temp < rssi) temp 1516 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c s8 temp, vbat; temp 1522 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c temp = wlc_phy_env_measure_temperature(pi); temp 1235 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s32 a, b, temp; temp 1268 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp = (s32) (ii >> arsh); temp 1269 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (temp == 0) temp 1273 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp = (s32) (ii << -arsh); temp 1274 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (temp == 0) temp 1277 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c a /= temp; temp 1281 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp = (s32) (ii >> brsh); temp 1282 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (temp == 0) temp 1286 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp = (s32) (ii << -brsh); temp 1287 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (temp == 0) temp 1290 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c b /= temp; temp 2378 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c u16 temp; temp 2389 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp = (u16) wlc_lcnphy_tempsense(pi, 0); temp 2390 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c meas_temp = LCNPHY_TEMPSENSE(temp); temp 4388 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 temp, temp1, temp2, qQ, qQ1, qQ2, shift; temp 4414 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp = qm_sub16(temp1, temp2); temp 4421 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c val = (((index << shift) + (5 * temp) + temp 4751 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 temp; temp 4756 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp = (s16) read_phy_reg(pi, 0x4df); temp 4757 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_ofdmgainidxtableoffset = (temp & (0xff << 0)) >> 0; temp 4762 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_dsssgainidxtableoffset = (temp & (0xff << 8)) >> 8; temp 4782 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp = (s16) (read_phy_reg(pi, 0x434) & (0xff << 0)); temp 4783 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (temp > 127) temp 4784 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp -= 256; temp 4785 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_input_pwr_offset_db = (s8) temp; temp 24148 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s32 temp, pwrindex[2]; temp 24156 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c temp = (s32) (tssi_reg & 0x3f); temp 24157 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c idle_tssi[0] = (temp <= 31) ? temp : (temp - 64); temp 24159 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c temp = (s32) ((tssi_reg >> 8) & 0x3f); temp 24160 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c idle_tssi[1] = (temp <= 31) ? temp : (temp - 64); temp 26123 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s32 a, b, temp; temp 26164 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c temp = (s32) (ii >> arsh); temp 26165 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c if (temp == 0) { temp 26171 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c temp = (s32) (ii << -arsh); temp 26172 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c if (temp == 0) { temp 26178 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c a /= temp; temp 26183 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c temp = (s32) (ii >> brsh); temp 26184 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c if (temp == 0) { temp 26190 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c temp = (s32) (ii << -brsh); temp 26191 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c if (temp == 0) { temp 26196 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c b /= temp; temp 62 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s32 temp = (s32) op1 + (s32) op2; temp 63 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c if (temp > (s32) 0x7fff) temp 65 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c else if (temp < (s32) 0xffff8000) temp 68 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c result = (s16) temp; temp 81 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s32 temp = (s32) op1 - (s32) op2; temp 82 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c if (temp > (s32) 0x7fff) temp 84 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c else if (temp < (s32) 0xffff8000) temp 87 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c result = (s16) temp; temp 1764 drivers/net/wireless/cisco/airo.c static int readWepKeyRid(struct airo_info *ai, WepKeyRid *wkr, int temp, int lock) temp 1766 drivers/net/wireless/cisco/airo.c return PC4500_readrid(ai, temp ? RID_WEP_TEMP : RID_WEP_PERM, temp 1665 drivers/net/wireless/intel/iwlegacy/4965.c s32 temp; temp 1667 drivers/net/wireless/intel/iwlegacy/4965.c temp = il4965_hw_get_temperature(il); temp 1668 drivers/net/wireless/intel/iwlegacy/4965.c if (IL_TX_POWER_TEMPERATURE_OUT_OF_RANGE(temp)) temp 1671 drivers/net/wireless/intel/iwlegacy/4965.c if (il->temperature != temp) { temp 1675 drivers/net/wireless/intel/iwlegacy/4965.c KELVIN_TO_CELSIUS(temp)); temp 1678 drivers/net/wireless/intel/iwlegacy/4965.c KELVIN_TO_CELSIUS(temp)); temp 1681 drivers/net/wireless/intel/iwlegacy/4965.c il->temperature = temp; temp 97 drivers/net/wireless/intel/iwlwifi/dvm/tt.c s32 temp = priv->temperature; /* degrees CELSIUS except specified */ temp 101 drivers/net/wireless/intel/iwlwifi/dvm/tt.c within_margin = ((temp + IWL_TT_CT_KILL_MARGIN) >= temp 104 drivers/net/wireless/intel/iwlwifi/dvm/tt.c within_margin = ((temp + IWL_TT_CT_KILL_MARGIN) >= temp 246 drivers/net/wireless/intel/iwlwifi/dvm/tt.c static void iwl_legacy_tt_handler(struct iwl_priv *priv, s32 temp, bool force) temp 253 drivers/net/wireless/intel/iwlwifi/dvm/tt.c (temp > tt->tt_previous_temp) && temp 254 drivers/net/wireless/intel/iwlwifi/dvm/tt.c ((temp - tt->tt_previous_temp) > temp 258 drivers/net/wireless/intel/iwlwifi/dvm/tt.c (temp - tt->tt_previous_temp)); temp 263 drivers/net/wireless/intel/iwlwifi/dvm/tt.c if (temp >= IWL_MINIMAL_POWER_THRESHOLD) temp 265 drivers/net/wireless/intel/iwlwifi/dvm/tt.c else if (temp >= IWL_REDUCED_PERFORMANCE_THRESHOLD_2) temp 267 drivers/net/wireless/intel/iwlwifi/dvm/tt.c else if (temp >= IWL_REDUCED_PERFORMANCE_THRESHOLD_1) temp 273 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->tt_previous_temp = temp; temp 351 drivers/net/wireless/intel/iwlwifi/dvm/tt.c static void iwl_advance_tt_handler(struct iwl_priv *priv, s32 temp, bool force) temp 373 drivers/net/wireless/intel/iwlwifi/dvm/tt.c if (temp >= transaction->tt_low && temp 374 drivers/net/wireless/intel/iwlwifi/dvm/tt.c temp <= transaction->tt_high) { temp 377 drivers/net/wireless/intel/iwlwifi/dvm/tt.c (temp > tt->tt_previous_temp) && temp 378 drivers/net/wireless/intel/iwlwifi/dvm/tt.c ((temp - tt->tt_previous_temp) > temp 383 drivers/net/wireless/intel/iwlwifi/dvm/tt.c (temp - tt->tt_previous_temp)); temp 385 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->tt_previous_temp = temp; temp 567 drivers/net/wireless/intel/iwlwifi/dvm/tt.c s32 temp = priv->temperature; /* degrees CELSIUS except specified */ temp 573 drivers/net/wireless/intel/iwlwifi/dvm/tt.c iwl_legacy_tt_handler(priv, temp, false); temp 575 drivers/net/wireless/intel/iwlwifi/dvm/tt.c iwl_advance_tt_handler(priv, temp, false); temp 199 drivers/net/wireless/intel/iwlwifi/fw/api/phy.h __le32 temp; temp 211 drivers/net/wireless/intel/iwlwifi/fw/api/phy.h __le32 temp; temp 1287 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c u8 *temp; temp 1410 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c temp = kmemdup(file_sec->data, section_size, GFP_KERNEL); temp 1411 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c if (!temp) { temp 1416 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c iwl_nvm_fixups(trans->hw_id, section_id, temp, section_size); temp 1419 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c nvm_sections[section_id].data = temp; temp 337 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c s32 temp; temp 343 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = iwl_mvm_get_temp(mvm, &temp); temp 349 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c pos = scnprintf(buf , sizeof(buf), "%d\n", temp); temp 1963 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp); temp 1970 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_get_temp(struct iwl_mvm *mvm, s32 *temp); temp 366 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c u8 *nvm_buffer, *temp; temp 391 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c temp = kmemdup(nvm_buffer, ret, GFP_KERNEL); temp 392 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c if (!temp) { temp 397 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c iwl_nvm_fixups(mvm->trans->hw_id, section, temp, ret); temp 399 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c mvm->nvm_sections[section].data = temp; temp 405 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c mvm->nvm_sw_blob.data = temp; temp 409 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c mvm->nvm_calib_blob.data = temp; temp 413 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c mvm->nvm_prod_blob.data = temp; temp 417 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c mvm->nvm_phy_sku_blob.data = temp; temp 422 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c mvm->nvm_reg_blob.data = temp; temp 427 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c mvm->nvm_hw_blob.data = temp; temp 103 drivers/net/wireless/intel/iwlwifi/mvm/tt.c void iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp) temp 109 drivers/net/wireless/intel/iwlwifi/mvm/tt.c if (mvm->temperature == temp) temp 112 drivers/net/wireless/intel/iwlwifi/mvm/tt.c mvm->temperature = temp; temp 121 drivers/net/wireless/intel/iwlwifi/mvm/tt.c int temp; temp 133 drivers/net/wireless/intel/iwlwifi/mvm/tt.c temp = le32_to_cpu(notif_v1->temp); temp 136 drivers/net/wireless/intel/iwlwifi/mvm/tt.c if (WARN_ON_ONCE(temp < 0)) temp 137 drivers/net/wireless/intel/iwlwifi/mvm/tt.c temp = 0; temp 139 drivers/net/wireless/intel/iwlwifi/mvm/tt.c IWL_DEBUG_TEMP(mvm, "DTS_MEASUREMENT_NOTIFICATION - %d\n", temp); temp 141 drivers/net/wireless/intel/iwlwifi/mvm/tt.c return temp; temp 149 drivers/net/wireless/intel/iwlwifi/mvm/tt.c int *temp = data; temp 156 drivers/net/wireless/intel/iwlwifi/mvm/tt.c *temp = ret; temp 166 drivers/net/wireless/intel/iwlwifi/mvm/tt.c int temp; temp 173 drivers/net/wireless/intel/iwlwifi/mvm/tt.c temp = iwl_mvm_temp_notif_parse(mvm, pkt); temp 176 drivers/net/wireless/intel/iwlwifi/mvm/tt.c if (temp >= 0) temp 177 drivers/net/wireless/intel/iwlwifi/mvm/tt.c iwl_mvm_tt_temp_changed(mvm, temp); temp 196 drivers/net/wireless/intel/iwlwifi/mvm/tt.c temp, ths_crossed); temp 249 drivers/net/wireless/intel/iwlwifi/mvm/tt.c int iwl_mvm_get_temp(struct iwl_mvm *mvm, s32 *temp) temp 260 drivers/net/wireless/intel/iwlwifi/mvm/tt.c iwl_mvm_temp_notif_wait, temp); temp 282 drivers/net/wireless/intel/iwlwifi/mvm/tt.c s32 temp; temp 301 drivers/net/wireless/intel/iwlwifi/mvm/tt.c ret = iwl_mvm_get_temp(mvm, &temp); temp 308 drivers/net/wireless/intel/iwlwifi/mvm/tt.c IWL_DEBUG_TEMP(mvm, "NIC temperature: %d\n", temp); temp 310 drivers/net/wireless/intel/iwlwifi/mvm/tt.c if (temp <= tt->params.ct_kill_exit) { temp 620 drivers/net/wireless/intel/iwlwifi/mvm/tt.c int temp; temp 630 drivers/net/wireless/intel/iwlwifi/mvm/tt.c ret = iwl_mvm_get_temp(mvm, &temp); temp 634 drivers/net/wireless/intel/iwlwifi/mvm/tt.c *temperature = temp * 1000; temp 642 drivers/net/wireless/intel/iwlwifi/mvm/tt.c int trip, int *temp) temp 649 drivers/net/wireless/intel/iwlwifi/mvm/tt.c *temp = mvm->tz_device.temp_trips[trip] * 1000; temp 666 drivers/net/wireless/intel/iwlwifi/mvm/tt.c int trip, int temp) temp 686 drivers/net/wireless/intel/iwlwifi/mvm/tt.c if ((temp / 1000) > S16_MAX) { temp 691 drivers/net/wireless/intel/iwlwifi/mvm/tt.c temperature = (s16)(temp / 1000); temp 1069 drivers/net/wireless/intersil/orinoco/main.c struct orinoco_rx_data *rx_data, *temp; temp 1084 drivers/net/wireless/intersil/orinoco/main.c list_for_each_entry_safe(rx_data, temp, &priv->rx_list, list) { temp 1355 drivers/net/wireless/intersil/orinoco/main.c struct orinoco_scan_data *sd, *temp; temp 1362 drivers/net/wireless/intersil/orinoco/main.c list_for_each_entry_safe(sd, temp, &priv->scan_list, list) { temp 2307 drivers/net/wireless/intersil/orinoco/main.c struct orinoco_rx_data *rx_data, *temp; temp 2316 drivers/net/wireless/intersil/orinoco/main.c list_for_each_entry_safe(rx_data, temp, &priv->rx_list, list) { temp 463 drivers/net/wireless/marvell/libertas/if_spi.c u8 temp[HELPER_FW_LOAD_CHUNK_SZ]; temp 493 drivers/net/wireless/marvell/libertas/if_spi.c memset(temp, 0, sizeof(temp)); temp 494 drivers/net/wireless/marvell/libertas/if_spi.c memcpy(temp, fw, temp 498 drivers/net/wireless/marvell/libertas/if_spi.c temp, HELPER_FW_LOAD_CHUNK_SZ); temp 55 drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c int temp; temp 58 drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c temp = mt7615_mcu_get_temperature(dev, 0); temp 59 drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c seq_printf(s, "Temperature: %d\n", temp); temp 1044 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (abs(val - dev->cal.temp) > 30) { temp 1046 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c dev->cal.temp = val; temp 47 drivers/net/wireless/mediatek/mt76/mt76x02.h s8 temp; temp 146 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c debugfs_create_u8("temperature", 0400, dir, &dev->cal.temp); temp 51 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c u8 temp; temp 58 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c .temp = temp_level, temp 257 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c int temp, db_diff; temp 262 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c temp = mt76_get_field(dev, MT_TEMP_SENSOR, MT_TEMP_SENSOR_VAL); temp 263 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c temp -= t.temp_25_ref; temp 264 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c temp = (temp * 1789) / 1000 + 25; temp 265 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c dev->cal.temp = temp; temp 267 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c if (temp > 25) temp 268 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c db_diff = (temp - 25) / t.high_slope; temp 270 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c db_diff = (25 - temp) / t.low_slope; temp 494 drivers/net/wireless/mediatek/mt7601u/phy.c u8 bbp_val, temp; temp 512 drivers/net/wireless/mediatek/mt7601u/phy.c temp = mt7601u_bbp_r47_get(dev, bbp_val, BBP_R47_F_TEMP); temp 526 drivers/net/wireless/mediatek/mt7601u/phy.c trace_read_temp(dev, temp); temp 527 drivers/net/wireless/mediatek/mt7601u/phy.c return temp; temp 534 drivers/net/wireless/mediatek/mt7601u/phy.c s8 temp; temp 542 drivers/net/wireless/mediatek/mt7601u/phy.c temp = mt7601u_bbp_r47_get(dev, val, BBP_R47_F_TEMP); temp 544 drivers/net/wireless/mediatek/mt7601u/phy.c trace_read_temp(dev, temp); temp 545 drivers/net/wireless/mediatek/mt7601u/phy.c return temp; temp 721 drivers/net/wireless/mediatek/mt7601u/phy.c int ret, temp, hi_temp = 400, lo_temp = -200; temp 723 drivers/net/wireless/mediatek/mt7601u/phy.c temp = (dev->raw_temp - dev->ee->ref_temp) * MT_EE_TEMPERATURE_SLOPE; temp 724 drivers/net/wireless/mediatek/mt7601u/phy.c dev->curr_temp = temp; temp 727 drivers/net/wireless/mediatek/mt7601u/phy.c if (temp - dev->dpd_temp > 450 || temp - dev->dpd_temp < -450) { temp 728 drivers/net/wireless/mediatek/mt7601u/phy.c dev->dpd_temp = temp; temp 740 drivers/net/wireless/mediatek/mt7601u/phy.c if (temp < -50 && !dev->pll_lock_protect) { /* < 20C */ temp 747 drivers/net/wireless/mediatek/mt7601u/phy.c } else if (temp > 50 && dev->pll_lock_protect) { /* > 30C */ temp 762 drivers/net/wireless/mediatek/mt7601u/phy.c if (temp > hi_temp) temp 764 drivers/net/wireless/mediatek/mt7601u/phy.c else if (temp > lo_temp) temp 308 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c char *temp; temp 317 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c temp = data + temp 323 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c temp += sprintf(temp, "%d\t0x%.8x\t%d\t%d\t%d\t%d\t%d\t\t%d\n", temp 364 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c char *temp; temp 375 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c temp = data; temp 376 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c temp += sprintf(data, "cipher\tsuccess\ticv err\tmic err\tkey err\n"); temp 379 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c temp += sprintf(temp, "%s\t%lu\t%lu\t%lu\t%lu\n", name[i], temp 573 drivers/net/wireless/ralink/rt2x00/rt73usb.c u8 temp; temp 587 drivers/net/wireless/ralink/rt2x00/rt73usb.c temp = !rt2x00_has_cap_frame_type(rt2x00dev) && temp 589 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field8(&r4, BBP_R4_RX_FRAME_END, temp); temp 50 drivers/net/wireless/realtek/rtlwifi/efuse.c u8 temp; temp 53 drivers/net/wireless/realtek/rtlwifi/efuse.c temp = bytetemp | 0x20; temp 54 drivers/net/wireless/realtek/rtlwifi/efuse.c rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1, temp); temp 57 drivers/net/wireless/realtek/rtlwifi/efuse.c temp = bytetemp & 0xFE; temp 58 drivers/net/wireless/realtek/rtlwifi/efuse.c rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1, temp); temp 61 drivers/net/wireless/realtek/rtlwifi/efuse.c temp = bytetemp | 0x80; temp 62 drivers/net/wireless/realtek/rtlwifi/efuse.c rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3, temp); temp 75 drivers/net/wireless/realtek/rtlwifi/efuse.c u8 temp; temp 81 drivers/net/wireless/realtek/rtlwifi/efuse.c temp = address & 0xFF; temp 83 drivers/net/wireless/realtek/rtlwifi/efuse.c temp); temp 86 drivers/net/wireless/realtek/rtlwifi/efuse.c temp = ((address >> 8) & 0x03) | (bytetemp & 0xFC); temp 88 drivers/net/wireless/realtek/rtlwifi/efuse.c temp); temp 92 drivers/net/wireless/realtek/rtlwifi/efuse.c temp = bytetemp & 0x7F; temp 94 drivers/net/wireless/realtek/rtlwifi/efuse.c temp); temp 118 drivers/net/wireless/realtek/rtlwifi/efuse.c u8 temp; temp 129 drivers/net/wireless/realtek/rtlwifi/efuse.c temp = address & 0xFF; temp 131 drivers/net/wireless/realtek/rtlwifi/efuse.c temp); temp 135 drivers/net/wireless/realtek/rtlwifi/efuse.c temp = ((address >> 8) & 0x03) | (bytetemp & 0xFC); temp 137 drivers/net/wireless/realtek/rtlwifi/efuse.c rtlpriv->cfg->maps[EFUSE_CTRL] + 2, temp); temp 141 drivers/net/wireless/realtek/rtlwifi/efuse.c temp = bytetemp | 0x80; temp 143 drivers/net/wireless/realtek/rtlwifi/efuse.c rtlpriv->cfg->maps[EFUSE_CTRL] + 3, temp); temp 569 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c u32 temp = rtlpriv->dm.undec_sm_pwdb; temp 571 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c temp <<= 16; temp 572 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c temp |= 0x100; temp 575 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c rtl92d_fill_h2c_cmd(hw, H2C_RSSI_REPORT, 3, (u8 *) (&temp)); temp 1144 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c u32 temp; temp 1179 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c temp = rtl_read_dword(rtlpriv, TCR); temp 1180 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c rtl_write_dword(rtlpriv, TCR, temp & (~BIT(8))); temp 1181 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c rtl_write_dword(rtlpriv, TCR, temp | BIT(8)); temp 262 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 temp; temp 267 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp = rtw_read32_mask(rtwdev, 0x2dbc, 0x3fffff); temp 268 drivers/net/wireless/realtek/rtw88/rtw8822c.c iv[i] = (temp & 0x3ff000) >> 12; temp 269 drivers/net/wireless/realtek/rtw88/rtw8822c.c qv[i] = temp & 0x3ff; temp 283 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 temp; temp 320 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp = rtw_read32_mask(rtwdev, 0x2dbc, 0x3fffff); temp 321 drivers/net/wireless/realtek/rtw88/rtw8822c.c iv[0] = (temp & 0x3ff000) >> 12; temp 322 drivers/net/wireless/realtek/rtw88/rtw8822c.c qv[0] = temp & 0x3ff; temp 323 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp = rtw_read32_mask(rtwdev, 0x2dbc, 0x3fffff); temp 324 drivers/net/wireless/realtek/rtw88/rtw8822c.c iv[DACK_SN_8822C - 1] = (temp & 0x3ff000) >> 12; temp 325 drivers/net/wireless/realtek/rtw88/rtw8822c.c qv[DACK_SN_8822C - 1] = temp & 0x3ff; temp 371 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 ic = 0, qc = 0, temp = 0; temp 418 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp = (ic & 0x3ff) | ((qc & 0x3ff) << 10); temp 419 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write32(rtwdev, base_addr + 0x68, temp); temp 420 drivers/net/wireless/realtek/rtw88/rtw8822c.c dm_info->dack_adck[path] = temp; temp 422 drivers/net/wireless/realtek/rtw88/rtw8822c.c base_addr + 0x68, temp); temp 547 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 temp; temp 586 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp = ((adc_ic + 0x10) & 0x3ff) | (((adc_qc + 0x10) & 0x3ff) << 10); temp 587 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write32(rtwdev, base_addr + 0x68, temp); temp 689 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 temp[3]; temp 691 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp[0] = rtw_read32(rtwdev, 0x1860); temp 692 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp[1] = rtw_read32(rtwdev, 0x4160); temp 693 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp[2] = rtw_read32(rtwdev, 0x9b4); temp 712 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write32(rtwdev, 0x1860, temp[0]); temp 713 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write32(rtwdev, 0x4160, temp[1]); temp 714 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write32(rtwdev, 0x9b4, temp[2]); temp 878 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 temp[3]; temp 887 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp[0] = rtw_read32(rtwdev, 0x1860); temp 888 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp[1] = rtw_read32(rtwdev, 0x4160); temp 889 drivers/net/wireless/realtek/rtw88/rtw8822c.c temp[2] = rtw_read32(rtwdev, 0x9b4); temp 905 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write32(rtwdev, 0x1860, temp[0]); temp 906 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write32(rtwdev, 0x4160, temp[1]); temp 911 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write32(rtwdev, 0x9b4, temp[2]); temp 470 drivers/net/wireless/rsi/rsi_91x_usb.c u16 temp; temp 473 drivers/net/wireless/rsi/rsi_91x_usb.c ret = rsi_usb_reg_read(usbdev, reg, &temp, len); temp 476 drivers/net/wireless/rsi/rsi_91x_usb.c *value = temp; temp 130 drivers/net/xen-netback/netback.c struct pending_tx_info *temp = temp 132 drivers/net/xen-netback/netback.c return container_of(temp - pending_idx, temp 1046 drivers/opp/core.c struct opp_device *opp_dev, *temp; temp 1056 drivers/opp/core.c list_for_each_entry_safe(opp_dev, temp, &opp_table->dev_list, node) { temp 1214 drivers/opp/core.c struct dev_pm_opp *opp, *temp; temp 1222 drivers/opp/core.c list_for_each_entry_safe(opp, temp, &opp_table->opp_list, node) { temp 364 drivers/parisc/led.c struct rtnl_link_stats64 temp; temp 370 drivers/parisc/led.c stats = dev_get_stats(dev, &temp); temp 268 drivers/parisc/pdc_stable.c char in[64], *temp; temp 284 drivers/parisc/pdc_stable.c if (!(temp = strrchr(in, '/'))) temp 287 drivers/parisc/pdc_stable.c hwpath.mod = simple_strtoul(temp+1, NULL, 10); temp 288 drivers/parisc/pdc_stable.c in[temp-in] = '\0'; /* truncate the remaining string. just precaution */ temp 296 drivers/parisc/pdc_stable.c for (i=5; ((temp = strrchr(in, '/'))) && (temp-in > 0) && (likely(i)); i--) { temp 297 drivers/parisc/pdc_stable.c hwpath.bc[i] = simple_strtoul(temp+1, NULL, 10); temp 298 drivers/parisc/pdc_stable.c in[temp-in] = '\0'; temp 384 drivers/parisc/pdc_stable.c char in[64], *temp; temp 403 drivers/parisc/pdc_stable.c temp = in; temp 404 drivers/parisc/pdc_stable.c for (i=1; ((temp = strchr(temp, '.'))) && (likely(i<6)); i++) { temp 405 drivers/parisc/pdc_stable.c if (unlikely(!isdigit(*(++temp)))) temp 407 drivers/parisc/pdc_stable.c layers[i] = simple_strtoul(temp, NULL, 10); temp 747 drivers/parisc/pdc_stable.c char in[8], *temp; temp 771 drivers/parisc/pdc_stable.c temp = skip_spaces(in); temp 773 drivers/parisc/pdc_stable.c c = *temp++ - '0'; temp 1102 drivers/parisc/sba_iommu.c PAT_MOD(mod)->mod_info.mod_pages = PAT_GET_MOD_PAGES(temp); temp 1104 drivers/parisc/sba_iommu.c PAT_MOD(mod)->mod_info.dvi = PAT_GET_DVI(temp); temp 1106 drivers/parisc/sba_iommu.c PAT_MOD(mod)->mod_info.ioc = PAT_GET_IOC(temp); temp 290 drivers/pci/hotplug/cpci_hotplug_pci.c struct pci_dev *dev, *temp; temp 300 drivers/pci/hotplug/cpci_hotplug_pci.c list_for_each_entry_safe(dev, temp, &slot->bus->devices, bus_list) { temp 626 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_resource *temp; temp 690 drivers/pci/hotplug/cpqphp_ctrl.c temp = *head; temp 691 drivers/pci/hotplug/cpqphp_ctrl.c if (temp == max) { temp 694 drivers/pci/hotplug/cpqphp_ctrl.c while (temp && temp->next != max) temp 695 drivers/pci/hotplug/cpqphp_ctrl.c temp = temp->next; temp 697 drivers/pci/hotplug/cpqphp_ctrl.c if (temp) temp 698 drivers/pci/hotplug/cpqphp_ctrl.c temp->next = max->next; temp 122 drivers/pci/hotplug/cpqphp_pci.c struct pci_dev *temp = pci_get_domain_bus_and_slot(0, temp 126 drivers/pci/hotplug/cpqphp_pci.c if (temp) { temp 127 drivers/pci/hotplug/cpqphp_pci.c pci_dev_put(temp); temp 128 drivers/pci/hotplug/cpqphp_pci.c pci_stop_and_remove_bus_device(temp); temp 955 drivers/pci/hotplug/cpqphp_pci.c u32 temp; temp 997 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_dword(pci_bus, devfn, cloop, &temp); temp 999 drivers/pci/hotplug/cpqphp_pci.c if (temp != func->config_space[cloop >> 2]) { temp 1002 drivers/pci/hotplug/cpqphp_pci.c dbg("temp = %x, config space = %x\n\n", temp, func->config_space[cloop >> 2]); temp 1170 drivers/pci/hotplug/cpqphp_pci.c u8 temp; temp 1193 drivers/pci/hotplug/cpqphp_pci.c temp = 0; temp 1196 drivers/pci/hotplug/cpqphp_pci.c cpqhp_disk_irq = temp; temp 1200 drivers/pci/hotplug/cpqphp_pci.c temp++; temp 1205 drivers/pci/hotplug/cpqphp_pci.c temp++; temp 1209 drivers/pci/hotplug/cpqphp_pci.c cpqhp_nic_irq = temp; temp 1213 drivers/pci/hotplug/cpqphp_pci.c temp++; temp 1219 drivers/pci/hotplug/cpqphp_pci.c temp = 0; temp 660 drivers/pci/hotplug/ibmphp_core.c struct pci_dev *temp; temp 671 drivers/pci/hotplug/ibmphp_core.c temp = pci_get_domain_bus_and_slot(0, func->busno, temp 673 drivers/pci/hotplug/ibmphp_core.c if (temp) { temp 674 drivers/pci/hotplug/ibmphp_core.c pci_stop_and_remove_bus_device(temp); temp 675 drivers/pci/hotplug/ibmphp_core.c pci_dev_put(temp); temp 684 drivers/pci/hotplug/ibmphp_ebda.c u8 ctlr_id, temp, bus_index; temp 711 drivers/pci/hotplug/ibmphp_ebda.c temp = readb(io_mem + addr); temp 796 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->ctlr_type = temp; temp 521 drivers/pci/hotplug/pci_hotplug_core.c struct hotplug_slot *temp; temp 527 drivers/pci/hotplug/pci_hotplug_core.c temp = get_slot_from_name(hotplug_slot_name(slot)); temp 528 drivers/pci/hotplug/pci_hotplug_core.c if (WARN_ON(temp != slot)) { temp 86 drivers/pci/hotplug/pciehp_pci.c struct pci_dev *dev, *temp; temp 104 drivers/pci/hotplug/pciehp_pci.c list_for_each_entry_safe_reverse(dev, temp, &parent->devices, temp 68 drivers/pci/hotplug/shpchp_pci.c struct pci_dev *dev, *temp; temp 76 drivers/pci/hotplug/shpchp_pci.c list_for_each_entry_safe(dev, temp, &parent->devices, bus_list) { temp 1088 drivers/pci/pcie/aer.c int pos, temp; temp 1120 drivers/pci/pcie/aer.c pci_read_config_dword(dev, pos + PCI_ERR_CAP, &temp); temp 1121 drivers/pci/pcie/aer.c info->first_error = PCI_ERR_CAP_FEP(temp); temp 798 drivers/perf/thunderx2_pmu.c struct tx2_uncore_pmu *tx2_pmu, *temp; temp 802 drivers/perf/thunderx2_pmu.c list_for_each_entry_safe(tx2_pmu, temp, &tx2_pmus, entry) { temp 194 drivers/phy/allwinner/phy-sun4i-usb.c u32 temp, usbc_bit = BIT(phy->index * 2); temp 207 drivers/phy/allwinner/phy-sun4i-usb.c temp = readl(phyctl); temp 210 drivers/phy/allwinner/phy-sun4i-usb.c temp &= ~(0xff << 8); temp 213 drivers/phy/allwinner/phy-sun4i-usb.c temp |= ((addr + i) << 8); temp 214 drivers/phy/allwinner/phy-sun4i-usb.c writel(temp, phyctl); temp 217 drivers/phy/allwinner/phy-sun4i-usb.c temp = readb(phyctl); temp 219 drivers/phy/allwinner/phy-sun4i-usb.c temp |= PHYCTL_DATA; temp 221 drivers/phy/allwinner/phy-sun4i-usb.c temp &= ~PHYCTL_DATA; temp 222 drivers/phy/allwinner/phy-sun4i-usb.c temp &= ~usbc_bit; temp 223 drivers/phy/allwinner/phy-sun4i-usb.c writeb(temp, phyctl); temp 226 drivers/phy/allwinner/phy-sun4i-usb.c temp = readb(phyctl); temp 227 drivers/phy/allwinner/phy-sun4i-usb.c temp |= usbc_bit; temp 228 drivers/phy/allwinner/phy-sun4i-usb.c writeb(temp, phyctl); temp 230 drivers/phy/allwinner/phy-sun4i-usb.c temp = readb(phyctl); temp 231 drivers/phy/allwinner/phy-sun4i-usb.c temp &= ~usbc_bit; temp 232 drivers/phy/allwinner/phy-sun4i-usb.c writeb(temp, phyctl); temp 633 drivers/phy/samsung/phy-exynos5-usbdrd.c unsigned int temp; temp 642 drivers/phy/samsung/phy-exynos5-usbdrd.c temp = LOSLEVEL_OVRD_IN_LOS_BIAS_5420 | temp 647 drivers/phy/samsung/phy-exynos5-usbdrd.c temp); temp 658 drivers/phy/samsung/phy-exynos5-usbdrd.c temp = TX_VBOOSTLEVEL_OVRD_IN_VBOOST_5420; temp 661 drivers/phy/samsung/phy-exynos5-usbdrd.c temp); temp 679 drivers/phy/samsung/phy-exynos5-usbdrd.c temp = LANE0_TX_DEBUG_RXDET_MEAS_TIME_48M_50M_52M; temp 683 drivers/phy/samsung/phy-exynos5-usbdrd.c temp = LANE0_TX_DEBUG_RXDET_MEAS_TIME_19M2_20M; temp 687 drivers/phy/samsung/phy-exynos5-usbdrd.c temp = LANE0_TX_DEBUG_RXDET_MEAS_TIME_24M; temp 693 drivers/phy/samsung/phy-exynos5-usbdrd.c temp); temp 550 drivers/pinctrl/nomadik/pinctrl-nomadik.c unsigned int temp = slpm[i]; temp 558 drivers/pinctrl/nomadik/pinctrl-nomadik.c writel(temp, chip->addr + NMK_GPIO_SLPC); temp 1781 drivers/pinctrl/pinctrl-rockchip.c u32 data, temp, rmask_bits; temp 1804 drivers/pinctrl/pinctrl-rockchip.c ret = regmap_read(regmap, reg + 0x4, &temp); temp 1813 drivers/pinctrl/pinctrl-rockchip.c temp &= 0x3; temp 1814 drivers/pinctrl/pinctrl-rockchip.c temp <<= 1; temp 1815 drivers/pinctrl/pinctrl-rockchip.c data |= temp; temp 1858 drivers/pinctrl/pinctrl-rockchip.c u32 data, rmask, rmask_bits, temp; temp 1899 drivers/pinctrl/pinctrl-rockchip.c temp = (ret >> 0x1) & 0x3; temp 1908 drivers/pinctrl/pinctrl-rockchip.c temp |= (0x3 << 16); temp 1910 drivers/pinctrl/pinctrl-rockchip.c ret = regmap_update_bits(regmap, reg, rmask, temp); temp 35 drivers/pinctrl/spear/pinctrl-spear.c u32 val, temp, j; temp 44 drivers/pinctrl/spear/pinctrl-spear.c temp = muxreg->val; temp 46 drivers/pinctrl/spear/pinctrl-spear.c temp = ~muxreg->val; temp 48 drivers/pinctrl/spear/pinctrl-spear.c val |= muxreg->mask & temp; temp 900 drivers/pinctrl/sprd/pinctrl-sprd.c const char **temp; temp 923 drivers/pinctrl/sprd/pinctrl-sprd.c temp = info->grp_names; temp 933 drivers/pinctrl/sprd/pinctrl-sprd.c *temp++ = grp->name; temp 946 drivers/pinctrl/sprd/pinctrl-sprd.c *temp++ = grp->name; temp 268 drivers/platform/x86/acerhdf.c static int acerhdf_get_temp(int *temp) temp 275 drivers/platform/x86/acerhdf.c *temp = read_temp * 1000; temp 350 drivers/platform/x86/acerhdf.c int temp, err = 0; temp 354 drivers/platform/x86/acerhdf.c err = acerhdf_get_temp(&temp); temp 359 drivers/platform/x86/acerhdf.c pr_notice("temp %d\n", temp); temp 361 drivers/platform/x86/acerhdf.c *t = temp; temp 454 drivers/platform/x86/acerhdf.c int *temp) temp 459 drivers/platform/x86/acerhdf.c *temp = fanon - fanoff; temp 465 drivers/platform/x86/acerhdf.c int *temp) temp 468 drivers/platform/x86/acerhdf.c *temp = fanon; temp 470 drivers/platform/x86/acerhdf.c *temp = ACERHDF_TEMP_CRIT; temp 853 drivers/platform/x86/asus-laptop.c unsigned long long temp; temp 870 drivers/platform/x86/asus-laptop.c rv = acpi_evaluate_integer(asus->handle, "SFUN", NULL, &temp); temp 873 drivers/platform/x86/asus-laptop.c (uint) temp); temp 882 drivers/platform/x86/asus-laptop.c rv = acpi_evaluate_integer(asus->handle, "HWRS", NULL, &temp); temp 885 drivers/platform/x86/asus-laptop.c (uint) temp); temp 893 drivers/platform/x86/asus-laptop.c rv = acpi_evaluate_integer(asus->handle, "ASYM", NULL, &temp); temp 896 drivers/platform/x86/asus-laptop.c (uint) temp); temp 225 drivers/platform/x86/dell_rbu.c u8 *temp; temp 234 drivers/platform/x86/dell_rbu.c temp = (u8 *) data; temp 238 drivers/platform/x86/dell_rbu.c if ((temp + rbu_data.packetsize) < end) temp 242 drivers/platform/x86/dell_rbu.c packet_length = end - temp; temp 246 drivers/platform/x86/dell_rbu.c if ((rc = create_packet(temp, packet_length))) temp 249 drivers/platform/x86/dell_rbu.c pr_debug("%p:%td\n", temp, (end - temp)); temp 250 drivers/platform/x86/dell_rbu.c temp += packet_length; temp 645 drivers/platform/x86/dell_rbu.c unsigned long temp; temp 648 drivers/platform/x86/dell_rbu.c sscanf(buffer, "%lu", &temp); temp 649 drivers/platform/x86/dell_rbu.c if (temp < 0xffffffff) temp 650 drivers/platform/x86/dell_rbu.c rbu_data.packetsize = temp; temp 77 drivers/platform/x86/gpd-pocket-fan.c int t0, t1, temp, speed, min_speed, i; temp 86 drivers/platform/x86/gpd-pocket-fan.c temp = max(t0, t1); temp 93 drivers/platform/x86/gpd-pocket-fan.c if (temp < temp_limits[i]) temp 101 drivers/platform/x86/gpd-pocket-fan.c if (temp <= (temp_limits[i] - hysteresis)) temp 369 drivers/platform/x86/hdaps.c u8 uninitialized_var(temp); temp 372 drivers/platform/x86/hdaps.c ret = hdaps_readb_one(HDAPS_PORT_TEMP1, &temp); temp 376 drivers/platform/x86/hdaps.c return sprintf(buf, "%u\n", temp); temp 382 drivers/platform/x86/hdaps.c u8 uninitialized_var(temp); temp 385 drivers/platform/x86/hdaps.c ret = hdaps_readb_one(HDAPS_PORT_TEMP2, &temp); temp 389 drivers/platform/x86/hdaps.c return sprintf(buf, "%u\n", temp); temp 104 drivers/platform/x86/intel_menlow.c unsigned long long temp; temp 120 drivers/platform/x86/intel_menlow.c &temp); temp 271 drivers/platform/x86/intel_menlow.c unsigned long long temp; temp 277 drivers/platform/x86/intel_menlow.c NULL, &temp); temp 280 drivers/platform/x86/intel_menlow.c if ((index && value < temp) || (!index && value > temp)) temp 285 drivers/platform/x86/intel_menlow.c &args, &temp); temp 121 drivers/platform/x86/intel_mid_thermal.c int temp; temp 137 drivers/platform/x86/intel_mid_thermal.c temp = 177 - (adc_val/5); temp 139 drivers/platform/x86/intel_mid_thermal.c temp = 111 - (adc_val/8); temp 141 drivers/platform/x86/intel_mid_thermal.c temp = 92 - (adc_val/10); temp 143 drivers/platform/x86/intel_mid_thermal.c temp = 91 - (adc_val/10); temp 145 drivers/platform/x86/intel_mid_thermal.c temp = 112 - (adc_val/6); temp 148 drivers/platform/x86/intel_mid_thermal.c *tp = temp * 1000; temp 161 drivers/platform/x86/intel_mid_thermal.c static int mid_read_temp(struct thermal_zone_device *tzd, int *temp) temp 201 drivers/platform/x86/intel_mid_thermal.c *temp = td_info->curr_temp = curr_temp; temp 441 drivers/platform/x86/intel_mid_thermal.c static int read_curr_temp(struct thermal_zone_device *tzd, int *temp) temp 444 drivers/platform/x86/intel_mid_thermal.c return mid_read_temp(tzd, temp); temp 1000 drivers/platform/x86/intel_telemetry_pltdrv.c u32 temp = 0; temp 1011 drivers/platform/x86/intel_telemetry_pltdrv.c 0, 0, NULL, &temp); temp 1021 drivers/platform/x86/intel_telemetry_pltdrv.c IOSS_TELEM_TRACE_CTL_READ, NULL, 0, &temp, temp 1035 drivers/platform/x86/intel_telemetry_pltdrv.c TELEM_EXTRACT_VERBOSITY(temp, *verbosity); temp 1045 drivers/platform/x86/intel_telemetry_pltdrv.c u32 temp = 0; temp 1055 drivers/platform/x86/intel_telemetry_pltdrv.c 0, 0, NULL, &temp); temp 1061 drivers/platform/x86/intel_telemetry_pltdrv.c TELEM_CLEAR_VERBOSITY_BITS(temp); temp 1062 drivers/platform/x86/intel_telemetry_pltdrv.c TELEM_SET_VERBOSITY_BITS(temp, verbosity); temp 1066 drivers/platform/x86/intel_telemetry_pltdrv.c 0, 0, &temp, NULL); temp 1075 drivers/platform/x86/intel_telemetry_pltdrv.c IOSS_TELEM_TRACE_CTL_READ, NULL, 0, &temp, temp 1082 drivers/platform/x86/intel_telemetry_pltdrv.c TELEM_CLEAR_VERBOSITY_BITS(temp); temp 1083 drivers/platform/x86/intel_telemetry_pltdrv.c TELEM_SET_VERBOSITY_BITS(temp, verbosity); temp 1086 drivers/platform/x86/intel_telemetry_pltdrv.c IOSS_TELEM_TRACE_CTL_WRITE, (u8 *)&temp, temp 928 drivers/platform/x86/samsung-laptop.c char temp = readb(memcheck + loca); temp 930 drivers/platform/x86/samsung-laptop.c if (temp == testStr[i]) { temp 1376 drivers/platform/x86/samsung-laptop.c char temp = readb(samsung->f0000_segment + loca); temp 1378 drivers/platform/x86/samsung-laptop.c if (isalnum(temp) || temp == '/' || temp == '-') temp 1379 drivers/platform/x86/samsung-laptop.c samsung->sdiag[i++] = temp; temp 6281 drivers/platform/x86/thinkpad_acpi.c s32 temp[TPACPI_MAX_THERMAL_SENSORS]; temp 6360 drivers/platform/x86/thinkpad_acpi.c res = thermal_get_sensor(i, &s->temp[i]); temp 6380 drivers/platform/x86/thinkpad_acpi.c if (t.temp[i] != TPACPI_THERMAL_SENSOR_NA) temp 6381 drivers/platform/x86/thinkpad_acpi.c pr_cont(" %d", (int)(t.temp[i] / 1000)); temp 6411 drivers/platform/x86/thinkpad_acpi.c SENSOR_ATTR(temp##_idxA##_input, S_IRUGO, \ temp 6590 drivers/platform/x86/thinkpad_acpi.c seq_printf(m, "%d ", t.temp[i] / 1000); temp 6591 drivers/platform/x86/thinkpad_acpi.c seq_printf(m, "%d\n", t.temp[i] / 1000); temp 9207 drivers/platform/x86/thinkpad_acpi.c acpi_handle temp; temp 9210 drivers/platform/x86/thinkpad_acpi.c if (ACPI_FAILURE(acpi_get_handle(hkey_handle, t->name, &temp))) { temp 9262 drivers/platform/x86/thinkpad_acpi.c acpi_handle temp; temp 9267 drivers/platform/x86/thinkpad_acpi.c if (ACPI_FAILURE(acpi_get_handle(hkey_handle, t->name, &temp))) { temp 1239 drivers/platform/x86/wmi.c u8 temp = 0; temp 1251 drivers/platform/x86/wmi.c result = ec_read(address, &temp); temp 1252 drivers/platform/x86/wmi.c (*value) |= ((u64)temp) << i; temp 1254 drivers/platform/x86/wmi.c temp = 0xff & ((*value) >> i); temp 1255 drivers/platform/x86/wmi.c result = ec_write(address, temp); temp 237 drivers/pnp/card.c struct list_head *pos, *temp; temp 263 drivers/pnp/card.c list_for_each_safe(pos, temp, &pnp_card_drivers) { temp 278 drivers/pnp/card.c struct list_head *pos, *temp; temp 285 drivers/pnp/card.c list_for_each_safe(pos, temp, &card->devices) { temp 417 drivers/pnp/card.c struct list_head *pos, *temp; temp 435 drivers/pnp/card.c list_for_each_safe(pos, temp, &pnp_cards) { temp 554 drivers/power/supply/88pm860x_battery.c int temp; temp 571 drivers/power/supply/88pm860x_battery.c temp = -30; /* over cold , suppose -30 roughly */ temp 575 drivers/power/supply/88pm860x_battery.c temp = -15; /* -15 degree, code */ temp 579 drivers/power/supply/88pm860x_battery.c temp = -5; /* -5 degree */ temp 584 drivers/power/supply/88pm860x_battery.c temp = 5; /* in range of (0, 10) */ temp 589 drivers/power/supply/88pm860x_battery.c temp = 15; /* in range of (10, 20) */ temp 594 drivers/power/supply/88pm860x_battery.c temp = 25; /* in range of (20, 30) */ temp 599 drivers/power/supply/88pm860x_battery.c temp = 35; /* in range of (30, 40) */ temp 606 drivers/power/supply/88pm860x_battery.c temp = 45; /* over heat ,suppose 45 roughly */ temp 609 drivers/power/supply/88pm860x_battery.c dev_dbg(info->dev, "temp_C:%d C,temp_mv:%d mv\n", temp, *data); temp 610 drivers/power/supply/88pm860x_battery.c *data = temp; temp 429 drivers/power/supply/88pm860x_charger.c union power_supply_propval temp; temp 436 drivers/power/supply/88pm860x_charger.c ret = power_supply_get_property(psy, POWER_SUPPLY_PROP_TEMP, &temp); temp 439 drivers/power/supply/88pm860x_charger.c value = temp.intval / 10; temp 446 drivers/power/supply/ab8500_btemp.c return tbl[i].temp + ((tbl[i + 1].temp - tbl[i].temp) * temp 458 drivers/power/supply/ab8500_btemp.c int temp; temp 479 drivers/power/supply/ab8500_btemp.c temp = ab8500_btemp_res_to_temp(di, temp 496 drivers/power/supply/ab8500_btemp.c temp = ab8500_btemp_res_to_temp(di, temp 499 drivers/power/supply/ab8500_btemp.c prev = temp; temp 501 drivers/power/supply/ab8500_btemp.c dev_dbg(di->dev, "Battery temperature is %d\n", temp); temp 502 drivers/power/supply/ab8500_btemp.c return temp; temp 757 drivers/power/supply/ab8500_btemp.c int temp = 0; temp 764 drivers/power/supply/ab8500_btemp.c temp = di->bat_temp * 10; temp 767 drivers/power/supply/ab8500_btemp.c if (temp > di->btemp_ranges.btemp_low_limit) temp 768 drivers/power/supply/ab8500_btemp.c temp = di->btemp_ranges.btemp_low_limit * 10; temp 770 drivers/power/supply/ab8500_btemp.c temp = di->bat_temp * 10; temp 772 drivers/power/supply/ab8500_btemp.c if (temp < di->btemp_ranges.btemp_high_limit) temp 773 drivers/power/supply/ab8500_btemp.c temp = di->btemp_ranges.btemp_high_limit * 10; temp 775 drivers/power/supply/ab8500_btemp.c temp = di->bat_temp * 10; temp 777 drivers/power/supply/ab8500_btemp.c if (temp > di->btemp_ranges.btemp_med_limit) temp 778 drivers/power/supply/ab8500_btemp.c temp = di->btemp_ranges.btemp_med_limit * 10; temp 780 drivers/power/supply/ab8500_btemp.c temp = di->bat_temp * 10; temp 782 drivers/power/supply/ab8500_btemp.c if (temp < di->btemp_ranges.btemp_med_limit) temp 783 drivers/power/supply/ab8500_btemp.c temp = di->btemp_ranges.btemp_med_limit * 10; temp 785 drivers/power/supply/ab8500_btemp.c temp = di->bat_temp * 10; temp 787 drivers/power/supply/ab8500_btemp.c temp = di->bat_temp * 10; temp 789 drivers/power/supply/ab8500_btemp.c return temp; temp 916 drivers/power/supply/ab8500_fg.c if (di->bat_temp / 10 > tbl[i].temp) temp 922 drivers/power/supply/ab8500_fg.c tbl[i].temp, temp 924 drivers/power/supply/ab8500_fg.c tbl[i-1].temp, temp 86 drivers/power/supply/abx500_chargalg.c int temp; temp 724 drivers/power/supply/abx500_chargalg.c if (di->batt_data.temp > (di->bm->temp_low + di->t_hyst_norm) && temp 725 drivers/power/supply/abx500_chargalg.c di->batt_data.temp < (di->bm->temp_high - di->t_hyst_norm)) { temp 732 drivers/power/supply/abx500_chargalg.c if (((di->batt_data.temp >= di->bm->temp_high) && temp 733 drivers/power/supply/abx500_chargalg.c (di->batt_data.temp < temp 735 drivers/power/supply/abx500_chargalg.c ((di->batt_data.temp > temp 737 drivers/power/supply/abx500_chargalg.c (di->batt_data.temp <= di->bm->temp_low))) { temp 743 drivers/power/supply/abx500_chargalg.c } else if (di->batt_data.temp <= di->bm->temp_under || temp 744 drivers/power/supply/abx500_chargalg.c di->batt_data.temp >= di->bm->temp_over) { temp 754 drivers/power/supply/abx500_chargalg.c di->batt_data.temp, di->t_hyst_lowhigh, temp 1212 drivers/power/supply/abx500_chargalg.c di->batt_data.temp = ret.intval / 10; temp 1398 drivers/power/supply/abx500_chargalg.c di->batt_data.temp, temp 1725 drivers/power/supply/abx500_chargalg.c if (di->batt_data.temp <= di->bm->temp_under) temp 1377 drivers/power/supply/bq24190_charger.c int temp, ret; temp 1383 drivers/power/supply/bq24190_charger.c ARRAY_SIZE(bq24190_ictrc_treg_values), &temp); temp 1387 drivers/power/supply/bq24190_charger.c val->intval = temp; temp 1452 drivers/power/supply/bq27xxx_battery.c int temp; temp 1454 drivers/power/supply/bq27xxx_battery.c temp = bq27xxx_read(di, BQ27XXX_REG_TEMP, false); temp 1455 drivers/power/supply/bq27xxx_battery.c if (temp < 0) { temp 1457 drivers/power/supply/bq27xxx_battery.c return temp; temp 1461 drivers/power/supply/bq27xxx_battery.c temp = 5 * temp / 2; temp 1463 drivers/power/supply/bq27xxx_battery.c return temp; temp 53 drivers/power/supply/bq27xxx_battery_hdq.c int temp; temp 62 drivers/power/supply/bq27xxx_battery_hdq.c temp = upper; temp 71 drivers/power/supply/bq27xxx_battery_hdq.c } while (temp != upper && --timeout); temp 593 drivers/power/supply/charger-manager.c int *temp) temp 604 drivers/power/supply/charger-manager.c (union power_supply_propval *)temp); temp 611 drivers/power/supply/charger-manager.c int *temp) temp 620 drivers/power/supply/charger-manager.c ret = thermal_zone_get_temp(cm->tzd_batt, temp); temp 623 drivers/power/supply/charger-manager.c *temp /= 100; temp 628 drivers/power/supply/charger-manager.c ret = cm_get_battery_temperature_by_psy(cm, temp); temp 637 drivers/power/supply/charger-manager.c int temp, upper_limit, lower_limit; temp 640 drivers/power/supply/charger-manager.c ret = cm_get_battery_temperature(cm, &temp); temp 659 drivers/power/supply/charger-manager.c if (temp > upper_limit) temp 661 drivers/power/supply/charger-manager.c else if (temp < lower_limit) temp 248 drivers/power/supply/ds2760_battery.c static int battery_interpolate(int array[], int temp) temp 252 drivers/power/supply/ds2760_battery.c if (temp <= 0) temp 254 drivers/power/supply/ds2760_battery.c if (temp >= 40) temp 257 drivers/power/supply/ds2760_battery.c index = temp / 10; temp 258 drivers/power/supply/ds2760_battery.c dt = temp % 10; temp 189 drivers/power/supply/ds2781_battery.c int *temp) temp 210 drivers/power/supply/ds2781_battery.c *temp = temp_raw + (temp_raw / 4); temp 98 drivers/power/supply/ds2782_battery.c static int ds278x_get_temp(struct ds278x_info *info, int *temp) temp 112 drivers/power/supply/ds2782_battery.c *temp = ((raw / 32) * 125) / 100; temp 320 drivers/power/supply/lp8727_charger.c static bool lp8727_is_high_temperature(enum lp8727_die_temp temp) temp 322 drivers/power/supply/lp8727_charger.c switch (temp) { temp 338 drivers/power/supply/lp8727_charger.c enum lp8727_die_temp temp; temp 356 drivers/power/supply/lp8727_charger.c temp = (read & LP8727_TEMP_STAT) >> LP8727_TEMP_SHIFT; temp 358 drivers/power/supply/lp8727_charger.c val->intval = lp8727_is_high_temperature(temp) ? temp 92 drivers/power/supply/max17042_battery.c static int max17042_get_temperature(struct max17042_chip *chip, int *temp) temp 102 drivers/power/supply/max17042_battery.c *temp = sign_extend32(data, 15); temp 105 drivers/power/supply/max17042_battery.c *temp = *temp * 10 / 256; temp 174 drivers/power/supply/max17042_battery.c int temp, vavg, vbatt, ret; temp 205 drivers/power/supply/max17042_battery.c ret = max17042_get_temperature(chip, &temp); temp 209 drivers/power/supply/max17042_battery.c if (temp < chip->pdata->temp_min) { temp 214 drivers/power/supply/max17042_battery.c if (temp > chip->pdata->temp_max) { temp 426 drivers/power/supply/max17042_battery.c int8_t temp; temp 435 drivers/power/supply/max17042_battery.c temp = val->intval / 10; temp 437 drivers/power/supply/max17042_battery.c if (temp >= (int8_t)(data >> 8)) temp 438 drivers/power/supply/max17042_battery.c temp = (int8_t)(data >> 8) - 1; temp 440 drivers/power/supply/max17042_battery.c data = (data & 0xff00) + temp; temp 449 drivers/power/supply/max17042_battery.c temp = val->intval / 10; temp 451 drivers/power/supply/max17042_battery.c if (temp <= (int8_t)(data & 0xff)) temp 452 drivers/power/supply/max17042_battery.c temp = (int8_t)(data & 0xff) + 1; temp 454 drivers/power/supply/max17042_battery.c data = (data & 0xff) + (temp << 8); temp 736 drivers/power/supply/power_supply_core.c int temp, int *table_len) temp 745 drivers/power/supply/power_supply_core.c temp_diff = abs(info->ocv_temp[i] - temp); temp 759 drivers/power/supply/power_supply_core.c int ocv, int temp) temp 764 drivers/power/supply/power_supply_core.c table = power_supply_find_ocv2cap_table(info, temp, &table_len); temp 845 drivers/power/supply/power_supply_core.c int *temp) temp 858 drivers/power/supply/power_supply_core.c *temp = val.intval * 100; temp 243 drivers/power/supply/power_supply_hwmon.c HWMON_CHANNEL_INFO(temp, temp 291 drivers/power/supply/power_supply_sysfs.c POWER_SUPPLY_ATTR(temp), temp 372 drivers/power/supply/sc27xx_fuel_gauge.c int ret, cur_clbcnt, delta_clbcnt, delta_cap, temp; temp 385 drivers/power/supply/sc27xx_fuel_gauge.c temp = DIV_ROUND_CLOSEST(delta_clbcnt * 10, 36 * SC27XX_FGU_SAMPLE_HZ); temp 386 drivers/power/supply/sc27xx_fuel_gauge.c temp = sc27xx_fgu_adc_to_current(data, temp / 1000); temp 392 drivers/power/supply/sc27xx_fuel_gauge.c delta_cap = DIV_ROUND_CLOSEST(temp * 100, data->total_cap); temp 465 drivers/power/supply/sc27xx_fuel_gauge.c static int sc27xx_fgu_get_temp(struct sc27xx_fgu_data *data, int *temp) temp 467 drivers/power/supply/sc27xx_fuel_gauge.c return iio_read_channel_processed(data->channel, temp); temp 186 drivers/power/supply/twl4030_charger.c int ret, temp; temp 194 drivers/power/supply/twl4030_charger.c temp = (int)(val & 0x03) << 8; temp 201 drivers/power/supply/twl4030_charger.c return temp | val; temp 240 drivers/rapidio/devices/tsi721.c u32 temp = data; temp 243 drivers/rapidio/devices/tsi721.c offset, len, &temp, 1); temp 2181 drivers/rapidio/rio_cm.c struct cm_peer *peer, *temp; temp 2230 drivers/rapidio/rio_cm.c list_for_each_entry_safe(peer, temp, &cm->peers, node) { temp 473 drivers/regulator/max8973-regulator.c static int max8973_thermal_read_temp(void *data, int *temp) temp 487 drivers/regulator/max8973-regulator.c *temp = mchip->junction_temp_warning + 1000; temp 489 drivers/regulator/max8973-regulator.c *temp = MAX77621_NORMAL_OPERATING_TEMP; temp 273 drivers/rtc/rtc-ab-eoz9.c u32 attr, int channel, long *temp) temp 296 drivers/rtc/rtc-ab-eoz9.c *temp = 1000 * (val + ABEOZ953_TEMP_MIN); temp 299 drivers/rtc/rtc-ab-eoz9.c *temp = 1000 * ABEOZ953_TEMP_MAX; temp 302 drivers/rtc/rtc-ab-eoz9.c *temp = 1000 * ABEOZ953_TEMP_MIN; temp 1247 drivers/rtc/rtc-ds1307.c s16 temp; temp 1258 drivers/rtc/rtc-ds1307.c temp = (temp_buf[0] << 8) | temp_buf[1]; temp 1259 drivers/rtc/rtc-ds1307.c temp >>= 6; temp 1260 drivers/rtc/rtc-ds1307.c *mC = temp * 250; temp 1269 drivers/rtc/rtc-ds1307.c s32 temp; temp 1271 drivers/rtc/rtc-ds1307.c ret = ds3231_hwmon_read_temp(dev, &temp); temp 1275 drivers/rtc/rtc-ds1307.c return sprintf(buf, "%d\n", temp); temp 290 drivers/rtc/rtc-ds3232.c s16 temp; temp 302 drivers/rtc/rtc-ds3232.c temp = (temp_buf[0] << 8) | temp_buf[1]; temp 303 drivers/rtc/rtc-ds3232.c temp >>= 6; temp 304 drivers/rtc/rtc-ds3232.c *mC = temp * 250; temp 326 drivers/rtc/rtc-ds3232.c u32 attr, int channel, long *temp) temp 332 drivers/rtc/rtc-ds3232.c err = ds3232_hwmon_read_temp(dev, temp); temp 134 drivers/rtc/rtc-mxc.c u32 tod, day, hr, min, sec, temp; temp 148 drivers/rtc/rtc-mxc.c temp = (hr << 8) + min; temp 154 drivers/rtc/rtc-mxc.c writew(temp, ioaddr + RTC_HOURMIN); temp 159 drivers/rtc/rtc-mxc.c writew(temp, ioaddr + RTC_ALRM_HM); temp 676 drivers/rtc/rtc-rv3029c2.c u8 temp; temp 678 drivers/rtc/rtc-rv3029c2.c ret = rv3029_read_regs(dev, RV3029_TEMP_PAGE, &temp, 1); temp 682 drivers/rtc/rtc-rv3029c2.c *temp_mC = ((int)temp - 60) * 1000; temp 287 drivers/rtc/rtc-v3020.c int temp; temp 305 drivers/rtc/rtc-v3020.c temp = chip->ops->read_bit(chip); temp 775 drivers/s390/block/dasd_alias.c struct dasd_device *device, *temp; temp 792 drivers/s390/block/dasd_alias.c list_for_each_entry_safe(device, temp, &lcu->active_devices, temp 112 drivers/s390/block/dcssblk.c struct segment_info *entry, *temp; temp 115 drivers/s390/block/dcssblk.c list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { temp 237 drivers/s390/block/dcssblk.c struct segment_info *sort_list, *entry, temp; temp 257 drivers/s390/block/dcssblk.c memcpy(&temp, &sort_list[i], temp 261 drivers/s390/block/dcssblk.c memcpy(&sort_list[j], &temp, temp 348 drivers/s390/block/dcssblk.c struct segment_info *entry, *temp; temp 407 drivers/s390/block/dcssblk.c temp = entry; temp 409 drivers/s390/block/dcssblk.c if (entry != temp) temp 551 drivers/s390/block/dcssblk.c struct segment_info *seg_info, *temp; temp 726 drivers/s390/block/dcssblk.c list_for_each_entry_safe(seg_info, temp, &dev_info->seg_list, lh) { temp 1228 drivers/s390/char/tty3270.c struct tty3270_line temp; temp 1238 drivers/s390/char/tty3270.c temp = tp->screen[0]; temp 1239 drivers/s390/char/tty3270.c temp.len = 0; temp 1242 drivers/s390/char/tty3270.c tp->screen[tp->view.rows - 3] = temp; temp 409 drivers/s390/char/vmlogrdr.c int rc, *temp; temp 431 drivers/s390/char/vmlogrdr.c temp = (int*)priv->buffer; temp 432 drivers/s390/char/vmlogrdr.c *temp= iucv_data_count + sizeof(FENCE); temp 676 drivers/s390/cio/vfio_ccw_cp.c struct ccwchain *chain, *temp; temp 683 drivers/s390/cio/vfio_ccw_cp.c list_for_each_entry_safe(chain, temp, &cp->ccwchain_list, next) { temp 116 drivers/s390/crypto/zcrypt_cca_key.h unsigned char *temp; temp 134 drivers/s390/crypto/zcrypt_cca_key.h temp = key->exponent; temp 135 drivers/s390/crypto/zcrypt_cca_key.h if (copy_from_user(temp, mex->b_key, mex->inputdatalength)) temp 139 drivers/s390/crypto/zcrypt_cca_key.h if (temp[i]) temp 143 drivers/s390/crypto/zcrypt_cca_key.h memmove(temp, temp + i, mex->inputdatalength - i); temp 144 drivers/s390/crypto/zcrypt_cca_key.h temp += mex->inputdatalength - i; temp 146 drivers/s390/crypto/zcrypt_cca_key.h if (copy_from_user(temp, mex->n_modulus, mex->inputdatalength)) temp 2254 drivers/s390/net/qeth_core_main.c __u16 temp; temp 2273 drivers/s390/net/qeth_core_main.c temp = (card->info.cula << 8) + card->info.unit_addr2; temp 2274 drivers/s390/net/qeth_core_main.c memcpy(QETH_ULP_SETUP_REAL_DEVADDR(iob->data), &temp, 2); temp 768 drivers/scsi/53c700.c __u32 resume_offset = dsp, temp = dsp + 8; temp 842 drivers/scsi/53c700.c NCR_700_writel(temp, host, TEMP_REG); temp 851 drivers/scsi/53c700.c __u32 temp = dsp + 8, resume_offset = dsp; temp 929 drivers/scsi/53c700.c NCR_700_writel(temp, host, TEMP_REG); temp 1458 drivers/scsi/53c700.c NCR_700_writel(slot->temp, SCp->device->host, TEMP_REG); temp 1579 drivers/scsi/53c700.c __u32 temp = NCR_700_readl(host, TEMP_REG); temp 1581 drivers/scsi/53c700.c printk("scsi%d (%d:%d) PHASE MISMATCH IN SEND MESSAGE %d remain, return %p[%04x], phase %s\n", host->host_no, pun, lun, count, (void *)temp, temp - hostdata->pScript, sbcl_to_string(NCR_700_readb(host, SBCL_REG))); temp 188 drivers/scsi/53c700.h __u32 temp; temp 943 drivers/scsi/FlashPoint.c unsigned short temp, temp2, temp3, temp4, temp5, temp6; temp 1019 drivers/scsi/FlashPoint.c temp = (unsigned short)pCurrNvRam->niSyncTbl[id]; temp 1020 drivers/scsi/FlashPoint.c temp = ((temp & 0x03) + ((temp << 4) & 0xc0)) + temp 1021 drivers/scsi/FlashPoint.c (((temp << 4) & 0x0300) + ((temp << 8) & 0xc000)); temp 1023 drivers/scsi/FlashPoint.c temp = temp 1028 drivers/scsi/FlashPoint.c for (i = 0; i < 2; temp >>= 8, i++) { temp 1035 drivers/scsi/FlashPoint.c switch (temp & 0x3) { temp 1046 drivers/scsi/FlashPoint.c if (temp & DISC_ENABLE_BIT) temp 1049 drivers/scsi/FlashPoint.c if (temp & WIDE_NEGO_BIT) temp 1130 drivers/scsi/FlashPoint.c temp = FPT_utilEERead(ioport, (MODEL_NUMB_0 / 2)); temp 1131 drivers/scsi/FlashPoint.c pCardInfo->si_card_model[0] = (unsigned char)(temp >> 8); temp 1132 drivers/scsi/FlashPoint.c temp = FPT_utilEERead(ioport, (MODEL_NUMB_2 / 2)); temp 1134 drivers/scsi/FlashPoint.c pCardInfo->si_card_model[1] = (unsigned char)(temp & 0x00FF); temp 1135 drivers/scsi/FlashPoint.c pCardInfo->si_card_model[2] = (unsigned char)(temp >> 8); temp 1142 drivers/scsi/FlashPoint.c temp = RD_HARPOON(ioport + hp_xfer_pad); temp 1143 drivers/scsi/FlashPoint.c WR_HARPOON(ioport + hp_xfer_pad, (temp & ~BIT(4))); temp 1146 drivers/scsi/FlashPoint.c WR_HARPOON(ioport + hp_xfer_pad, (temp | BIT(4))); temp 1149 drivers/scsi/FlashPoint.c WR_HARPOON(ioport + hp_xfer_pad, temp); temp 1151 drivers/scsi/FlashPoint.c temp = RD_HARPOON(ioport + hp_ee_ctrl); temp 1153 drivers/scsi/FlashPoint.c WR_HARPOON(ioport + hp_ee_ctrl, (temp | SEE_CS)); temp 1163 drivers/scsi/FlashPoint.c WR_HARPOON(ioport + hp_ee_ctrl, temp); temp 1216 drivers/scsi/FlashPoint.c unsigned short temp, sync_bit_map, id; temp 1325 drivers/scsi/FlashPoint.c temp = pCardInfo->si_per_targ_no_disc; temp 1329 drivers/scsi/FlashPoint.c if (temp & id) temp 1338 drivers/scsi/FlashPoint.c temp = (unsigned short)pCurrNvRam->niSyncTbl[id]; temp 1339 drivers/scsi/FlashPoint.c temp = ((temp & 0x03) + ((temp << 4) & 0xc0)) + temp 1340 drivers/scsi/FlashPoint.c (((temp << 4) & 0x0300) + ((temp << 8) & 0xc000)); temp 1342 drivers/scsi/FlashPoint.c temp = temp 1347 drivers/scsi/FlashPoint.c for (i = 0; i < 2; temp >>= 8, i++) { temp 1353 drivers/scsi/FlashPoint.c (unsigned char)temp; temp 1362 drivers/scsi/FlashPoint.c (unsigned char)(temp & ~EE_SYNC_MASK); temp 1993 drivers/scsi/FlashPoint.c unsigned char temp, ScamFlg; temp 2024 drivers/scsi/FlashPoint.c temp = (unsigned char)(RD_HARPOON(p_port + hp_ee_ctrl) & temp 2027 drivers/scsi/FlashPoint.c ((unsigned char)temp | SEE_MS | SEE_CS)); temp 2028 drivers/scsi/FlashPoint.c WR_HARPOON(p_port + hp_ee_ctrl, temp); temp 6511 drivers/scsi/FlashPoint.c unsigned short index, temp, max_wd_cnt; temp 6518 drivers/scsi/FlashPoint.c temp = FPT_utilEERead(p_port, FW_SIGNATURE / 2); temp 6520 drivers/scsi/FlashPoint.c if (temp == 0x4641) { temp 6524 drivers/scsi/FlashPoint.c temp += FPT_utilEERead(p_port, index); temp 6528 drivers/scsi/FlashPoint.c if (temp == FPT_utilEERead(p_port, EEPROM_CHECK_SUM / 2)) { temp 6541 drivers/scsi/FlashPoint.c temp = 0; temp 6544 drivers/scsi/FlashPoint.c temp += 0x4641; temp 6546 drivers/scsi/FlashPoint.c temp += 0x3920; temp 6548 drivers/scsi/FlashPoint.c temp += 0x3033; temp 6550 drivers/scsi/FlashPoint.c temp += 0x2020; temp 6552 drivers/scsi/FlashPoint.c temp += 0x70D3; temp 6554 drivers/scsi/FlashPoint.c temp += 0x0010; temp 6556 drivers/scsi/FlashPoint.c temp += 0x0003; temp 6558 drivers/scsi/FlashPoint.c temp += 0x0007; temp 6561 drivers/scsi/FlashPoint.c temp += 0x0000; temp 6563 drivers/scsi/FlashPoint.c temp += 0x0000; temp 6565 drivers/scsi/FlashPoint.c temp += 0x0000; temp 6568 drivers/scsi/FlashPoint.c temp += 0x4242; temp 6570 drivers/scsi/FlashPoint.c temp += 0x4242; temp 6572 drivers/scsi/FlashPoint.c temp += 0x4242; temp 6574 drivers/scsi/FlashPoint.c temp += 0x4242; temp 6576 drivers/scsi/FlashPoint.c temp += 0x4242; temp 6578 drivers/scsi/FlashPoint.c temp += 0x4242; temp 6580 drivers/scsi/FlashPoint.c temp += 0x4242; temp 6582 drivers/scsi/FlashPoint.c temp += 0x4242; temp 6585 drivers/scsi/FlashPoint.c temp += 0x6C46; temp 6587 drivers/scsi/FlashPoint.c temp += 0x7361; temp 6589 drivers/scsi/FlashPoint.c temp += 0x5068; temp 6591 drivers/scsi/FlashPoint.c temp += 0x696F; temp 6593 drivers/scsi/FlashPoint.c temp += 0x746E; temp 6595 drivers/scsi/FlashPoint.c temp += 0x4C20; temp 6597 drivers/scsi/FlashPoint.c temp += 0x2054; temp 6599 drivers/scsi/FlashPoint.c temp += 0x2020; temp 6603 drivers/scsi/FlashPoint.c temp += (0x0700 + TYPE_CODE0); temp 6606 drivers/scsi/FlashPoint.c temp += 0x5542; /* BUSLOGIC */ temp 6609 drivers/scsi/FlashPoint.c temp += 0x4C53; temp 6612 drivers/scsi/FlashPoint.c temp += 0x474F; temp 6615 drivers/scsi/FlashPoint.c temp += 0x4349; temp 6618 drivers/scsi/FlashPoint.c temp += 0x5442; /* BT- 930 */ temp 6621 drivers/scsi/FlashPoint.c temp += 0x202D; temp 6624 drivers/scsi/FlashPoint.c temp += 0x3339; temp 6627 drivers/scsi/FlashPoint.c temp += 0x2030; temp 6630 drivers/scsi/FlashPoint.c temp += 0x5453; temp 6633 drivers/scsi/FlashPoint.c temp += 0x5645; temp 6636 drivers/scsi/FlashPoint.c temp += 0x2045; temp 6639 drivers/scsi/FlashPoint.c temp += 0x202F; temp 6642 drivers/scsi/FlashPoint.c temp += 0x4F4A; temp 6645 drivers/scsi/FlashPoint.c temp += 0x204E; temp 6648 drivers/scsi/FlashPoint.c temp += 0x3539; temp 6650 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, temp, EEPROM_CHECK_SUM / 2); temp 1039 drivers/scsi/aacraid/aachba.c u8 temp = temp 1041 drivers/scsi/aacraid/aachba.c if (temp > 0x9) { temp 1043 drivers/scsi/aacraid/aachba.c 'A' + (temp - 0xA); temp 1046 drivers/scsi/aacraid/aachba.c '0' + temp; temp 3933 drivers/scsi/aacraid/aachba.c u32 temp = le32_to_cpu(psg->sg[i-1].count) - temp 3935 drivers/scsi/aacraid/aachba.c psg->sg[i-1].count = cpu_to_le32(temp); temp 3977 drivers/scsi/aacraid/aachba.c u32 temp = le32_to_cpu(psg->sg[i-1].count) - temp 3979 drivers/scsi/aacraid/aachba.c psg->sg[i-1].count = cpu_to_le32(temp); temp 4025 drivers/scsi/aacraid/aachba.c u32 temp = le32_to_cpu(psg->sg[i-1].count) - temp 4027 drivers/scsi/aacraid/aachba.c psg->sg[i-1].count = cpu_to_le32(temp); temp 4078 drivers/scsi/aacraid/aachba.c u32 temp = le32_to_cpu(rio2->sge[i-1].length) - temp 4080 drivers/scsi/aacraid/aachba.c rio2->sge[i-1].length = cpu_to_le32(temp); temp 4195 drivers/scsi/aacraid/aachba.c u32 temp; temp 4197 drivers/scsi/aacraid/aachba.c temp = le32_to_cpu(sge->len) - byte_count temp 4199 drivers/scsi/aacraid/aachba.c sge->len = cpu_to_le32(temp); temp 107 drivers/scsi/aic7xxx/aic7xxx_93cx6.c uint8_t temp; temp 111 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp = sd->sd_MS ^ sd->sd_CS; temp 112 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp ^ sd->sd_CK); temp 117 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp ^= sd->sd_DO; temp 118 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp); temp 120 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp ^ sd->sd_CK); temp 123 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp ^= sd->sd_DO; temp 133 drivers/scsi/aic7xxx/aic7xxx_93cx6.c uint8_t temp; temp 135 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp = sd->sd_MS; temp 136 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp); temp 138 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp ^ sd->sd_CK); temp 140 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp); temp 155 drivers/scsi/aic7xxx/aic7xxx_93cx6.c uint8_t temp; temp 169 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp = sd->sd_MS ^ sd->sd_CS; temp 172 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp ^= sd->sd_DO; temp 173 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp); temp 175 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp ^ sd->sd_CK); temp 178 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp ^= sd->sd_DO; temp 189 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp); temp 194 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp ^ sd->sd_CK); temp 226 drivers/scsi/aic7xxx/aic7xxx_93cx6.c uint8_t temp; temp 246 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp = sd->sd_MS ^ sd->sd_CS; temp 254 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp ^= sd->sd_DO; temp 255 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp); temp 257 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp ^ sd->sd_CK); temp 260 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp ^= sd->sd_DO; temp 267 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp ^= sd->sd_DO; temp 268 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp); temp 270 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp ^ sd->sd_CK); temp 273 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp ^= sd->sd_DO; temp 277 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp = sd->sd_MS; temp 278 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp); temp 280 drivers/scsi/aic7xxx/aic7xxx_93cx6.c temp = sd->sd_MS ^ sd->sd_CS; temp 282 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp); temp 284 drivers/scsi/aic7xxx/aic7xxx_93cx6.c SEEPROM_OUTB(sd, temp ^ sd->sd_CK); temp 792 drivers/scsi/arcmsr/arcmsr_hba.c char diff, temp; temp 837 drivers/scsi/arcmsr/arcmsr_hba.c temp = readb(devicemap); temp 838 drivers/scsi/arcmsr/arcmsr_hba.c diff = (*acb_dev_map) ^ temp; temp 840 drivers/scsi/arcmsr/arcmsr_hba.c *acb_dev_map = temp; temp 844 drivers/scsi/arcmsr/arcmsr_hba.c (temp & 0x01) == 1) { temp 848 drivers/scsi/arcmsr/arcmsr_hba.c && (temp & 0x01) == 0) { temp 856 drivers/scsi/arcmsr/arcmsr_hba.c temp >>= 1; temp 1535 drivers/scsi/arcmsr/arcmsr_hba.c char temp; temp 1546 drivers/scsi/arcmsr/arcmsr_hba.c temp = *acb_dev_map; temp 1547 drivers/scsi/arcmsr/arcmsr_hba.c if (temp) { temp 1549 drivers/scsi/arcmsr/arcmsr_hba.c if (temp & 1) { temp 1557 drivers/scsi/arcmsr/arcmsr_hba.c temp >>= 1; temp 921 drivers/scsi/bfa/bfa_defs.h u8 temp[4]; temp 4909 drivers/scsi/bfa/bfa_ioc.c bfa_trc(diag, msg->temp); temp 4930 drivers/scsi/bfa/bfa_ioc.c diag->tsensor.temp->temp = be16_to_cpu(rsp->temp); temp 4931 drivers/scsi/bfa/bfa_ioc.c diag->tsensor.temp->ts_junc = rsp->ts_junc; temp 4932 drivers/scsi/bfa/bfa_ioc.c diag->tsensor.temp->ts_brd = rsp->ts_brd; temp 4936 drivers/scsi/bfa/bfa_ioc.c diag->tsensor.temp->status = rsp->status; temp 4938 drivers/scsi/bfa/bfa_ioc.c diag->tsensor.temp->brd_temp = temp 4941 drivers/scsi/bfa/bfa_ioc.c diag->tsensor.temp->brd_temp = 0; temp 4946 drivers/scsi/bfa/bfa_ioc.c bfa_trc(diag, rsp->temp); temp 5177 drivers/scsi/bfa/bfa_ioc.c diag->tsensor.temp = result; temp 565 drivers/scsi/bfa/bfa_ioc.h u16 temp; /* 10-bit A/D value */ temp 575 drivers/scsi/bfa/bfa_ioc.h struct bfa_diag_results_tempsensor_s *temp; temp 1056 drivers/scsi/bfa/bfi.h u16 temp; /* 10-bit A/D value */ temp 137 drivers/scsi/bnx2i/bnx2i_init.c struct bnx2i_hba *hba, *temp; temp 140 drivers/scsi/bnx2i/bnx2i_init.c list_for_each_entry_safe(hba, temp, &adapter_list, link) { temp 86 drivers/scsi/cxlflash/lunmgt.c struct llun_info *lli, *temp; temp 88 drivers/scsi/cxlflash/lunmgt.c list_for_each_entry_safe(lli, temp, &cfg->lluns, list) temp 103 drivers/scsi/cxlflash/lunmgt.c struct glun_info *gli, *temp; temp 105 drivers/scsi/cxlflash/lunmgt.c list_for_each_entry_safe(gli, temp, &global.gluns, list) temp 180 drivers/scsi/cxlflash/lunmgt.c struct llun_info *lli, *temp; temp 183 drivers/scsi/cxlflash/lunmgt.c list_for_each_entry_safe(lli, temp, &cfg->lluns, list) { temp 205 drivers/scsi/cxlflash/lunmgt.c struct glun_info *gli, *temp; temp 208 drivers/scsi/cxlflash/lunmgt.c list_for_each_entry_safe(gli, temp, &global.gluns, list) { temp 834 drivers/scsi/cxlflash/vlun.c struct llun_info *lli, *temp; temp 842 drivers/scsi/cxlflash/vlun.c list_for_each_entry_safe(lli, temp, &cfg->lluns, list) { temp 164 drivers/scsi/fcoe/fcoe_ctlr.c struct fcoe_fcf_device *temp, *fcf_dev; temp 170 drivers/scsi/fcoe/fcoe_ctlr.c temp = kzalloc(sizeof(*temp), GFP_KERNEL); temp 171 drivers/scsi/fcoe/fcoe_ctlr.c if (!temp) temp 174 drivers/scsi/fcoe/fcoe_ctlr.c temp->fabric_name = new->fabric_name; temp 175 drivers/scsi/fcoe/fcoe_ctlr.c temp->switch_name = new->switch_name; temp 176 drivers/scsi/fcoe/fcoe_ctlr.c temp->fc_map = new->fc_map; temp 177 drivers/scsi/fcoe/fcoe_ctlr.c temp->vfid = new->vfid; temp 178 drivers/scsi/fcoe/fcoe_ctlr.c memcpy(temp->mac, new->fcf_mac, ETH_ALEN); temp 179 drivers/scsi/fcoe/fcoe_ctlr.c temp->priority = new->pri; temp 180 drivers/scsi/fcoe/fcoe_ctlr.c temp->fka_period = new->fka_period; temp 181 drivers/scsi/fcoe/fcoe_ctlr.c temp->selected = 0; /* default to unselected */ temp 194 drivers/scsi/fcoe/fcoe_ctlr.c fcf_dev = fcoe_fcf_device_add(ctlr_dev, temp); temp 223 drivers/scsi/fcoe/fcoe_ctlr.c kfree(temp); temp 176 drivers/scsi/fcoe/fcoe_transport.c struct rtnl_link_stats64 temp; temp 193 drivers/scsi/fcoe/fcoe_transport.c htonl(dev_get_stats(netdev, &temp)->rx_crc_errors); temp 1152 drivers/scsi/imm.c imm_struct *dev, *temp; temp 1171 drivers/scsi/imm.c temp = find_parent(); temp 1172 drivers/scsi/imm.c if (temp) temp 1173 drivers/scsi/imm.c dev->dev_no = temp->dev_no + 1; temp 1243 drivers/scsi/imm.c if (!temp) temp 1246 drivers/scsi/imm.c list_add_tail(&dev->list, &temp->list); temp 906 drivers/scsi/ipr.c struct ipr_cmnd *ipr_cmd, *temp; temp 913 drivers/scsi/ipr.c temp, &hrrq->hrrq_pending_q, queue) { temp 5767 drivers/scsi/ipr.c struct ipr_cmnd *ipr_cmd, *temp; temp 5782 drivers/scsi/ipr.c list_for_each_entry_safe(ipr_cmd, temp, &doneq, queue) { temp 5807 drivers/scsi/ipr.c struct ipr_cmnd *ipr_cmd, *temp; temp 5851 drivers/scsi/ipr.c list_for_each_entry_safe(ipr_cmd, temp, &doneq, queue) { temp 5872 drivers/scsi/ipr.c struct ipr_cmnd *ipr_cmd, *temp; temp 5901 drivers/scsi/ipr.c list_for_each_entry_safe(ipr_cmd, temp, &doneq, queue) { temp 7794 drivers/scsi/ipr.c struct ipr_resource_entry *res, *temp; temp 7808 drivers/scsi/ipr.c list_for_each_entry_safe(res, temp, &ioa_cfg->used_res_q, queue) temp 7823 drivers/scsi/ipr.c list_for_each_entry_safe(res, temp, &old_res, queue) { temp 7850 drivers/scsi/ipr.c list_for_each_entry_safe(res, temp, &old_res, queue) { temp 7858 drivers/scsi/ipr.c list_for_each_entry_safe(res, temp, &old_res, queue) { temp 1261 drivers/scsi/lpfc/lpfc.h uint32_t temp; temp 1262 drivers/scsi/lpfc/lpfc.h temp = readl(addr); temp 1263 drivers/scsi/lpfc/lpfc.h if (temp == 0xffffffff) temp 1265 drivers/scsi/lpfc/lpfc.h *data = temp; temp 205 drivers/scsi/mvsas/mv_94xx.c u32 temp; temp 206 drivers/scsi/mvsas/mv_94xx.c temp = (u32)(*(u32 *)&mvi->hba_info_param.phy_tuning[phy_id]); temp 207 drivers/scsi/mvsas/mv_94xx.c if (temp == 0xFFFFFFFFL) { temp 213 drivers/scsi/mvsas/mv_94xx.c temp = (u8)(*(u8 *)&mvi->hba_info_param.ffe_ctl[phy_id]); temp 214 drivers/scsi/mvsas/mv_94xx.c if (temp == 0xFFL) { temp 231 drivers/scsi/mvsas/mv_94xx.c temp = (u8)(*(u8 *)&mvi->hba_info_param.phy_rate[phy_id]); temp 232 drivers/scsi/mvsas/mv_94xx.c if (temp == 0xFFL) temp 2089 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 2146 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 2373 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 2464 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 2477 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 2490 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 2684 drivers/scsi/ncr53c8xx.c SCR_SFBR_REG (temp, SCR_AND, 0xfc), temp 2688 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 2697 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 2835 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 3268 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 3381 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 3407 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 3414 drivers/scsi/ncr53c8xx.c RADDR (temp), temp 501 drivers/scsi/pm8001/pm8001_ctl.c u32 *temp = (u32 *)pm8001_ha->memoryMap.region[IOP].virt_ptr; temp 513 drivers/scsi/pm8001/pm8001_ctl.c str += sprintf(str, "%08x ", *(temp+start)); temp 94 drivers/scsi/pm8001/pm80xx_hwi.c u32 accum_len , reg_val, index, *temp; temp 144 drivers/scsi/pm8001/pm80xx_hwi.c temp = (u32 *)pm8001_ha->memoryMap.region[FORENSIC_MEM].virt_ptr; temp 171 drivers/scsi/pm8001/pm80xx_hwi.c "%08x ", *(temp + index)); temp 191 drivers/scsi/pm8001/pm80xx_hwi.c "%08x ", *(temp + index)); temp 206 drivers/scsi/pm8001/pm80xx_hwi.c "%08x ", *(temp + index)); temp 139 drivers/scsi/pmcraid.c struct pmcraid_resource_entry *temp, *res = NULL; temp 156 drivers/scsi/pmcraid.c list_for_each_entry(temp, &pinstance->used_res_q, queue) { temp 159 drivers/scsi/pmcraid.c if (RES_IS_VSET(temp->cfg_entry)) { temp 161 drivers/scsi/pmcraid.c target = temp->cfg_entry.unique_flags1; temp 163 drivers/scsi/pmcraid.c target = le16_to_cpu(temp->cfg_entry.array_id) & 0xFF; temp 169 drivers/scsi/pmcraid.c } else if (RES_IS_GSCSI(temp->cfg_entry)) { temp 170 drivers/scsi/pmcraid.c target = RES_TARGET(temp->cfg_entry.resource_address); temp 172 drivers/scsi/pmcraid.c lun = RES_LUN(temp->cfg_entry.resource_address); temp 180 drivers/scsi/pmcraid.c res = temp; temp 1988 drivers/scsi/pmcraid.c struct pmcraid_cmd *cmd, *temp; temp 1995 drivers/scsi/pmcraid.c list_for_each_entry_safe(cmd, temp, &pinstance->pending_cmd_pool, temp 4293 drivers/scsi/pmcraid.c struct pmcraid_resource_entry *temp; temp 4308 drivers/scsi/pmcraid.c list_for_each_entry_safe(res, temp, &pinstance->used_res_q, queue) { temp 5488 drivers/scsi/pmcraid.c struct pmcraid_resource_entry *res, *temp; temp 5506 drivers/scsi/pmcraid.c list_for_each_entry_safe(res, temp, &pinstance->used_res_q, queue) temp 5523 drivers/scsi/pmcraid.c list_for_each_entry_safe(res, temp, &old_res, queue) { temp 5570 drivers/scsi/pmcraid.c list_for_each_entry_safe(res, temp, &old_res, queue) { temp 1021 drivers/scsi/ppa.c ppa_struct *dev, *temp; temp 1034 drivers/scsi/ppa.c temp = find_parent(); temp 1035 drivers/scsi/ppa.c if (temp) temp 1036 drivers/scsi/ppa.c dev->dev_no = temp->dev_no + 1; temp 1511 drivers/scsi/qla2xxx/qla_attr.c uint16_t temp = 0; temp 1527 drivers/scsi/qla2xxx/qla_attr.c rc = qla2x00_get_thermal_temp(vha, &temp); temp 1530 drivers/scsi/qla2xxx/qla_attr.c return scnprintf(buf, PAGE_SIZE, "%d\n", temp); temp 4830 drivers/scsi/qla2xxx/qla_mbx.c qla2x00_read_asic_temperature(scsi_qla_host_t *vha, uint16_t *temp) temp 4849 drivers/scsi/qla2xxx/qla_mbx.c *temp = mcp->mb[1]; temp 5529 drivers/scsi/qla2xxx/qla_mbx.c qla2x00_get_thermal_temp(scsi_qla_host_t *vha, uint16_t *temp) temp 5546 drivers/scsi/qla2xxx/qla_mbx.c *temp = byte; temp 5553 drivers/scsi/qla2xxx/qla_mbx.c *temp = byte; temp 5562 drivers/scsi/qla2xxx/qla_mbx.c *temp = qla82xx_read_temperature(vha); temp 5566 drivers/scsi/qla2xxx/qla_mbx.c *temp = qla8044_read_temperature(vha); temp 5571 drivers/scsi/qla2xxx/qla_mbx.c rval = qla2x00_read_asic_temperature(vha, temp); temp 1337 drivers/scsi/qla2xxx/qla_nx.c uint32_t temp; temp 1397 drivers/scsi/qla2xxx/qla_nx.c temp = off8 + (i << shift_amount); temp 1398 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, mem_crb+MIU_TEST_AGT_ADDR_LO, temp); temp 1399 drivers/scsi/qla2xxx/qla_nx.c temp = 0; temp 1400 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, mem_crb+MIU_TEST_AGT_ADDR_HI, temp); temp 1401 drivers/scsi/qla2xxx/qla_nx.c temp = word[i * scale] & 0xffffffff; temp 1402 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, mem_crb+MIU_TEST_AGT_WRDATA_LO, temp); temp 1403 drivers/scsi/qla2xxx/qla_nx.c temp = (word[i * scale] >> 32) & 0xffffffff; temp 1404 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, mem_crb+MIU_TEST_AGT_WRDATA_HI, temp); temp 1405 drivers/scsi/qla2xxx/qla_nx.c temp = word[i*scale + 1] & 0xffffffff; temp 1407 drivers/scsi/qla2xxx/qla_nx.c MIU_TEST_AGT_WRDATA_UPPER_LO, temp); temp 1408 drivers/scsi/qla2xxx/qla_nx.c temp = (word[i*scale + 1] >> 32) & 0xffffffff; temp 1410 drivers/scsi/qla2xxx/qla_nx.c MIU_TEST_AGT_WRDATA_UPPER_HI, temp); temp 1412 drivers/scsi/qla2xxx/qla_nx.c temp = MIU_TA_CTL_ENABLE | MIU_TA_CTL_WRITE; temp 1413 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, mem_crb + MIU_TEST_AGT_CTRL, temp); temp 1414 drivers/scsi/qla2xxx/qla_nx.c temp = MIU_TA_CTL_START | MIU_TA_CTL_ENABLE | MIU_TA_CTL_WRITE; temp 1415 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, mem_crb + MIU_TEST_AGT_CTRL, temp); temp 1418 drivers/scsi/qla2xxx/qla_nx.c temp = qla82xx_rd_32(ha, mem_crb + MIU_TEST_AGT_CTRL); temp 1419 drivers/scsi/qla2xxx/qla_nx.c if ((temp & MIU_TA_CTL_BUSY) == 0) temp 1474 drivers/scsi/qla2xxx/qla_nx.c uint32_t temp; temp 1499 drivers/scsi/qla2xxx/qla_nx.c temp = off8 + (i << shift_amount); temp 1500 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, mem_crb + MIU_TEST_AGT_ADDR_LO, temp); temp 1501 drivers/scsi/qla2xxx/qla_nx.c temp = 0; temp 1502 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, mem_crb + MIU_TEST_AGT_ADDR_HI, temp); temp 1503 drivers/scsi/qla2xxx/qla_nx.c temp = MIU_TA_CTL_ENABLE; temp 1504 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, mem_crb + MIU_TEST_AGT_CTRL, temp); temp 1505 drivers/scsi/qla2xxx/qla_nx.c temp = MIU_TA_CTL_START | MIU_TA_CTL_ENABLE; temp 1506 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, mem_crb + MIU_TEST_AGT_CTRL, temp); temp 1509 drivers/scsi/qla2xxx/qla_nx.c temp = qla82xx_rd_32(ha, mem_crb + MIU_TEST_AGT_CTRL); temp 1510 drivers/scsi/qla2xxx/qla_nx.c if ((temp & MIU_TA_CTL_BUSY) == 0) temp 1524 drivers/scsi/qla2xxx/qla_nx.c temp = qla82xx_rd_32(ha, temp 1526 drivers/scsi/qla2xxx/qla_nx.c word[i] |= ((uint64_t)temp << (32 * (k & 1))); temp 3327 drivers/scsi/qla2xxx/qla_nx.c uint32_t temp, temp_state, temp_val; temp 3330 drivers/scsi/qla2xxx/qla_nx.c temp = qla82xx_rd_32(ha, CRB_TEMP_STATE); temp 3331 drivers/scsi/qla2xxx/qla_nx.c temp_state = qla82xx_get_temp_state(temp); temp 3332 drivers/scsi/qla2xxx/qla_nx.c temp_val = qla82xx_get_temp_val(temp); temp 3351 drivers/scsi/qla2xxx/qla_nx.c uint32_t temp; temp 3353 drivers/scsi/qla2xxx/qla_nx.c temp = qla82xx_rd_32(vha->hw, CRB_TEMP_STATE); temp 3354 drivers/scsi/qla2xxx/qla_nx.c return qla82xx_get_temp_val(temp); temp 143 drivers/scsi/qla2xxx/qla_nx2.c uint32_t temp; temp 148 drivers/scsi/qla2xxx/qla_nx2.c qla8044_rd_reg_indirect(vha, addr1, &temp); temp 149 drivers/scsi/qla2xxx/qla_nx2.c if ((temp & mask) != 0) temp 165 drivers/scsi/qla2xxx/qla_nx2.c uint32_t temp; temp 172 drivers/scsi/qla2xxx/qla_nx2.c temp = (0x40000000 | addr); temp 173 drivers/scsi/qla2xxx/qla_nx2.c qla8044_wr_reg_indirect(vha, addr1, temp); temp 190 drivers/scsi/qla2xxx/qla_nx2.c uint32_t temp; temp 195 drivers/scsi/qla2xxx/qla_nx2.c temp = qla8044_ipmdio_rd_reg(vha, addr1, addr3, mask, addr2); temp 196 drivers/scsi/qla2xxx/qla_nx2.c if ((temp & 0x1) != 1) temp 2040 drivers/scsi/qla2xxx/qla_nx2.c uint32_t temp, temp_state, temp_val; temp 2043 drivers/scsi/qla2xxx/qla_nx2.c temp = qla8044_rd_direct(vha, QLA8044_CRB_TEMP_STATE_INDEX); temp 2044 drivers/scsi/qla2xxx/qla_nx2.c temp_state = qla82xx_get_temp_state(temp); temp 2045 drivers/scsi/qla2xxx/qla_nx2.c temp_val = qla82xx_get_temp_val(temp); temp 2065 drivers/scsi/qla2xxx/qla_nx2.c uint32_t temp; temp 2067 drivers/scsi/qla2xxx/qla_nx2.c temp = qla8044_rd_direct(vha, QLA8044_CRB_TEMP_STATE_INDEX); temp 2068 drivers/scsi/qla2xxx/qla_nx2.c return qla82xx_get_temp_val(temp); temp 3005 drivers/scsi/qla2xxx/qla_nx2.c uint32_t addr1, addr2, value, data, temp, wrVal; temp 3032 drivers/scsi/qla2xxx/qla_nx2.c qla8044_rd_reg_indirect(vha, addr1, &temp); temp 3033 drivers/scsi/qla2xxx/qla_nx2.c if ((temp & mask) != 0) temp 3043 drivers/scsi/qla2xxx/qla_nx2.c qla8044_rd_reg_indirect(vha, addr2, &temp); temp 3044 drivers/scsi/qla2xxx/qla_nx2.c temp = temp & modify_mask; temp 3045 drivers/scsi/qla2xxx/qla_nx2.c temp = (temp | ((loop_cnt << 16) | loop_cnt)); temp 3046 drivers/scsi/qla2xxx/qla_nx2.c wrVal = ((temp << 16) | temp); temp 3053 drivers/scsi/qla2xxx/qla_nx2.c qla8044_rd_reg_indirect(vha, addr1, &temp); temp 3054 drivers/scsi/qla2xxx/qla_nx2.c if ((temp & mask) != 0) temp 3068 drivers/scsi/qla2xxx/qla_nx2.c qla8044_rd_reg_indirect(vha, addr1, &temp); temp 3069 drivers/scsi/qla2xxx/qla_nx2.c if ((temp & mask) != 0) temp 4361 drivers/scsi/qla2xxx/qla_os.c uint16_t size, max_cnt, temp; temp 4380 drivers/scsi/qla2xxx/qla_os.c temp = (ql2xexlogins > max_cnt) ? max_cnt : ql2xexlogins; temp 4381 drivers/scsi/qla2xxx/qla_os.c temp *= size; temp 4383 drivers/scsi/qla2xxx/qla_os.c if (temp != ha->exlogin_size) { temp 4385 drivers/scsi/qla2xxx/qla_os.c ha->exlogin_size = temp; temp 4389 drivers/scsi/qla2xxx/qla_os.c max_cnt, size, temp); temp 4435 drivers/scsi/qla2xxx/qla_os.c u32 temp; temp 4458 drivers/scsi/qla2xxx/qla_os.c temp = vha->ql2xiniexchg + vha->ql2xexchoffld; temp 4459 drivers/scsi/qla2xxx/qla_os.c if (temp > max_cnt) { temp 4460 drivers/scsi/qla2xxx/qla_os.c vha->ql2xiniexchg -= (temp - max_cnt)/2; temp 4461 drivers/scsi/qla2xxx/qla_os.c vha->ql2xexchoffld -= (((temp - max_cnt)/2) + 1); temp 4462 drivers/scsi/qla2xxx/qla_os.c temp = max_cnt; temp 4466 drivers/scsi/qla2xxx/qla_os.c if (temp > FW_DEF_EXCHANGES_CNT) temp 4467 drivers/scsi/qla2xxx/qla_os.c *ret_cnt = temp; temp 2200 drivers/scsi/qla2xxx/qla_target.c uint16_t temp; temp 2223 drivers/scsi/qla2xxx/qla_target.c temp = (atio->u.isp24.attr << 9)| temp 2225 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags = cpu_to_le16(temp); temp 2226 drivers/scsi/qla2xxx/qla_target.c temp = be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id); temp 2227 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.ox_id = cpu_to_le16(temp); temp 2256 drivers/scsi/qla2xxx/qla_target.c uint16_t temp; temp 2280 drivers/scsi/qla2xxx/qla_target.c temp = (atio->u.isp24.attr << 9) | temp 2282 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags = cpu_to_le16(temp); temp 2283 drivers/scsi/qla2xxx/qla_target.c temp = be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id); temp 2284 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.ox_id = cpu_to_le16(temp); temp 2554 drivers/scsi/qla2xxx/qla_target.c uint16_t temp; temp 2581 drivers/scsi/qla2xxx/qla_target.c temp = atio->u.isp24.attr << 9; temp 2582 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.flags |= cpu_to_le16(temp); temp 2583 drivers/scsi/qla2xxx/qla_target.c temp = be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id); temp 2584 drivers/scsi/qla2xxx/qla_target.c pkt->u.status0.ox_id = cpu_to_le16(temp); temp 3611 drivers/scsi/qla2xxx/qla_target.c uint16_t temp; temp 3647 drivers/scsi/qla2xxx/qla_target.c temp = (atio->u.isp24.attr << 9) | CTIO7_FLAGS_STATUS_MODE_1 | temp 3649 drivers/scsi/qla2xxx/qla_target.c ctio24->u.status1.flags = cpu_to_le16(temp); temp 3650 drivers/scsi/qla2xxx/qla_target.c temp = be16_to_cpu(atio->u.isp24.fcp_hdr.ox_id); temp 3651 drivers/scsi/qla2xxx/qla_target.c ctio24->u.status1.ox_id = cpu_to_le16(temp); temp 5275 drivers/scsi/qla2xxx/qla_target.c u16 temp; temp 5308 drivers/scsi/qla2xxx/qla_target.c temp = (atio->u.isp24.attr << 9) | temp 5311 drivers/scsi/qla2xxx/qla_target.c ctio24->u.status1.flags = cpu_to_le16(temp); temp 1371 drivers/scsi/qla4xxx/ql4_nx.c uint32_t temp; temp 1398 drivers/scsi/qla4xxx/ql4_nx.c temp = off8 + (i << shift_amount); temp 1399 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, mem_crb + MIU_TEST_AGT_ADDR_LO, temp); temp 1400 drivers/scsi/qla4xxx/ql4_nx.c temp = 0; temp 1401 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, mem_crb + MIU_TEST_AGT_ADDR_HI, temp); temp 1402 drivers/scsi/qla4xxx/ql4_nx.c temp = MIU_TA_CTL_ENABLE; temp 1403 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, mem_crb + MIU_TEST_AGT_CTRL, temp); temp 1404 drivers/scsi/qla4xxx/ql4_nx.c temp = MIU_TA_CTL_START_ENABLE; temp 1405 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, mem_crb + MIU_TEST_AGT_CTRL, temp); temp 1408 drivers/scsi/qla4xxx/ql4_nx.c temp = qla4_82xx_rd_32(ha, mem_crb + MIU_TEST_AGT_CTRL); temp 1409 drivers/scsi/qla4xxx/ql4_nx.c if ((temp & MIU_TA_CTL_BUSY) == 0) temp 1423 drivers/scsi/qla4xxx/ql4_nx.c temp = qla4_82xx_rd_32(ha, temp 1425 drivers/scsi/qla4xxx/ql4_nx.c word[i] |= ((uint64_t)temp << (32 * (k & 1))); temp 1462 drivers/scsi/qla4xxx/ql4_nx.c uint32_t temp; temp 1523 drivers/scsi/qla4xxx/ql4_nx.c temp = off8 + (i << shift_amount); temp 1524 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, mem_crb+MIU_TEST_AGT_ADDR_LO, temp); temp 1525 drivers/scsi/qla4xxx/ql4_nx.c temp = 0; temp 1526 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, mem_crb+MIU_TEST_AGT_ADDR_HI, temp); temp 1527 drivers/scsi/qla4xxx/ql4_nx.c temp = word[i * scale] & 0xffffffff; temp 1528 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, mem_crb+MIU_TEST_AGT_WRDATA_LO, temp); temp 1529 drivers/scsi/qla4xxx/ql4_nx.c temp = (word[i * scale] >> 32) & 0xffffffff; temp 1530 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, mem_crb+MIU_TEST_AGT_WRDATA_HI, temp); temp 1531 drivers/scsi/qla4xxx/ql4_nx.c temp = word[i*scale + 1] & 0xffffffff; temp 1533 drivers/scsi/qla4xxx/ql4_nx.c temp); temp 1534 drivers/scsi/qla4xxx/ql4_nx.c temp = (word[i*scale + 1] >> 32) & 0xffffffff; temp 1536 drivers/scsi/qla4xxx/ql4_nx.c temp); temp 1538 drivers/scsi/qla4xxx/ql4_nx.c temp = MIU_TA_CTL_WRITE_ENABLE; temp 1539 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, mem_crb+MIU_TEST_AGT_CTRL, temp); temp 1540 drivers/scsi/qla4xxx/ql4_nx.c temp = MIU_TA_CTL_WRITE_START; temp 1541 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, mem_crb+MIU_TEST_AGT_CTRL, temp); temp 1544 drivers/scsi/qla4xxx/ql4_nx.c temp = qla4_82xx_rd_32(ha, mem_crb + MIU_TEST_AGT_CTRL); temp 1545 drivers/scsi/qla4xxx/ql4_nx.c if ((temp & MIU_TA_CTL_BUSY) == 0) temp 1831 drivers/scsi/qla4xxx/ql4_nx.c uint32_t temp; temp 1835 drivers/scsi/qla4xxx/ql4_nx.c ha->isp_ops->rd_reg_indirect(ha, addr1, &temp); temp 1836 drivers/scsi/qla4xxx/ql4_nx.c if ((temp & mask) != 0) temp 1853 drivers/scsi/qla4xxx/ql4_nx.c uint32_t temp; temp 1860 drivers/scsi/qla4xxx/ql4_nx.c temp = (0x40000000 | addr); temp 1861 drivers/scsi/qla4xxx/ql4_nx.c ha->isp_ops->wr_reg_indirect(ha, addr1, temp); temp 1882 drivers/scsi/qla4xxx/ql4_nx.c uint32_t temp; temp 1887 drivers/scsi/qla4xxx/ql4_nx.c ql4_84xx_ipmdio_rd_reg(ha, addr1, addr3, mask, addr2, &temp); temp 1888 drivers/scsi/qla4xxx/ql4_nx.c if ((temp & 0x1) != 1) temp 2645 drivers/scsi/qla4xxx/ql4_nx.c uint32_t addr1, addr2, value, data, temp, wrval; temp 2673 drivers/scsi/qla4xxx/ql4_nx.c ha->isp_ops->rd_reg_indirect(ha, addr1, &temp); temp 2674 drivers/scsi/qla4xxx/ql4_nx.c if ((temp & mask) != 0) temp 2684 drivers/scsi/qla4xxx/ql4_nx.c ha->isp_ops->rd_reg_indirect(ha, addr2, &temp); temp 2685 drivers/scsi/qla4xxx/ql4_nx.c temp = temp & modify_mask; temp 2686 drivers/scsi/qla4xxx/ql4_nx.c temp = (temp | ((loop_cnt << 16) | loop_cnt)); temp 2687 drivers/scsi/qla4xxx/ql4_nx.c wrval = ((temp << 16) | temp); temp 2694 drivers/scsi/qla4xxx/ql4_nx.c ha->isp_ops->rd_reg_indirect(ha, addr1, &temp); temp 2695 drivers/scsi/qla4xxx/ql4_nx.c if ((temp & mask) != 0) temp 2711 drivers/scsi/qla4xxx/ql4_nx.c ha->isp_ops->rd_reg_indirect(ha, addr1, &temp); temp 2712 drivers/scsi/qla4xxx/ql4_nx.c if ((temp & mask) != 0) temp 4289 drivers/scsi/qla4xxx/ql4_os.c uint32_t temp, temp_state, temp_val; temp 4292 drivers/scsi/qla4xxx/ql4_os.c temp = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_TEMP_STATE); temp 4294 drivers/scsi/qla4xxx/ql4_os.c temp_state = qla82xx_get_temp_state(temp); temp 4295 drivers/scsi/qla4xxx/ql4_os.c temp_val = qla82xx_get_temp_val(temp); temp 235 drivers/scsi/scsicam.c unsigned long heads, sectors, cylinders, temp; temp 240 drivers/scsi/scsicam.c temp = cylinders * sectors; /* Compute divisor for heads */ temp 241 drivers/scsi/scsicam.c heads = capacity / temp; /* Compute value for number of heads */ temp 242 drivers/scsi/scsicam.c if (capacity % temp) { /* If no remainder, done! */ temp 244 drivers/scsi/scsicam.c temp = cylinders * heads; /* Compute divisor for sectors */ temp 245 drivers/scsi/scsicam.c sectors = capacity / temp; /* Compute value for sectors per temp 247 drivers/scsi/scsicam.c if (capacity % temp) { /* If no remainder, done! */ temp 249 drivers/scsi/scsicam.c temp = heads * sectors; /* Compute divisor for cylinders */ temp 250 drivers/scsi/scsicam.c cylinders = capacity / temp; /* Compute number of cylinders */ temp 168 drivers/scsi/sd.c static const char temp[] = "temporary "; temp 177 drivers/scsi/sd.c if (strncmp(buf, temp, sizeof(temp) - 1) == 0) { temp 178 drivers/scsi/sd.c buf += sizeof(temp) - 1; temp 280 drivers/scsi/sym53c8xx_2/sym_fw1.h RADDR_1 (temp), temp 470 drivers/scsi/sym53c8xx_2/sym_fw1.h RADDR_1 (temp), temp 530 drivers/scsi/sym53c8xx_2/sym_fw1.h RADDR_1 (temp), temp 564 drivers/scsi/sym53c8xx_2/sym_fw1.h RADDR_1 (temp), temp 573 drivers/scsi/sym53c8xx_2/sym_fw1.h RADDR_1 (temp), temp 996 drivers/scsi/sym53c8xx_2/sym_fw1.h RADDR_1 (temp), temp 1084 drivers/scsi/sym53c8xx_2/sym_fw1.h RADDR_1 (temp), temp 1244 drivers/scsi/sym53c8xx_2/sym_fw1.h RADDR_1 (temp), temp 1762 drivers/scsi/sym53c8xx_2/sym_fw1.h RADDR_1 (temp), temp 1769 drivers/scsi/sym53c8xx_2/sym_fw1.h RADDR_1 (temp), temp 246 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_LOAD_REL (temp, 4), temp 249 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_STORE_ABS (temp, 4), temp 254 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_LOAD_REL (temp, 4), temp 454 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_STORE_REL (temp, 4), temp 513 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_STORE_REL (temp, 4), temp 545 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_LOAD_REL (temp, 4), temp 561 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_LOAD_REL (temp, 4), temp 931 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_LOAD_REL (temp, 4), temp 987 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_LOAD_REL (temp, 4), temp 1018 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_LOAD_REL (temp, 4), temp 1118 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_LOAD_REL (temp, 4), temp 1183 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_LOAD_REL (temp, 4), temp 1848 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_STORE_REL (temp, 4), temp 1853 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_LOAD_REL (temp, 4), temp 766 drivers/scsi/ufs/ufs-qcom.c u32 temp = readl_relaxed(host->dev_ref_clk_ctrl_mmio); temp 769 drivers/scsi/ufs/ufs-qcom.c temp |= host->dev_ref_clk_en_mask; temp 771 drivers/scsi/ufs/ufs-qcom.c temp &= ~host->dev_ref_clk_en_mask; temp 782 drivers/scsi/ufs/ufs-qcom.c writel_relaxed(temp, host->dev_ref_clk_ctrl_mmio); temp 200 drivers/soc/fsl/qe/qe_ic.c u32 temp; temp 204 drivers/soc/fsl/qe/qe_ic.c temp = qe_ic_read(qe_ic->regs, qe_ic_info[src].mask_reg); temp 206 drivers/soc/fsl/qe/qe_ic.c temp | qe_ic_info[src].mask); temp 216 drivers/soc/fsl/qe/qe_ic.c u32 temp; temp 220 drivers/soc/fsl/qe/qe_ic.c temp = qe_ic_read(qe_ic->regs, qe_ic_info[src].mask_reg); temp 222 drivers/soc/fsl/qe/qe_ic.c temp & ~qe_ic_info[src].mask); temp 322 drivers/soc/fsl/qe/qe_ic.c u32 temp = 0, ret, high_active = 0; temp 355 drivers/soc/fsl/qe/qe_ic.c temp |= CICR_GWCC; temp 357 drivers/soc/fsl/qe/qe_ic.c temp |= CICR_GXCC; temp 359 drivers/soc/fsl/qe/qe_ic.c temp |= CICR_GYCC; temp 361 drivers/soc/fsl/qe/qe_ic.c temp |= CICR_GZCC; temp 363 drivers/soc/fsl/qe/qe_ic.c temp |= CICR_GRTA; temp 365 drivers/soc/fsl/qe/qe_ic.c temp |= CICR_GRTB; temp 369 drivers/soc/fsl/qe/qe_ic.c temp |= (SIGNAL_HIGH << CICR_HPIT_SHIFT); temp 373 drivers/soc/fsl/qe/qe_ic.c qe_ic_write(qe_ic->regs, QEIC_CICR, temp); temp 389 drivers/soc/fsl/qe/qe_ic.c u32 temp = 0; temp 391 drivers/soc/fsl/qe/qe_ic.c temp = qe_ic_read(qe_ic->regs, QEIC_CICR); temp 393 drivers/soc/fsl/qe/qe_ic.c temp &= ~CICR_HP_MASK; temp 394 drivers/soc/fsl/qe/qe_ic.c temp |= src << CICR_HP_SHIFT; temp 396 drivers/soc/fsl/qe/qe_ic.c temp &= ~CICR_HPIT_MASK; temp 397 drivers/soc/fsl/qe/qe_ic.c temp |= (high ? SIGNAL_HIGH : SIGNAL_LOW) << CICR_HPIT_SHIFT; temp 399 drivers/soc/fsl/qe/qe_ic.c qe_ic_write(qe_ic->regs, QEIC_CICR, temp); temp 407 drivers/soc/fsl/qe/qe_ic.c u32 temp; temp 417 drivers/soc/fsl/qe/qe_ic.c temp = qe_ic_read(qe_ic->regs, qe_ic_info[src].pri_reg); temp 420 drivers/soc/fsl/qe/qe_ic.c temp &= ~(0x7 << (32 - priority * 3)); temp 421 drivers/soc/fsl/qe/qe_ic.c temp |= qe_ic_info[src].pri_code << (32 - priority * 3); temp 423 drivers/soc/fsl/qe/qe_ic.c temp &= ~(0x7 << (24 - priority * 3)); temp 424 drivers/soc/fsl/qe/qe_ic.c temp |= qe_ic_info[src].pri_code << (24 - priority * 3); temp 427 drivers/soc/fsl/qe/qe_ic.c qe_ic_write(qe_ic->regs, qe_ic_info[src].pri_reg, temp); temp 437 drivers/soc/fsl/qe/qe_ic.c u32 temp, control_reg = QEIC_CICNR, shift = 0; temp 471 drivers/soc/fsl/qe/qe_ic.c temp = qe_ic_read(qe_ic->regs, control_reg); temp 472 drivers/soc/fsl/qe/qe_ic.c temp &= ~(SIGNAL_MASK << shift); temp 473 drivers/soc/fsl/qe/qe_ic.c temp |= (high ? SIGNAL_HIGH : SIGNAL_LOW) << shift; temp 474 drivers/soc/fsl/qe/qe_ic.c qe_ic_write(qe_ic->regs, control_reg, temp); temp 69 drivers/soc/renesas/r9a06g032-smp.c u64 temp; temp 72 drivers/soc/renesas/r9a06g032-smp.c "cpu-release-addr", &temp); temp 73 drivers/soc/renesas/r9a06g032-smp.c bootaddr = temp; temp 1090 drivers/soc/ti/knav_qmss_queue.c u32 temp[2]; temp 1102 drivers/soc/ti/knav_qmss_queue.c ret = of_property_read_u32_array(child, "region-spec", temp, 2); temp 1104 drivers/soc/ti/knav_qmss_queue.c region->num_desc = temp[0]; temp 1105 drivers/soc/ti/knav_qmss_queue.c region->desc_size = temp[1]; temp 1147 drivers/soc/ti/knav_qmss_queue.c u32 temp[2]; temp 1162 drivers/soc/ti/knav_qmss_queue.c if (!of_property_read_u32_array(node, name , temp, 2)) { temp 1163 drivers/soc/ti/knav_qmss_queue.c if (temp[0]) { temp 1168 drivers/soc/ti/knav_qmss_queue.c block->dma = (dma_addr_t)temp[0]; temp 1170 drivers/soc/ti/knav_qmss_queue.c block->size = temp[1]; temp 1172 drivers/soc/ti/knav_qmss_queue.c block->size = temp[1]; temp 1222 drivers/soc/ti/knav_qmss_queue.c u32 temp[2], start, end, id, index; temp 1233 drivers/soc/ti/knav_qmss_queue.c ret = of_property_read_u32_array(node, "qrange", temp, 2); temp 1235 drivers/soc/ti/knav_qmss_queue.c range->queue_base = temp[0] - kdev->base_id; temp 1236 drivers/soc/ti/knav_qmss_queue.c range->num_queues = temp[1]; temp 1403 drivers/soc/ti/knav_qmss_queue.c u32 temp[2]; temp 1414 drivers/soc/ti/knav_qmss_queue.c temp, 2); temp 1416 drivers/soc/ti/knav_qmss_queue.c qmgr->start_queue = temp[0]; temp 1417 drivers/soc/ti/knav_qmss_queue.c qmgr->num_queues = temp[1]; temp 1765 drivers/soc/ti/knav_qmss_queue.c u32 temp[2]; temp 1798 drivers/soc/ti/knav_qmss_queue.c if (of_property_read_u32_array(node, "queue-range", temp, 2)) { temp 1803 drivers/soc/ti/knav_qmss_queue.c kdev->base_id = temp[0]; temp 1804 drivers/soc/ti/knav_qmss_queue.c kdev->num_queues = temp[1]; temp 328 drivers/soc/ti/pm33xx.c int temp; temp 330 drivers/soc/ti/pm33xx.c temp = ti_emif_get_mem_type(); temp 331 drivers/soc/ti/pm33xx.c if (temp < 0) { temp 335 drivers/soc/ti/pm33xx.c m3_ipc->ops->set_mem_type(m3_ipc, temp); temp 247 drivers/spi/spi-fsl-lpspi.c u32 temp; temp 260 drivers/spi/spi-fsl-lpspi.c temp = readl(fsl_lpspi->base + IMX7ULP_TCR); temp 261 drivers/spi/spi-fsl-lpspi.c temp &= ~TCR_CONTC; temp 262 drivers/spi/spi-fsl-lpspi.c writel(temp, fsl_lpspi->base + IMX7ULP_TCR); temp 278 drivers/spi/spi-fsl-lpspi.c u32 temp = 0; temp 280 drivers/spi/spi-fsl-lpspi.c temp |= fsl_lpspi->config.bpw - 1; temp 281 drivers/spi/spi-fsl-lpspi.c temp |= (fsl_lpspi->config.mode & 0x3) << 30; temp 283 drivers/spi/spi-fsl-lpspi.c temp |= fsl_lpspi->config.prescale << 27; temp 284 drivers/spi/spi-fsl-lpspi.c temp |= (fsl_lpspi->config.chip_select & 0x3) << 24; temp 292 drivers/spi/spi-fsl-lpspi.c temp |= TCR_CONT; temp 294 drivers/spi/spi-fsl-lpspi.c temp &= ~TCR_CONTC; temp 296 drivers/spi/spi-fsl-lpspi.c temp |= TCR_CONTC; temp 299 drivers/spi/spi-fsl-lpspi.c writel(temp, fsl_lpspi->base + IMX7ULP_TCR); temp 301 drivers/spi/spi-fsl-lpspi.c dev_dbg(fsl_lpspi->dev, "TCR=0x%x\n", temp); temp 306 drivers/spi/spi-fsl-lpspi.c u32 temp; temp 309 drivers/spi/spi-fsl-lpspi.c temp = fsl_lpspi->watermark >> 1 | temp 312 drivers/spi/spi-fsl-lpspi.c temp = fsl_lpspi->watermark >> 1; temp 314 drivers/spi/spi-fsl-lpspi.c writel(temp, fsl_lpspi->base + IMX7ULP_FCR); temp 316 drivers/spi/spi-fsl-lpspi.c dev_dbg(fsl_lpspi->dev, "FCR=0x%x\n", temp); temp 403 drivers/spi/spi-fsl-lpspi.c u32 temp; temp 415 drivers/spi/spi-fsl-lpspi.c temp = CFGR1_MASTER; temp 417 drivers/spi/spi-fsl-lpspi.c temp = CFGR1_PINCFG; temp 419 drivers/spi/spi-fsl-lpspi.c temp |= CFGR1_PCSPOL; temp 420 drivers/spi/spi-fsl-lpspi.c writel(temp, fsl_lpspi->base + IMX7ULP_CFGR1); temp 422 drivers/spi/spi-fsl-lpspi.c temp = readl(fsl_lpspi->base + IMX7ULP_CR); temp 423 drivers/spi/spi-fsl-lpspi.c temp |= CR_RRF | CR_RTF | CR_MEN; temp 424 drivers/spi/spi-fsl-lpspi.c writel(temp, fsl_lpspi->base + IMX7ULP_CR); temp 426 drivers/spi/spi-fsl-lpspi.c temp = 0; temp 428 drivers/spi/spi-fsl-lpspi.c temp = DER_TDDE | DER_RDDE; temp 429 drivers/spi/spi-fsl-lpspi.c writel(temp, fsl_lpspi->base + IMX7ULP_DER); temp 518 drivers/spi/spi-fsl-lpspi.c u32 temp; temp 526 drivers/spi/spi-fsl-lpspi.c temp = 0x3F << 8; temp 527 drivers/spi/spi-fsl-lpspi.c writel(temp, fsl_lpspi->base + IMX7ULP_SR); temp 530 drivers/spi/spi-fsl-lpspi.c temp = CR_RRF | CR_RTF; temp 531 drivers/spi/spi-fsl-lpspi.c writel(temp, fsl_lpspi->base + IMX7ULP_CR); temp 845 drivers/spi/spi-fsl-lpspi.c u32 temp; temp 950 drivers/spi/spi-fsl-lpspi.c temp = readl(fsl_lpspi->base + IMX7ULP_PARAM); temp 951 drivers/spi/spi-fsl-lpspi.c fsl_lpspi->txfifosize = 1 << (temp & 0x0f); temp 952 drivers/spi/spi-fsl-lpspi.c fsl_lpspi->rxfifosize = 1 << ((temp >> 8) & 0x0f); temp 971 drivers/spi/spi-s3c64xx.c u32 temp; temp 977 drivers/spi/spi-s3c64xx.c if (of_property_read_u32(dev->of_node, "samsung,spi-src-clk", &temp)) { temp 981 drivers/spi/spi-s3c64xx.c sci->src_clk_nr = temp; temp 984 drivers/spi/spi-s3c64xx.c if (of_property_read_u32(dev->of_node, "num-cs", &temp)) { temp 988 drivers/spi/spi-s3c64xx.c sci->num_cs = temp; temp 99 drivers/staging/comedi/comedi_compat32.c } temp; temp 110 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &chaninfo32->subdev); temp 111 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &chaninfo->subdev); temp 112 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uptr, &chaninfo32->maxdata_list); temp 113 drivers/staging/comedi/comedi_compat32.c err |= __put_user(compat_ptr(temp.uptr), &chaninfo->maxdata_list); temp 114 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uptr, &chaninfo32->flaglist); temp 115 drivers/staging/comedi/comedi_compat32.c err |= __put_user(compat_ptr(temp.uptr), &chaninfo->flaglist); temp 116 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uptr, &chaninfo32->rangelist); temp 117 drivers/staging/comedi/comedi_compat32.c err |= __put_user(compat_ptr(temp.uptr), &chaninfo->rangelist); temp 133 drivers/staging/comedi/comedi_compat32.c } temp; temp 144 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &rangeinfo32->range_type); temp 145 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &rangeinfo->range_type); temp 146 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uptr, &rangeinfo32->range_ptr); temp 147 drivers/staging/comedi/comedi_compat32.c err |= __put_user(compat_ptr(temp.uptr), &rangeinfo->range_ptr); temp 163 drivers/staging/comedi/comedi_compat32.c } temp; temp 171 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->subdev); temp 172 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->subdev); temp 173 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->flags); temp 174 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->flags); temp 175 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->start_src); temp 176 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->start_src); temp 177 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->start_arg); temp 178 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->start_arg); temp 179 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->scan_begin_src); temp 180 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->scan_begin_src); temp 181 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->scan_begin_arg); temp 182 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->scan_begin_arg); temp 183 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->convert_src); temp 184 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->convert_src); temp 185 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->convert_arg); temp 186 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->convert_arg); temp 187 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->scan_end_src); temp 188 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->scan_end_src); temp 189 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->scan_end_arg); temp 190 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->scan_end_arg); temp 191 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->stop_src); temp 192 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->stop_src); temp 193 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->stop_arg); temp 194 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->stop_arg); temp 195 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uptr, &cmd32->chanlist); temp 196 drivers/staging/comedi/comedi_compat32.c err |= __put_user((unsigned int __force *)compat_ptr(temp.uptr), temp 198 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->chanlist_len); temp 199 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->chanlist_len); temp 200 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uptr, &cmd32->data); temp 201 drivers/staging/comedi/comedi_compat32.c err |= __put_user(compat_ptr(temp.uptr), &cmd->data); temp 202 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &cmd32->data_len); temp 203 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &cmd->data_len); temp 212 drivers/staging/comedi/comedi_compat32.c unsigned int temp; temp 225 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->subdev); temp 226 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->subdev); temp 227 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->flags); temp 228 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->flags); temp 229 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->start_src); temp 230 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->start_src); temp 231 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->start_arg); temp 232 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->start_arg); temp 233 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->scan_begin_src); temp 234 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->scan_begin_src); temp 235 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->scan_begin_arg); temp 236 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->scan_begin_arg); temp 237 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->convert_src); temp 238 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->convert_src); temp 239 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->convert_arg); temp 240 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->convert_arg); temp 241 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->scan_end_src); temp 242 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->scan_end_src); temp 243 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->scan_end_arg); temp 244 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->scan_end_arg); temp 245 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->stop_src); temp 246 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->stop_src); temp 247 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->stop_arg); temp 248 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->stop_arg); temp 250 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->chanlist_len); temp 251 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->chanlist_len); temp 253 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp, &cmd->data_len); temp 254 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp, &cmd32->data_len); temp 316 drivers/staging/comedi/comedi_compat32.c } temp; temp 324 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &insn32->insn); temp 325 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &insn->insn); temp 326 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &insn32->n); temp 327 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &insn->n); temp 328 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uptr, &insn32->data); temp 329 drivers/staging/comedi/comedi_compat32.c err |= __put_user(compat_ptr(temp.uptr), &insn->data); temp 330 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &insn32->subdev); temp 331 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &insn->subdev); temp 332 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uint, &insn32->chanspec); temp 333 drivers/staging/comedi/comedi_compat32.c err |= __put_user(temp.uint, &insn->chanspec); temp 250 drivers/staging/comedi/drivers/ni_at_a2150.c int lub, glb, temp; temp 273 drivers/staging/comedi/drivers/ni_at_a2150.c temp = board->clock[j] * (1 << i); temp 275 drivers/staging/comedi/drivers/ni_at_a2150.c if (temp < lub && temp >= *period) { temp 278 drivers/staging/comedi/drivers/ni_at_a2150.c lub = temp; temp 280 drivers/staging/comedi/drivers/ni_at_a2150.c if (temp > glb && temp <= *period) { temp 283 drivers/staging/comedi/drivers/ni_at_a2150.c glb = temp; temp 48 drivers/staging/fbtft/fb_uc1611.c static unsigned int temp; temp 49 drivers/staging/fbtft/fb_uc1611.c module_param(temp, uint, 0000); temp 50 drivers/staging/fbtft/fb_uc1611.c MODULE_PARM_DESC(temp, "TC[1:0] Temperature compensation: 0-3 (default: 0)"); temp 85 drivers/staging/fbtft/fb_uc1611.c write_reg(par, 0x24 | (temp & 0x03)); temp 262 drivers/staging/greybus/gbphy.c struct gbphy_device *gbphy_dev, *temp; temp 269 drivers/staging/greybus/gbphy.c list_for_each_entry_safe(gbphy_dev, temp, &gbphy_host->devices, list) { temp 229 drivers/staging/greybus/raw.c struct raw_data *temp; temp 239 drivers/staging/greybus/raw.c list_for_each_entry_safe(raw_data, temp, &raw->list, entry) { temp 422 drivers/staging/ks7010/ks_hostif.c unsigned char temp[256]; temp 499 drivers/staging/ks7010/ks_hostif.c temp[0] = (((rx_ind_size - 12) >> 8) & 0xff); temp 500 drivers/staging/ks7010/ks_hostif.c temp[1] = ((rx_ind_size - 12) & 0xff); temp 501 drivers/staging/ks7010/ks_hostif.c skb_put_data(skb, temp, 2); temp 232 drivers/staging/media/hantro/hantro_jpeg.c unsigned int temp; temp 236 drivers/staging/media/hantro/hantro_jpeg.c temp = DIV_ROUND_CLOSEST((unsigned int)tab[i] * scale, 100); temp 237 drivers/staging/media/hantro/hantro_jpeg.c if (temp <= 0) temp 238 drivers/staging/media/hantro/hantro_jpeg.c temp = 1; temp 239 drivers/staging/media/hantro/hantro_jpeg.c if (temp > 255) temp 240 drivers/staging/media/hantro/hantro_jpeg.c temp = 255; temp 241 drivers/staging/media/hantro/hantro_jpeg.c q_tab[i] = (unsigned char)temp; temp 428 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_temp_buffer *temp; temp 435 drivers/staging/octeon-usb/octeon-hcd.c temp = kmalloc(ALIGN(urb->transfer_buffer_length, sizeof(u32)) + temp 436 drivers/staging/octeon-usb/octeon-hcd.c sizeof(*temp), mem_flags); temp 437 drivers/staging/octeon-usb/octeon-hcd.c if (!temp) temp 440 drivers/staging/octeon-usb/octeon-hcd.c temp->orig_buffer = urb->transfer_buffer; temp 442 drivers/staging/octeon-usb/octeon-hcd.c memcpy(temp->data, urb->transfer_buffer, temp 444 drivers/staging/octeon-usb/octeon-hcd.c urb->transfer_buffer = temp->data; temp 458 drivers/staging/octeon-usb/octeon-hcd.c struct octeon_temp_buffer *temp; temp 464 drivers/staging/octeon-usb/octeon-hcd.c temp = container_of(urb->transfer_buffer, struct octeon_temp_buffer, temp 472 drivers/staging/octeon-usb/octeon-hcd.c memcpy(temp->orig_buffer, urb->transfer_buffer, length); temp 474 drivers/staging/octeon-usb/octeon-hcd.c urb->transfer_buffer = temp->orig_buffer; temp 476 drivers/staging/octeon-usb/octeon-hcd.c kfree(temp); temp 46 drivers/staging/qlge/qlge_dbg.c u32 temp; temp 50 drivers/staging/qlge/qlge_dbg.c temp = ql_read_other_func_reg(qdev, reg); temp 53 drivers/staging/qlge/qlge_dbg.c if (temp & err_bit) temp 55 drivers/staging/qlge/qlge_dbg.c else if (temp & bit) temp 141 drivers/staging/qlge/qlge_dbg.c u32 *direct_ptr, temp; temp 149 drivers/staging/qlge/qlge_dbg.c XG_SERDES_XAUI_HSS_PCS_START, &temp); temp 151 drivers/staging/qlge/qlge_dbg.c temp = XG_SERDES_ADDR_XAUI_PWR_DOWN; temp 153 drivers/staging/qlge/qlge_dbg.c if ((temp & XG_SERDES_ADDR_XAUI_PWR_DOWN) == temp 157 drivers/staging/qlge/qlge_dbg.c status = ql_read_serdes_reg(qdev, XG_SERDES_XAUI_HSS_PCS_START, &temp); temp 160 drivers/staging/qlge/qlge_dbg.c temp = XG_SERDES_ADDR_XAUI_PWR_DOWN; temp 162 drivers/staging/qlge/qlge_dbg.c if ((temp & XG_SERDES_ADDR_XAUI_PWR_DOWN) == temp 170 drivers/staging/qlge/qlge_dbg.c status = ql_read_serdes_reg(qdev, XG_SERDES_ADDR_STS, &temp); temp 172 drivers/staging/qlge/qlge_dbg.c temp = 0; temp 174 drivers/staging/qlge/qlge_dbg.c if ((temp & XG_SERDES_ADDR_XFI1_PWR_UP) == temp 183 drivers/staging/qlge/qlge_dbg.c if ((temp & XG_SERDES_ADDR_XFI2_PWR_UP) == temp 169 drivers/staging/qlge/qlge_main.c u32 temp; temp 173 drivers/staging/qlge/qlge_main.c temp = ql_read32(qdev, reg); temp 176 drivers/staging/qlge/qlge_main.c if (temp & err_bit) { temp 179 drivers/staging/qlge/qlge_main.c reg, temp); temp 181 drivers/staging/qlge/qlge_main.c } else if (temp & bit) temp 197 drivers/staging/qlge/qlge_main.c u32 temp; temp 200 drivers/staging/qlge/qlge_main.c temp = ql_read32(qdev, CFG); temp 201 drivers/staging/qlge/qlge_main.c if (temp & CFG_LE) temp 203 drivers/staging/qlge/qlge_main.c if (!(temp & bit)) temp 4495 drivers/staging/qlge/qlge_main.c u32 temp; temp 4499 drivers/staging/qlge/qlge_main.c &temp); temp 4503 drivers/staging/qlge/qlge_main.c nic_func1 = ((temp >> MPI_TEST_NIC1_FUNC_SHIFT) & temp 4505 drivers/staging/qlge/qlge_main.c nic_func2 = ((temp >> MPI_TEST_NIC2_FUNC_SHIFT) & temp 105 drivers/staging/qlge/qlge_mpi.c u32 temp; temp 119 drivers/staging/qlge/qlge_mpi.c temp = ql_read32(qdev, STS); temp 120 drivers/staging/qlge/qlge_mpi.c if (!(temp & (1 << (8 + qdev->alt_func)))) temp 876 drivers/staging/rtl8188eu/core/rtw_security.c u8 temp[4]; temp 913 drivers/staging/rtl8188eu/core/rtw_security.c temp[0] = rotr[0]; /* Rotate right 8 bits */ temp 917 drivers/staging/rtl8188eu/core/rtw_security.c rotr[3] = temp[0]; temp 919 drivers/staging/rtl8188eu/core/rtw_security.c xor_32(add1bf7, rotr, temp); temp 921 drivers/staging/rtl8188eu/core/rtw_security.c xor_32(temp, tempb, out); temp 956 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sockaddr *temp = (struct sockaddr *)awrq; temp 974 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (temp->sa_family != ARPHRD_ETHER) { temp 991 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c src_bssid = temp->sa_data; temp 1006 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_bssid(padapter, temp->sa_data)) { temp 142 drivers/staging/rtl8192e/rtllib_softmac_wx.c struct sockaddr *temp = (struct sockaddr *)awrq; temp 153 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (temp->sa_family != ARPHRD_ETHER) { temp 158 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (is_zero_ether_addr(temp->sa_data)) { temp 160 drivers/staging/rtl8192e/rtllib_softmac_wx.c ether_addr_copy(ieee->current_network.bssid, temp->sa_data); temp 177 drivers/staging/rtl8192e/rtllib_softmac_wx.c ether_addr_copy(ieee->current_network.bssid, temp->sa_data); temp 178 drivers/staging/rtl8192e/rtllib_softmac_wx.c ieee->wap_set = !is_zero_ether_addr(temp->sa_data); temp 143 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c struct sockaddr *temp = (struct sockaddr *)awrq; temp 154 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (temp->sa_family != ARPHRD_ETHER) { temp 167 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c memcpy(ieee->current_network.bssid, temp->sa_data, ETH_ALEN); temp 168 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c ieee->wap_set = !is_zero_ether_addr(temp->sa_data); temp 1039 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct sockaddr *temp = (struct sockaddr *)awrq; temp 1050 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (temp->sa_family != ARPHRD_ETHER) temp 1063 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!memcmp(dst_bssid, temp->sa_data, ETH_ALEN)) { temp 1074 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!r8712_set_802_11_bssid(padapter, temp->sa_data)) temp 819 drivers/staging/rtl8712/rtl871x_security.c u8 temp[4]; temp 849 drivers/staging/rtl8712/rtl871x_security.c temp[0] = rotr[0]; /* Rotate right 8 bits */ temp 853 drivers/staging/rtl8712/rtl871x_security.c rotr[3] = temp[0]; temp 854 drivers/staging/rtl8712/rtl871x_security.c xor_32(add1bf7, rotr, temp); temp 856 drivers/staging/rtl8712/rtl871x_security.c xor_32(temp, tempb, out); temp 222 drivers/staging/rtl8723bs/core/rtw_efuse.c u8 temp = {0x00}; temp 230 drivers/staging/rtl8723bs/core/rtw_efuse.c temp = Address & 0xFF; temp 231 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write8(Adapter, EFUSE_CTRL+1, temp); temp 234 drivers/staging/rtl8723bs/core/rtw_efuse.c temp = ((Address >> 8) & 0x03) | (Bytetemp & 0xFC); temp 235 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write8(Adapter, EFUSE_CTRL+2, temp); temp 239 drivers/staging/rtl8723bs/core/rtw_efuse.c temp = Bytetemp & 0x7F; temp 240 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write8(Adapter, EFUSE_CTRL+3, temp); temp 1053 drivers/staging/rtl8723bs/core/rtw_security.c u8 temp[4]; temp 1090 drivers/staging/rtl8723bs/core/rtw_security.c temp[0] = rotr[0]; /* Rotate right 8 bits */ temp 1094 drivers/staging/rtl8723bs/core/rtw_security.c rotr[3] = temp[0]; temp 1096 drivers/staging/rtl8723bs/core/rtw_security.c xor_32(add1bf7, rotr, temp); temp 1098 drivers/staging/rtl8723bs/core/rtw_security.c xor_32(temp, tempb, out); temp 2195 drivers/staging/rtl8723bs/core/rtw_security.c u32 temp; temp 2202 drivers/staging/rtl8723bs/core/rtw_security.c temp = rk[3]; temp 2204 drivers/staging/rtl8723bs/core/rtw_security.c TE421(temp) ^ TE432(temp) ^ TE443(temp) ^ TE414(temp) ^ temp 1130 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sockaddr *temp = (struct sockaddr *)awrq; temp 1150 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (temp->sa_family != ARPHRD_ETHER) { temp 1170 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c src_bssid = temp->sa_data; temp 1186 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_set_802_11_bssid(padapter, temp->sa_data) == false) { temp 4912 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c int temp; temp 5003 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c sscanf(str, "%i", &temp); temp 5004 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c buffer[count++] = (u8)temp; temp 5021 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c sscanf(str, "%i", &temp); temp 5022 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ((s32 *)buffer)[count++] = (s32)temp; temp 2878 drivers/staging/rts5208/sd.c u32 temp; temp 3038 drivers/staging/rts5208/sd.c temp = rtsx_readl(chip, RTSX_BIPR); temp 3039 drivers/staging/rts5208/sd.c if (temp & SD_WRITE_PROTECT) temp 118 drivers/staging/speakup/kobjects.c char *temp = NULL; temp 161 drivers/staging/speakup/kobjects.c index = simple_strtoul(cp, &temp, 10); temp 168 drivers/staging/speakup/kobjects.c while ((temp < linefeed) && (*temp == ' ' || *temp == '\t')) temp 169 drivers/staging/speakup/kobjects.c temp++; temp 171 drivers/staging/speakup/kobjects.c desc_length = linefeed - temp; temp 190 drivers/staging/speakup/kobjects.c outptr[i] = temp[i]; temp 757 drivers/staging/speakup/kobjects.c char *temp = NULL; temp 798 drivers/staging/speakup/kobjects.c index = simple_strtoul(cp, &temp, 10); temp 800 drivers/staging/speakup/kobjects.c while ((temp < linefeed) && (*temp == ' ' || *temp == '\t')) temp 801 drivers/staging/speakup/kobjects.c temp++; temp 803 drivers/staging/speakup/kobjects.c desc_length = linefeed - temp; temp 819 drivers/staging/speakup/kobjects.c msg_stored = spk_msg_set(curmessage, temp, desc_length); temp 552 drivers/staging/speakup/main.c u_char temp; temp 555 drivers/staging/speakup/main.c ch = get_char(vc, (u_short *)tmp_pos, &temp); temp 564 drivers/staging/speakup/main.c get_char(vc, (u_short *)tmp_pos + 1, &temp) > SPACE) { temp 569 drivers/staging/speakup/main.c ch = get_char(vc, (u_short *)tmp_pos - 1, &temp); temp 572 drivers/staging/speakup/main.c get_char(vc, (u_short *)tmp_pos, &temp) > SPACE) temp 583 drivers/staging/speakup/main.c ch = get_char(vc, (u_short *)tmp_pos, &temp); temp 609 drivers/staging/speakup/main.c u_char temp; temp 640 drivers/staging/speakup/main.c ch = get_char(vc, (u_short *)spk_pos, &temp); temp 663 drivers/staging/speakup/main.c u_char temp; temp 673 drivers/staging/speakup/main.c ch = get_char(vc, (u_short *)spk_pos, &temp); temp 2612 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx, *temp; temp 2620 drivers/staging/wlan-ng/hfa384x_usb.c list_for_each_entry_safe(ctlx, temp, &hw->ctlxq.reapable, list) { temp 2646 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx, *temp; temp 2656 drivers/staging/wlan-ng/hfa384x_usb.c list_for_each_entry_safe(ctlx, temp, &hw->ctlxq.completing, list) { temp 586 drivers/staging/wlan-ng/prism2sta.c u16 temp; temp 868 drivers/staging/wlan-ng/prism2sta.c hfa384x_drvr_getconfig16(hw, HFA384x_RID_PRIVACYOPTIMP, &temp); temp 869 drivers/staging/wlan-ng/prism2sta.c if (temp) temp 873 drivers/staging/wlan-ng/prism2sta.c hfa384x_drvr_getconfig16(hw, HFA384x_RID_CNFDBMADJUST, &temp); temp 874 drivers/staging/wlan-ng/prism2sta.c hw->dbmadjust = temp; temp 143 drivers/staging/wlan-ng/prism2usb.c struct hfa384x_usbctlx *ctlx, *temp; temp 200 drivers/staging/wlan-ng/prism2usb.c list_for_each_entry_safe(ctlx, temp, &cleanlist, list) temp 165 drivers/staging/wusbcore/rh.c u16 temp = 1 + (wusbhc->ports_max / 8); temp 166 drivers/staging/wusbcore/rh.c u8 length = 7 + 2 * temp; temp 170 drivers/staging/wusbcore/rh.c descr->bDescLength = 7 + 2 * temp; temp 182 drivers/staging/wusbcore/rh.c memset(&descr->u.hs.DeviceRemovable[0], 0, temp); temp 183 drivers/staging/wusbcore/rh.c memset(&descr->u.hs.DeviceRemovable[temp], 0xff, temp); temp 619 drivers/target/sbp/sbp_target.c struct sbp_login_descriptor *login, *temp; temp 625 drivers/target/sbp/sbp_target.c list_for_each_entry_safe(login, temp, &sess->login_list, link) { temp 631 drivers/target/sbp/sbp_target.c list_for_each_entry_safe(login, temp, &login_list, link) { temp 373 drivers/thermal/armada_thermal.c static int armada_read_sensor(struct armada_thermal_priv *priv, int *temp) temp 392 drivers/thermal/armada_thermal.c *temp = div_s64((m * sample) - b, div); temp 394 drivers/thermal/armada_thermal.c *temp = div_s64(b - (m * sample), div); temp 400 drivers/thermal/armada_thermal.c int *temp) temp 413 drivers/thermal/armada_thermal.c ret = armada_read_sensor(priv, temp); temp 422 drivers/thermal/armada_thermal.c static int armada_get_temp(void *_sensor, int *temp) temp 436 drivers/thermal/armada_thermal.c ret = armada_read_sensor(priv, temp); temp 78 drivers/thermal/broadcom/bcm2835_thermal.c static int bcm2835_thermal_temp2adc(int temp, int offset, int slope) temp 80 drivers/thermal/broadcom/bcm2835_thermal.c temp -= offset; temp 81 drivers/thermal/broadcom/bcm2835_thermal.c temp /= slope; temp 83 drivers/thermal/broadcom/bcm2835_thermal.c if (temp < 0) temp 84 drivers/thermal/broadcom/bcm2835_thermal.c temp = 0; temp 85 drivers/thermal/broadcom/bcm2835_thermal.c if (temp >= BIT(BCM2835_TS_TSENSSTAT_DATA_BITS)) temp 86 drivers/thermal/broadcom/bcm2835_thermal.c temp = BIT(BCM2835_TS_TSENSSTAT_DATA_BITS) - 1; temp 88 drivers/thermal/broadcom/bcm2835_thermal.c return temp; temp 91 drivers/thermal/broadcom/bcm2835_thermal.c static int bcm2835_thermal_get_temp(void *d, int *temp) temp 101 drivers/thermal/broadcom/bcm2835_thermal.c *temp = bcm2835_thermal_adc2temp( temp 126 drivers/thermal/broadcom/brcmstb_thermal.c int temp, bool low) temp 128 drivers/thermal/broadcom/brcmstb_thermal.c if (temp < AVS_TMON_TEMP_MIN) temp 131 drivers/thermal/broadcom/brcmstb_thermal.c if (temp >= AVS_TMON_TEMP_OFFSET) temp 135 drivers/thermal/broadcom/brcmstb_thermal.c return (u32)(DIV_ROUND_UP(AVS_TMON_TEMP_OFFSET - temp, temp 138 drivers/thermal/broadcom/brcmstb_thermal.c return (u32)((AVS_TMON_TEMP_OFFSET - temp) / temp 142 drivers/thermal/broadcom/brcmstb_thermal.c static int brcmstb_get_temp(void *data, int *temp) temp 159 drivers/thermal/broadcom/brcmstb_thermal.c *temp = 0; temp 161 drivers/thermal/broadcom/brcmstb_thermal.c *temp = t; temp 196 drivers/thermal/broadcom/brcmstb_thermal.c int temp) temp 201 drivers/thermal/broadcom/brcmstb_thermal.c dev_dbg(priv->dev, "set temp %d to %d\n", type, temp); temp 204 drivers/thermal/broadcom/brcmstb_thermal.c val = avs_tmon_temp_to_code(priv->thermal, temp, temp 22 drivers/thermal/broadcom/ns-thermal.c static int ns_thermal_get_temp(void *data, int *temp) temp 41 drivers/thermal/broadcom/ns-thermal.c *temp = slope * val + offset; temp 34 drivers/thermal/broadcom/sr-thermal.c static int sr_get_temp(void *data, int *temp) temp 39 drivers/thermal/broadcom/sr-thermal.c *temp = readl(sr_thermal->regs + SR_TMON_TEMP_BASE(tmon->tmon_id)); temp 153 drivers/thermal/da9062-thermal.c int *temp) temp 159 drivers/thermal/da9062-thermal.c *temp = DA9062_MILLI_CELSIUS(125); temp 171 drivers/thermal/da9062-thermal.c int *temp) temp 176 drivers/thermal/da9062-thermal.c *temp = thermal->temperature; temp 62 drivers/thermal/db8500_thermal.c static int db8500_thermal_get_temp(void *data, int *temp) temp 71 drivers/thermal/db8500_thermal.c *temp = th->interpolated_temp; temp 87 drivers/thermal/dove_thermal.c int *temp) temp 107 drivers/thermal/dove_thermal.c *temp = ((3220000000UL - (10000000UL * reg)) / 13625); temp 116 drivers/thermal/hisi_thermal.c static inline int hi6220_thermal_temp_to_step(int temp) temp 118 drivers/thermal/hisi_thermal.c return DIV_ROUND_UP(temp - HI6220_TEMP_BASE, HI6220_TEMP_STEP); temp 134 drivers/thermal/hisi_thermal.c static inline int hi3660_thermal_temp_to_step(int temp) temp 136 drivers/thermal/hisi_thermal.c return DIV_ROUND_UP(temp - HI3660_TEMP_BASE, HI3660_TEMP_STEP); temp 186 drivers/thermal/hisi_thermal.c static inline void hi6220_thermal_alarm_set(void __iomem *addr, int temp) temp 188 drivers/thermal/hisi_thermal.c writel(hi6220_thermal_temp_to_step(temp) | 0x0FFFFFF00, temp 192 drivers/thermal/hisi_thermal.c static inline void hi6220_thermal_reset_set(void __iomem *addr, int temp) temp 194 drivers/thermal/hisi_thermal.c writel(hi6220_thermal_temp_to_step(temp), addr + HI6220_TEMP0_RST_TH); temp 445 drivers/thermal/hisi_thermal.c static int hisi_thermal_get_temp(void *__data, int *temp) temp 450 drivers/thermal/hisi_thermal.c *temp = data->ops->get_temp(sensor); temp 453 drivers/thermal/hisi_thermal.c sensor->tzd, sensor->id, *temp, sensor->thres_temp); temp 466 drivers/thermal/hisi_thermal.c int temp = 0; temp 470 drivers/thermal/hisi_thermal.c hisi_thermal_get_temp(sensor, &temp); temp 472 drivers/thermal/hisi_thermal.c if (temp >= sensor->thres_temp) { temp 475 drivers/thermal/hisi_thermal.c sensor->id, temp, sensor->thres_temp); temp 483 drivers/thermal/hisi_thermal.c sensor->id, temp, sensor->thres_temp); temp 257 drivers/thermal/imx_thermal.c static int imx_get_temp(struct thermal_zone_device *tz, int *temp) temp 310 drivers/thermal/imx_thermal.c *temp = (n_meas - data->c1 + 25) * 1000; temp 312 drivers/thermal/imx_thermal.c *temp = data->c2 - n_meas * data->c1; temp 317 drivers/thermal/imx_thermal.c *temp >= data->temp_passive) temp 320 drivers/thermal/imx_thermal.c *temp < data->temp_passive) { temp 327 drivers/thermal/imx_thermal.c if (*temp != data->last_temp) { temp 328 drivers/thermal/imx_thermal.c dev_dbg(&tz->device, "millicelsius: %d\n", *temp); temp 329 drivers/thermal/imx_thermal.c data->last_temp = *temp; temp 333 drivers/thermal/imx_thermal.c if (!data->irq_enabled && *temp < data->alarm_temp) { temp 400 drivers/thermal/imx_thermal.c static int imx_get_crit_temp(struct thermal_zone_device *tz, int *temp) temp 404 drivers/thermal/imx_thermal.c *temp = data->temp_critical; temp 409 drivers/thermal/imx_thermal.c int *temp) temp 413 drivers/thermal/imx_thermal.c *temp = (trip == IMX_TRIP_PASSIVE) ? data->temp_passive : temp 419 drivers/thermal/imx_thermal.c int temp) temp 428 drivers/thermal/imx_thermal.c if (temp < 0 || temp > data->temp_critical) temp 431 drivers/thermal/imx_thermal.c data->temp_passive = temp; temp 433 drivers/thermal/imx_thermal.c imx_set_alarm_temp(data, temp); temp 227 drivers/thermal/intel/int340x_thermal/int3400_thermal.c int *temp) temp 229 drivers/thermal/intel/int340x_thermal/int3400_thermal.c *temp = 20 * 1000; /* faked temp sensor with 20C */ temp 14 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c int *temp) temp 21 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c return d->override_ops->get_temp(zone, temp); temp 34 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = (unsigned long)conv_temp * 10; temp 37 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = DECI_KELVIN_TO_MILLICELSIUS(tmp); temp 43 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c int trip, int *temp) temp 49 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c return d->override_ops->get_trip_temp(zone, trip, temp); temp 52 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = d->aux_trips[trip]; temp 54 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = d->crt_temp; temp 56 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = d->psv_temp; temp 58 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = d->hot_temp; temp 63 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = d->act_trips[i].temp; temp 108 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c int trip, int temp) temp 115 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c return d->override_ops->set_trip_temp(zone, trip, temp); temp 119 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c MILLICELSIUS_TO_DECI_KELVIN(temp)); temp 123 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c d->aux_trips[trip] = temp; temp 130 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c int trip, int *temp) temp 137 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c return d->override_ops->get_trip_hyst(zone, trip, temp); temp 141 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = 0; temp 143 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = hyst * 100; temp 157 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c int *temp) temp 166 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = DECI_KELVIN_TO_MILLICELSIUS(r); temp 196 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c &int34x_zone->act_trips[i].temp)) temp 15 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.h int temp; temp 228 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c static int read_temp_msr(int *temp) temp 235 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c *temp = 0; temp 245 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c if (!*temp || curr_temp_off < *temp) temp 246 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c *temp = curr_temp_off; temp 260 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c int *temp) temp 264 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c ret = read_temp_msr(temp); temp 266 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c *temp = (stored_tjmax - *temp) * 1000; temp 168 drivers/thermal/intel/intel_pch_thermal.c static int pch_wpt_get_temp(struct pch_thermal_device *ptd, int *temp) temp 175 drivers/thermal/intel/intel_pch_thermal.c *temp = (wpt_temp * 1000 / 2 - 50000); temp 210 drivers/thermal/intel/intel_pch_thermal.c int (*get_temp)(struct pch_thermal_device *ptd, int *temp); temp 224 drivers/thermal/intel/intel_pch_thermal.c static int pch_thermal_get_temp(struct thermal_zone_device *tzd, int *temp) temp 228 drivers/thermal/intel/intel_pch_thermal.c return ptd->ops->get_temp(ptd, temp); temp 248 drivers/thermal/intel/intel_pch_thermal.c static int pch_get_trip_temp(struct thermal_zone_device *tzd, int trip, int *temp) temp 253 drivers/thermal/intel/intel_pch_thermal.c *temp = ptd->crt_temp; temp 255 drivers/thermal/intel/intel_pch_thermal.c *temp = ptd->hot_temp; temp 257 drivers/thermal/intel/intel_pch_thermal.c *temp = ptd->psv_temp; temp 189 drivers/thermal/intel/intel_quark_dts_thermal.c static int _get_trip_temp(int trip, int *temp) temp 208 drivers/thermal/intel/intel_quark_dts_thermal.c *temp = (out >> (trip * QRK_DTS_SHIFT_TP)) & QRK_DTS_MASK_TP_THRES; temp 209 drivers/thermal/intel/intel_quark_dts_thermal.c *temp -= QRK_DTS_TEMP_BASE; temp 215 drivers/thermal/intel/intel_quark_dts_thermal.c int trip, int *temp) temp 217 drivers/thermal/intel/intel_quark_dts_thermal.c return _get_trip_temp(trip, temp); temp 220 drivers/thermal/intel/intel_quark_dts_thermal.c static inline int sys_get_crit_temp(struct thermal_zone_device *tzd, int *temp) temp 222 drivers/thermal/intel/intel_quark_dts_thermal.c return _get_trip_temp(QRK_DTS_ID_TP_CRITICAL, temp); temp 226 drivers/thermal/intel/intel_quark_dts_thermal.c int trip, int temp) temp 250 drivers/thermal/intel/intel_quark_dts_thermal.c if (temp > QRK_DTS_SAFE_TP_THRES) temp 251 drivers/thermal/intel/intel_quark_dts_thermal.c temp = QRK_DTS_SAFE_TP_THRES; temp 259 drivers/thermal/intel/intel_quark_dts_thermal.c temp_out = temp + QRK_DTS_TEMP_BASE; temp 274 drivers/thermal/intel/intel_quark_dts_thermal.c int temp) temp 276 drivers/thermal/intel/intel_quark_dts_thermal.c return update_trip_temp(tzd->devdata, trip, temp); temp 291 drivers/thermal/intel/intel_quark_dts_thermal.c int *temp) temp 310 drivers/thermal/intel/intel_quark_dts_thermal.c *temp = out - QRK_DTS_TEMP_BASE; temp 74 drivers/thermal/intel/intel_soc_dts_iosf.c int *temp) temp 92 drivers/thermal/intel/intel_soc_dts_iosf.c *temp = 0; temp 94 drivers/thermal/intel/intel_soc_dts_iosf.c *temp = sensors->tj_max - out * 1000; temp 100 drivers/thermal/intel/intel_soc_dts_iosf.c int thres_index, int temp, temp 116 drivers/thermal/intel/intel_soc_dts_iosf.c temp_out = (sensors->tj_max - temp) / 1000; temp 148 drivers/thermal/intel/intel_soc_dts_iosf.c if (temp) { temp 190 drivers/thermal/intel/intel_soc_dts_iosf.c int temp) temp 196 drivers/thermal/intel/intel_soc_dts_iosf.c if (temp > sensors->tj_max) temp 200 drivers/thermal/intel/intel_soc_dts_iosf.c status = update_trip_temp(tzd->devdata, trip, temp, temp 220 drivers/thermal/intel/intel_soc_dts_iosf.c int *temp) temp 236 drivers/thermal/intel/intel_soc_dts_iosf.c *temp = sensors->tj_max - out * 1000; temp 124 drivers/thermal/intel/x86_pkg_temp_thermal.c static int sys_get_curr_temp(struct thermal_zone_device *tzd, int *temp) temp 132 drivers/thermal/intel/x86_pkg_temp_thermal.c *temp = zonedev->tj_max - ((eax >> 16) & 0x7f) * 1000; temp 133 drivers/thermal/intel/x86_pkg_temp_thermal.c pr_debug("sys_get_curr_temp %d\n", *temp); temp 140 drivers/thermal/intel/x86_pkg_temp_thermal.c int trip, int *temp) temp 165 drivers/thermal/intel/x86_pkg_temp_thermal.c *temp = zonedev->tj_max - thres_reg_value * 1000; temp 167 drivers/thermal/intel/x86_pkg_temp_thermal.c *temp = 0; temp 168 drivers/thermal/intel/x86_pkg_temp_thermal.c pr_debug("sys_get_trip_temp %d\n", *temp); temp 174 drivers/thermal/intel/x86_pkg_temp_thermal.c sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, int temp) temp 180 drivers/thermal/intel/x86_pkg_temp_thermal.c if (trip >= MAX_NUMBER_OF_TRIPS || temp >= zonedev->tj_max) temp 202 drivers/thermal/intel/x86_pkg_temp_thermal.c if (!temp) { temp 205 drivers/thermal/intel/x86_pkg_temp_thermal.c l |= (zonedev->tj_max - temp)/1000 << shift; temp 27 drivers/thermal/kirkwood_thermal.c int *temp) temp 49 drivers/thermal/kirkwood_thermal.c *temp = ((3220000000UL - (10000000UL * reg)) / 13625); temp 47 drivers/thermal/max77620_thermal.c static int max77620_thermal_read_temp(void *data, int *temp) temp 60 drivers/thermal/max77620_thermal.c *temp = MAX77620_TJALARM2_TEMP; temp 62 drivers/thermal/max77620_thermal.c *temp = MAX77620_TJALARM1_TEMP; temp 64 drivers/thermal/max77620_thermal.c *temp = MAX77620_NORMAL_OPERATING_TEMP; temp 590 drivers/thermal/mtk_thermal.c int i, temp = INT_MIN, max = INT_MIN; temp 597 drivers/thermal/mtk_thermal.c temp = raw_to_mcelsius(mt, temp 606 drivers/thermal/mtk_thermal.c if (temp > 200000) temp 607 drivers/thermal/mtk_thermal.c temp = 0; temp 609 drivers/thermal/mtk_thermal.c if (temp > max) temp 610 drivers/thermal/mtk_thermal.c max = temp; temp 90 drivers/thermal/of-thermal.c int *temp) temp 97 drivers/thermal/of-thermal.c return data->ops->get_temp(data->sensor_data, temp); temp 187 drivers/thermal/of-thermal.c int temp) temp 191 drivers/thermal/of-thermal.c return data->ops->set_emul_temp(data->sensor_data, temp); temp 319 drivers/thermal/of-thermal.c int *temp) temp 326 drivers/thermal/of-thermal.c *temp = data->trips[trip].temperature; temp 332 drivers/thermal/of-thermal.c int temp) temp 342 drivers/thermal/of-thermal.c ret = data->ops->set_trip_temp(data->sensor_data, trip, temp); temp 348 drivers/thermal/of-thermal.c data->trips[trip].temperature = temp; temp 381 drivers/thermal/of-thermal.c int *temp) temp 388 drivers/thermal/of-thermal.c *temp = data->trips[i].temperature; temp 70 drivers/thermal/qcom/qcom-spmi-temp-alarm.c long temp; temp 152 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->temp = (stage_new - 1) * TEMP_STAGE_STEP + temp 157 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->temp = stage_new * TEMP_STAGE_STEP + temp 167 drivers/thermal/qcom/qcom-spmi-temp-alarm.c static int qpnp_tm_get_temp(void *data, int *temp) temp 172 drivers/thermal/qcom/qcom-spmi-temp-alarm.c if (!temp) temp 176 drivers/thermal/qcom/qcom-spmi-temp-alarm.c *temp = DEFAULT_TEMP; temp 191 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->temp = mili_celsius; temp 194 drivers/thermal/qcom/qcom-spmi-temp-alarm.c *temp = chip->temp < 0 ? 0 : chip->temp; temp 200 drivers/thermal/qcom/qcom-spmi-temp-alarm.c int temp) temp 213 drivers/thermal/qcom/qcom-spmi-temp-alarm.c if (temp == THERMAL_TEMP_INVALID || temp 214 drivers/thermal/qcom/qcom-spmi-temp-alarm.c temp < STAGE2_THRESHOLD_MIN) { temp 219 drivers/thermal/qcom/qcom-spmi-temp-alarm.c if (temp <= STAGE2_THRESHOLD_MAX) { temp 221 drivers/thermal/qcom/qcom-spmi-temp-alarm.c ((STAGE2_THRESHOLD_MAX - temp) / temp 242 drivers/thermal/qcom/qcom-spmi-temp-alarm.c static int qpnp_tm_set_trip_temp(void *data, int trip, int temp) temp 256 drivers/thermal/qcom/qcom-spmi-temp-alarm.c ret = qpnp_tm_update_critical_trip_temp(chip, temp); temp 318 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->temp = DEFAULT_TEMP; temp 329 drivers/thermal/qcom/qcom-spmi-temp-alarm.c chip->temp = chip->thresh * TEMP_THRESH_STEP + temp 248 drivers/thermal/qcom/tsens-8960.c static int get_temp_8960(struct tsens_priv *priv, int id, int *temp) temp 265 drivers/thermal/qcom/tsens-8960.c *temp = code_to_mdegC(code, s); temp 86 drivers/thermal/qcom/tsens-common.c int get_temp_tsens_valid(struct tsens_priv *priv, int i, int *temp) temp 115 drivers/thermal/qcom/tsens-common.c *temp = code_to_degc(last_temp, s) * 1000; temp 120 drivers/thermal/qcom/tsens-common.c *temp = sign_extend32(last_temp, fls(mask) - 1) * 100; temp 126 drivers/thermal/qcom/tsens-common.c int get_temp_common(struct tsens_priv *priv, int i, int *temp) temp 135 drivers/thermal/qcom/tsens-common.c *temp = code_to_degc(last_temp, s) * 1000; temp 15 drivers/thermal/qcom/tsens.c static int tsens_get_temp(void *data, int *temp) temp 20 drivers/thermal/qcom/tsens.c return priv->ops->get_temp(priv, s->id, temp); temp 65 drivers/thermal/qcom/tsens.h int (*get_temp)(struct tsens_priv *priv, int i, int *temp); temp 317 drivers/thermal/qcom/tsens.h int get_temp_tsens_valid(struct tsens_priv *priv, int i, int *temp); temp 318 drivers/thermal/qcom/tsens.h int get_temp_common(struct tsens_priv *priv, int i, int *temp); temp 97 drivers/thermal/qoriq_thermal.c static int tmu_get_temp(void *p, int *temp) temp 104 drivers/thermal/qoriq_thermal.c *temp = (val & 0xff) * 1000; temp 60 drivers/thermal/rcar_gen3_thermal.c #define MCELSIUS(temp) ((temp) * 1000) temp 158 drivers/thermal/rcar_gen3_thermal.c static int rcar_gen3_thermal_round(int temp) temp 162 drivers/thermal/rcar_gen3_thermal.c round_offs = temp >= 0 ? RCAR3_THERMAL_GRAN / 2 : temp 164 drivers/thermal/rcar_gen3_thermal.c result = (temp + round_offs) / RCAR3_THERMAL_GRAN; temp 168 drivers/thermal/rcar_gen3_thermal.c static int rcar_gen3_thermal_get_temp(void *devdata, int *temp) temp 190 drivers/thermal/rcar_gen3_thermal.c *temp = rcar_gen3_thermal_round(mcelsius); temp 104 drivers/thermal/rcar_thermal.c #define MCELSIUS(temp) ((temp) * 1000) temp 260 drivers/thermal/rcar_thermal.c int *temp) temp 285 drivers/thermal/rcar_thermal.c *temp = tmp; temp 290 drivers/thermal/rcar_thermal.c static int rcar_thermal_of_get_temp(void *data, int *temp) temp 294 drivers/thermal/rcar_thermal.c return rcar_thermal_get_current_temp(priv, temp); temp 297 drivers/thermal/rcar_thermal.c static int rcar_thermal_get_temp(struct thermal_zone_device *zone, int *temp) temp 301 drivers/thermal/rcar_thermal.c return rcar_thermal_get_current_temp(priv, temp); temp 324 drivers/thermal/rcar_thermal.c int trip, int *temp) temp 332 drivers/thermal/rcar_thermal.c *temp = MCELSIUS(90); temp 114 drivers/thermal/rockchip_thermal.c int chn, void __iomem *reg, int *temp); temp 116 drivers/thermal/rockchip_thermal.c int chn, void __iomem *reg, int temp); temp 118 drivers/thermal/rockchip_thermal.c int chn, void __iomem *reg, int temp); temp 238 drivers/thermal/rockchip_thermal.c int temp; temp 475 drivers/thermal/rockchip_thermal.c int temp) temp 487 drivers/thermal/rockchip_thermal.c if (temp < table->id[low].temp || temp > table->id[high].temp) temp 491 drivers/thermal/rockchip_thermal.c if (temp == table->id[mid].temp) temp 493 drivers/thermal/rockchip_thermal.c else if (temp < table->id[mid].temp) temp 507 drivers/thermal/rockchip_thermal.c num *= temp - table->id[mid].temp; temp 508 drivers/thermal/rockchip_thermal.c denom = table->id[mid + 1].temp - table->id[mid].temp; temp 522 drivers/thermal/rockchip_thermal.c __func__, temp, error); temp 527 drivers/thermal/rockchip_thermal.c u32 code, int *temp) temp 583 drivers/thermal/rockchip_thermal.c num = table->id[mid].temp - table->id[mid - 1].temp; temp 586 drivers/thermal/rockchip_thermal.c *temp = table->id[mid - 1].temp + (num / denom); temp 745 drivers/thermal/rockchip_thermal.c int chn, void __iomem *regs, int *temp) temp 751 drivers/thermal/rockchip_thermal.c return rk_tsadcv2_code_to_temp(table, val, temp); temp 755 drivers/thermal/rockchip_thermal.c int chn, void __iomem *regs, int temp) temp 766 drivers/thermal/rockchip_thermal.c if (temp == INT_MAX) { temp 774 drivers/thermal/rockchip_thermal.c alarm_value = rk_tsadcv2_temp_to_code(table, temp); temp 789 drivers/thermal/rockchip_thermal.c int chn, void __iomem *regs, int temp) temp 794 drivers/thermal/rockchip_thermal.c tshut_value = rk_tsadcv2_temp_to_code(table, temp); temp 195 drivers/thermal/samsung/exynos_tmu.c u8 temp); temp 197 drivers/thermal/samsung/exynos_tmu.c u8 temp, u8 hyst); temp 201 drivers/thermal/samsung/exynos_tmu.c void (*tmu_set_emulation)(struct exynos_tmu_data *data, int temp); temp 209 drivers/thermal/samsung/exynos_tmu.c static int temp_to_code(struct exynos_tmu_data *data, u8 temp) temp 212 drivers/thermal/samsung/exynos_tmu.c return temp + data->temp_error1 - EXYNOS_FIRST_POINT_TRIM; temp 214 drivers/thermal/samsung/exynos_tmu.c return (temp - EXYNOS_FIRST_POINT_TRIM) * temp 263 drivers/thermal/samsung/exynos_tmu.c int ret = 0, temp, hyst; temp 272 drivers/thermal/samsung/exynos_tmu.c ret = tzd->ops->get_crit_temp(tzd, &temp); temp 304 drivers/thermal/samsung/exynos_tmu.c ret = tzd->ops->get_trip_temp(tzd, i, &temp); temp 307 drivers/thermal/samsung/exynos_tmu.c temp /= MCELSIUS; temp 308 drivers/thermal/samsung/exynos_tmu.c data->tmu_set_trip_temp(data, i, temp); temp 315 drivers/thermal/samsung/exynos_tmu.c data->tmu_set_trip_hyst(data, i, temp, hyst); temp 360 drivers/thermal/samsung/exynos_tmu.c int trip, u8 temp) temp 373 drivers/thermal/samsung/exynos_tmu.c temp -= ref; temp 374 drivers/thermal/samsung/exynos_tmu.c writeb(temp, data->base + EXYNOS4210_TMU_REG_TRIG_LEVEL0 + trip * 4); temp 379 drivers/thermal/samsung/exynos_tmu.c int trip, u8 temp, u8 hyst) temp 391 drivers/thermal/samsung/exynos_tmu.c int trip, u8 temp) temp 397 drivers/thermal/samsung/exynos_tmu.c th |= temp_to_code(data, temp) << 8 * trip; temp 408 drivers/thermal/samsung/exynos_tmu.c int trip, u8 temp, u8 hyst) temp 415 drivers/thermal/samsung/exynos_tmu.c th |= temp_to_code(data, temp - hyst) << 8 * trip; temp 447 drivers/thermal/samsung/exynos_tmu.c int trip, u8 temp) temp 462 drivers/thermal/samsung/exynos_tmu.c th |= (temp_to_code(data, temp) << j * 8); temp 467 drivers/thermal/samsung/exynos_tmu.c int trip, u8 temp, u8 hyst) temp 482 drivers/thermal/samsung/exynos_tmu.c th |= (temp_to_code(data, temp - hyst) << j * 8); temp 520 drivers/thermal/samsung/exynos_tmu.c int trip, u8 temp) temp 530 drivers/thermal/samsung/exynos_tmu.c th |= temp_to_code(data, temp) << (16 * bit_off); temp 535 drivers/thermal/samsung/exynos_tmu.c int trip, u8 temp, u8 hyst) temp 545 drivers/thermal/samsung/exynos_tmu.c th |= temp_to_code(data, temp - hyst) << (16 * bit_off); temp 650 drivers/thermal/samsung/exynos_tmu.c static int exynos_get_temp(void *p, int *temp) temp 671 drivers/thermal/samsung/exynos_tmu.c *temp = code_to_temp(data, value) * MCELSIUS; temp 681 drivers/thermal/samsung/exynos_tmu.c int temp) temp 683 drivers/thermal/samsung/exynos_tmu.c if (temp) { temp 684 drivers/thermal/samsung/exynos_tmu.c temp /= MCELSIUS; temp 691 drivers/thermal/samsung/exynos_tmu.c val |= (temp_to_code(data, temp) << temp 697 drivers/thermal/samsung/exynos_tmu.c val |= (temp_to_code(data, temp) << temp 709 drivers/thermal/samsung/exynos_tmu.c int temp) temp 724 drivers/thermal/samsung/exynos_tmu.c val = get_emul_con_reg(data, val, temp); temp 728 drivers/thermal/samsung/exynos_tmu.c static int exynos_tmu_set_emulation(void *drv_data, int temp) temp 736 drivers/thermal/samsung/exynos_tmu.c if (temp && temp < MCELSIUS) temp 741 drivers/thermal/samsung/exynos_tmu.c data->tmu_set_emulation(data, temp); temp 750 drivers/thermal/samsung/exynos_tmu.c static int exynos_tmu_set_emulation(void *drv_data, int temp) temp 32 drivers/thermal/spear_thermal.c int *temp) temp 40 drivers/thermal/spear_thermal.c *temp = (readl_relaxed(stdev->thermal_base) & 0x7F) * MD_FACTOR; temp 17 drivers/thermal/st/st_thermal.c #define mcelsius(temp) ((temp) * 1000) temp 113 drivers/thermal/st/st_thermal.c unsigned int temp; temp 123 drivers/thermal/st/st_thermal.c ret = regmap_field_read(sensor->temp_data, &temp); temp 127 drivers/thermal/st/st_thermal.c temp += sensor->cdata->temp_adjust_val; temp 128 drivers/thermal/st/st_thermal.c temp = mcelsius(temp); temp 130 drivers/thermal/st/st_thermal.c dev_dbg(dev, "temperature: %d\n", temp); temp 132 drivers/thermal/st/st_thermal.c *temperature = temp; temp 156 drivers/thermal/st/st_thermal.c int trip, int *temp) temp 163 drivers/thermal/st/st_thermal.c *temp = mcelsius(sensor->cdata->crit_temp); temp 84 drivers/thermal/st/stm_thermal.c #define mcelsius(temp) ((temp) * 1000) temp 87 drivers/thermal/st/stm_thermal.c #define celsius(temp) ((temp) / 1000) temp 263 drivers/thermal/st/stm_thermal.c int temp, u32 *th) temp 273 drivers/thermal/st/stm_thermal.c freqM = ((temp - sensor->t0) * sensor->ramp_coeff) temp 405 drivers/thermal/st/stm_thermal.c static int stm_thermal_get_temp(void *data, int *temp) temp 440 drivers/thermal/st/stm_thermal.c *temp = mcelsius(sensor->t0 + ((freqM - sensor->fmt0) / temp 444 drivers/thermal/st/stm_thermal.c __func__, *temp); temp 450 drivers/thermal/st/stm_thermal.c celsius(*temp) >= sensor->temp_passive) { temp 460 drivers/thermal/st/stm_thermal.c celsius(*temp) < sensor->temp_passive) { temp 473 drivers/thermal/st/stm_thermal.c (celsius(*temp) < sensor->temp_critical)) { temp 117 drivers/thermal/tegra/soctherm-fuse.c s64 temp; temp 137 drivers/thermal/tegra/soctherm-fuse.c temp = (s64)delta_temp * (1LL << 13) * mult; temp 138 drivers/thermal/tegra/soctherm-fuse.c therma = div64_s64_precise(temp, (s64)delta_sens * div); temp 140 drivers/thermal/tegra/soctherm-fuse.c temp = ((s64)actual_tsensor_ft * shared->actual_temp_cp) - temp 142 drivers/thermal/tegra/soctherm-fuse.c thermb = div64_s64_precise(temp, delta_sens); temp 144 drivers/thermal/tegra/soctherm-fuse.c temp = (s64)therma * sensor->fuse_corr_alpha; temp 145 drivers/thermal/tegra/soctherm-fuse.c therma = div64_s64_precise(temp, CALIB_COEFFICIENT); temp 147 drivers/thermal/tegra/soctherm-fuse.c temp = (s64)thermb * sensor->fuse_corr_alpha + sensor->fuse_corr_beta; temp 148 drivers/thermal/tegra/soctherm-fuse.c thermb = div64_s64_precise(temp, CALIB_COEFFICIENT); temp 448 drivers/thermal/tegra/soctherm.c int temp; temp 450 drivers/thermal/tegra/soctherm.c temp = clamp_val(trip_temp, min_low_temp, max_high_temp); temp 451 drivers/thermal/tegra/soctherm.c if (temp != trip_temp) temp 453 drivers/thermal/tegra/soctherm.c trip_temp, temp); temp 454 drivers/thermal/tegra/soctherm.c return temp; temp 478 drivers/thermal/tegra/soctherm.c int temp; temp 484 drivers/thermal/tegra/soctherm.c temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; temp 487 drivers/thermal/tegra/soctherm.c r = REG_SET_MASK(r, sg->thermtrip_threshold_mask, temp); temp 518 drivers/thermal/tegra/soctherm.c int temp, cpu_throt, gpu_throt; temp 525 drivers/thermal/tegra/soctherm.c temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; temp 544 drivers/thermal/tegra/soctherm.c r = REG_SET_MASK(r, sg->thermctl_lvl0_up_thresh_mask, temp); temp 545 drivers/thermal/tegra/soctherm.c r = REG_SET_MASK(r, sg->thermctl_lvl0_dn_thresh_mask, temp); temp 568 drivers/thermal/tegra/soctherm.c int i, temp = min_low_temp; temp 572 drivers/thermal/tegra/soctherm.c return temp; temp 577 drivers/thermal/tegra/soctherm.c return tt[i].temp; temp 581 drivers/thermal/tegra/soctherm.c return temp; temp 584 drivers/thermal/tegra/soctherm.c static int tegra_thermctl_set_trip_temp(void *data, int trip, int temp) temp 608 drivers/thermal/tegra/soctherm.c return thermtrip_program(dev, sg, temp); temp 628 drivers/thermal/tegra/soctherm.c return throttrip_program(dev, sg, stc, temp); temp 640 drivers/thermal/tegra/soctherm.c int trip_temp, temp, last_temp, ret; temp 649 drivers/thermal/tegra/soctherm.c temp = READ_ONCE(tz->temperature); temp 652 drivers/thermal/tegra/soctherm.c if (temp > trip_temp) { temp 653 drivers/thermal/tegra/soctherm.c if (temp >= last_temp) temp 657 drivers/thermal/tegra/soctherm.c } else if (temp < trip_temp) { temp 722 drivers/thermal/tegra/soctherm.c static int get_hot_temp(struct thermal_zone_device *tz, int *trip, int *temp) temp 736 drivers/thermal/tegra/soctherm.c ret = tz->ops->get_trip_temp(tz, i, temp); temp 1604 drivers/thermal/tegra/soctherm.c tt[i].temp = tlb[j + 1]; temp 107 drivers/thermal/tegra/soctherm.h u32 temp; temp 56 drivers/thermal/tegra/tegra-bpmp-thermal.c *out_temp = reply.get_temp.temp; temp 183 drivers/thermal/tegra/tegra-bpmp-thermal.c int temp; temp 192 drivers/thermal/tegra/tegra-bpmp-thermal.c err = tegra_bpmp_thermal_get_temp(zone, &temp); temp 26 drivers/thermal/thermal-generic-adc.c int temp, temp_hi, temp_lo, adc_hi, adc_lo; temp 38 drivers/thermal/thermal-generic-adc.c temp = gti->lookup_table[0]; temp 40 drivers/thermal/thermal-generic-adc.c temp = gti->lookup_table[2 * (gti->nlookup_table - 1)]; temp 48 drivers/thermal/thermal-generic-adc.c temp = temp_hi + mult_frac(temp_lo - temp_hi, val - adc_hi, temp 52 drivers/thermal/thermal-generic-adc.c return temp; temp 55 drivers/thermal/thermal-generic-adc.c static int gadc_thermal_get_temp(void *data, int *temp) temp 66 drivers/thermal/thermal-generic-adc.c *temp = gadc_thermal_adc_to_temp(gti, val); temp 435 drivers/thermal/thermal_core.c int temp, ret; temp 437 drivers/thermal/thermal_core.c ret = thermal_zone_get_temp(tz, &temp); temp 448 drivers/thermal/thermal_core.c tz->temperature = temp; temp 77 drivers/thermal/thermal_helpers.c int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) temp 89 drivers/thermal/thermal_helpers.c ret = tz->ops->get_temp(tz, temp); temp 106 drivers/thermal/thermal_helpers.c if (!ret && *temp < crit_temp) temp 107 drivers/thermal/thermal_helpers.c *temp = tz->emul_temperature; temp 53 drivers/thermal/thermal_hwmon.c struct thermal_hwmon_temp *temp temp 56 drivers/thermal/thermal_hwmon.c struct thermal_zone_device *tz = temp->tz; temp 71 drivers/thermal/thermal_hwmon.c struct thermal_hwmon_temp *temp temp 74 drivers/thermal/thermal_hwmon.c struct thermal_zone_device *tz = temp->tz; temp 111 drivers/thermal/thermal_hwmon.c struct thermal_hwmon_temp *temp; temp 114 drivers/thermal/thermal_hwmon.c list_for_each_entry(temp, &hwmon->tz_list, hwmon_node) temp 115 drivers/thermal/thermal_hwmon.c if (temp->tz == tz) { temp 117 drivers/thermal/thermal_hwmon.c return temp; temp 126 drivers/thermal/thermal_hwmon.c int temp; temp 127 drivers/thermal/thermal_hwmon.c return tz->ops->get_crit_temp && !tz->ops->get_crit_temp(tz, &temp); temp 133 drivers/thermal/thermal_hwmon.c struct thermal_hwmon_temp *temp; temp 158 drivers/thermal/thermal_hwmon.c temp = kzalloc(sizeof(*temp), GFP_KERNEL); temp 159 drivers/thermal/thermal_hwmon.c if (!temp) { temp 164 drivers/thermal/thermal_hwmon.c temp->tz = tz; temp 167 drivers/thermal/thermal_hwmon.c snprintf(temp->temp_input.name, sizeof(temp->temp_input.name), temp 169 drivers/thermal/thermal_hwmon.c temp->temp_input.attr.attr.name = temp->temp_input.name; temp 170 drivers/thermal/thermal_hwmon.c temp->temp_input.attr.attr.mode = 0444; temp 171 drivers/thermal/thermal_hwmon.c temp->temp_input.attr.show = temp_input_show; temp 172 drivers/thermal/thermal_hwmon.c sysfs_attr_init(&temp->temp_input.attr.attr); temp 173 drivers/thermal/thermal_hwmon.c result = device_create_file(hwmon->device, &temp->temp_input.attr); temp 178 drivers/thermal/thermal_hwmon.c snprintf(temp->temp_crit.name, temp 179 drivers/thermal/thermal_hwmon.c sizeof(temp->temp_crit.name), temp 181 drivers/thermal/thermal_hwmon.c temp->temp_crit.attr.attr.name = temp->temp_crit.name; temp 182 drivers/thermal/thermal_hwmon.c temp->temp_crit.attr.attr.mode = 0444; temp 183 drivers/thermal/thermal_hwmon.c temp->temp_crit.attr.show = temp_crit_show; temp 184 drivers/thermal/thermal_hwmon.c sysfs_attr_init(&temp->temp_crit.attr.attr); temp 186 drivers/thermal/thermal_hwmon.c &temp->temp_crit.attr); temp 194 drivers/thermal/thermal_hwmon.c list_add_tail(&temp->hwmon_node, &hwmon->tz_list); temp 200 drivers/thermal/thermal_hwmon.c device_remove_file(hwmon->device, &temp->temp_input.attr); temp 202 drivers/thermal/thermal_hwmon.c kfree(temp); temp 217 drivers/thermal/thermal_hwmon.c struct thermal_hwmon_temp *temp; temp 226 drivers/thermal/thermal_hwmon.c temp = thermal_hwmon_lookup_temp(hwmon, tz); temp 227 drivers/thermal/thermal_hwmon.c if (unlikely(!temp)) { temp 233 drivers/thermal/thermal_hwmon.c device_remove_file(hwmon->device, &temp->temp_input.attr); temp 235 drivers/thermal/thermal_hwmon.c device_remove_file(hwmon->device, &temp->temp_crit.attr); temp 238 drivers/thermal/thermal_hwmon.c list_del(&temp->hwmon_node); temp 239 drivers/thermal/thermal_hwmon.c kfree(temp); temp 23 drivers/thermal/thermal_mmio.c static int thermal_mmio_get_temperature(void *private, int *temp) temp 32 drivers/thermal/thermal_mmio.c *temp = t; temp 398 drivers/thermal/thermal_sysfs.c static DEVICE_ATTR_RO(temp); temp 151 drivers/thermal/ti-soc-thermal/ti-bandgap.c u32 temp, reg; temp 167 drivers/thermal/ti-soc-thermal/ti-bandgap.c temp = ti_errata814_bandgap_read_temp(bgp, reg); temp 169 drivers/thermal/ti-soc-thermal/ti-bandgap.c temp = ti_bandgap_readl(bgp, reg); temp 171 drivers/thermal/ti-soc-thermal/ti-bandgap.c temp &= tsr->bgap_dtemp_mask; temp 176 drivers/thermal/ti-soc-thermal/ti-bandgap.c return temp; temp 517 drivers/thermal/ti-soc-thermal/ti-bandgap.c u32 temp; temp 531 drivers/thermal/ti-soc-thermal/ti-bandgap.c temp = ti_bandgap_read_temp(bgp, id); temp 534 drivers/thermal/ti-soc-thermal/ti-bandgap.c ret = ti_bandgap_adc_to_mcelsius(bgp, temp, &temp); temp 538 drivers/thermal/ti-soc-thermal/ti-bandgap.c *temperature = temp; temp 67 drivers/thermal/ti-soc-thermal/ti-thermal-common.c static inline int __ti_thermal_get_temp(void *devdata, int *temp) temp 104 drivers/thermal/ti-soc-thermal/ti-thermal-common.c *temp = ti_thermal_hotspot_temperature(tmp, slope, constant); temp 110 drivers/thermal/ti-soc-thermal/ti-thermal-common.c int *temp) temp 114 drivers/thermal/ti-soc-thermal/ti-thermal-common.c return __ti_thermal_get_temp(data, temp); temp 143 drivers/thermal/uniphier_thermal.c u32 temp) temp 151 drivers/thermal/uniphier_thermal.c SETALERT_TEMP_OVF_VALUE(temp / 1000)); temp 195 drivers/thermal/uniphier_thermal.c u32 temp; temp 197 drivers/thermal/uniphier_thermal.c ret = regmap_read(map, tdev->data->map_base + TMOD, &temp); temp 202 drivers/thermal/uniphier_thermal.c *out_temp = sign_extend32(temp, TMOD_WIDTH - 1) * 1000; temp 59 drivers/thermal/zx2967_thermal.c static int zx2967_thermal_get_temp(void *data, int *temp) temp 105 drivers/thermal/zx2967_thermal.c *temp = DIV_ROUND_CLOSEST(((s32)val + priv->tzd->tzp->offset) * 1000, temp 1434 drivers/tty/cyclades.c unsigned char *temp; temp 1435 drivers/tty/cyclades.c temp = info->port.xmit_buf; temp 1437 drivers/tty/cyclades.c free_page((unsigned long)temp); temp 1462 drivers/tty/cyclades.c unsigned char *temp; temp 1463 drivers/tty/cyclades.c temp = info->port.xmit_buf; temp 1465 drivers/tty/cyclades.c free_page((unsigned long)temp); temp 379 drivers/tty/serial/fsl_lpuart.c unsigned char temp; temp 381 drivers/tty/serial/fsl_lpuart.c temp = readb(port->membase + UARTCR2); temp 382 drivers/tty/serial/fsl_lpuart.c temp &= ~(UARTCR2_TIE | UARTCR2_TCIE); temp 383 drivers/tty/serial/fsl_lpuart.c writeb(temp, port->membase + UARTCR2); temp 388 drivers/tty/serial/fsl_lpuart.c unsigned long temp; temp 390 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(port, UARTCTRL); temp 391 drivers/tty/serial/fsl_lpuart.c temp &= ~(UARTCTRL_TIE | UARTCTRL_TCIE); temp 392 drivers/tty/serial/fsl_lpuart.c lpuart32_write(port, temp, UARTCTRL); temp 397 drivers/tty/serial/fsl_lpuart.c unsigned char temp; temp 399 drivers/tty/serial/fsl_lpuart.c temp = readb(port->membase + UARTCR2); temp 400 drivers/tty/serial/fsl_lpuart.c writeb(temp & ~UARTCR2_RE, port->membase + UARTCR2); temp 405 drivers/tty/serial/fsl_lpuart.c unsigned long temp; temp 407 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(port, UARTCTRL); temp 408 drivers/tty/serial/fsl_lpuart.c lpuart32_write(port, temp & ~UARTCTRL_RE, UARTCTRL); temp 579 drivers/tty/serial/fsl_lpuart.c unsigned char temp; temp 587 drivers/tty/serial/fsl_lpuart.c temp = readb(sport->port.membase + UARTPFIFO); temp 589 drivers/tty/serial/fsl_lpuart.c writeb(temp | UARTPFIFO_RXFE | UARTPFIFO_TXFE, temp 631 drivers/tty/serial/fsl_lpuart.c u32 temp; temp 640 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(&sport->port, UARTFIFO); temp 644 drivers/tty/serial/fsl_lpuart.c temp | UARTFIFO_RXFE | UARTFIFO_TXFE); temp 748 drivers/tty/serial/fsl_lpuart.c unsigned char temp; temp 750 drivers/tty/serial/fsl_lpuart.c temp = readb(port->membase + UARTCR2); temp 751 drivers/tty/serial/fsl_lpuart.c writeb(temp | UARTCR2_TIE, port->membase + UARTCR2); temp 765 drivers/tty/serial/fsl_lpuart.c unsigned long temp; temp 771 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(port, UARTCTRL); temp 772 drivers/tty/serial/fsl_lpuart.c lpuart32_write(port, temp | UARTCTRL_TIE, UARTCTRL); temp 1206 drivers/tty/serial/fsl_lpuart.c unsigned long temp = lpuart32_read(&sport->port, UARTBAUD); temp 1208 drivers/tty/serial/fsl_lpuart.c lpuart32_write(&sport->port, temp | UARTBAUD_RDMAE, UARTBAUD); temp 1286 drivers/tty/serial/fsl_lpuart.c unsigned int temp = 0; temp 1291 drivers/tty/serial/fsl_lpuart.c temp |= TIOCM_CTS; temp 1294 drivers/tty/serial/fsl_lpuart.c temp |= TIOCM_RTS; temp 1296 drivers/tty/serial/fsl_lpuart.c return temp; temp 1301 drivers/tty/serial/fsl_lpuart.c unsigned int temp = 0; temp 1306 drivers/tty/serial/fsl_lpuart.c temp |= TIOCM_CTS; temp 1309 drivers/tty/serial/fsl_lpuart.c temp |= TIOCM_RTS; temp 1311 drivers/tty/serial/fsl_lpuart.c return temp; temp 1316 drivers/tty/serial/fsl_lpuart.c unsigned char temp; temp 1322 drivers/tty/serial/fsl_lpuart.c temp = readb(sport->port.membase + UARTMODEM) & temp 1326 drivers/tty/serial/fsl_lpuart.c temp |= UARTMODEM_RXRTSE; temp 1329 drivers/tty/serial/fsl_lpuart.c temp |= UARTMODEM_TXCTSE; temp 1331 drivers/tty/serial/fsl_lpuart.c writeb(temp, port->membase + UARTMODEM); temp 1337 drivers/tty/serial/fsl_lpuart.c unsigned long temp; temp 1339 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(port, UARTMODIR) & temp 1343 drivers/tty/serial/fsl_lpuart.c temp |= UARTMODIR_RXRTSE; temp 1346 drivers/tty/serial/fsl_lpuart.c temp |= UARTMODIR_TXCTSE; temp 1348 drivers/tty/serial/fsl_lpuart.c lpuart32_write(port, temp, UARTMODIR); temp 1353 drivers/tty/serial/fsl_lpuart.c unsigned char temp; temp 1355 drivers/tty/serial/fsl_lpuart.c temp = readb(port->membase + UARTCR2) & ~UARTCR2_SBK; temp 1358 drivers/tty/serial/fsl_lpuart.c temp |= UARTCR2_SBK; temp 1360 drivers/tty/serial/fsl_lpuart.c writeb(temp, port->membase + UARTCR2); temp 1365 drivers/tty/serial/fsl_lpuart.c unsigned long temp; temp 1367 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(port, UARTCTRL) & ~UARTCTRL_SBK; temp 1370 drivers/tty/serial/fsl_lpuart.c temp |= UARTCTRL_SBK; temp 1372 drivers/tty/serial/fsl_lpuart.c lpuart32_write(port, temp, UARTCTRL); temp 1445 drivers/tty/serial/fsl_lpuart.c u32 temp; temp 1449 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(&sport->port, UARTCTRL); temp 1450 drivers/tty/serial/fsl_lpuart.c temp |= UARTCTRL_RE | UARTCTRL_TE | UARTCTRL_ILIE; temp 1451 drivers/tty/serial/fsl_lpuart.c lpuart32_write(&sport->port, temp, UARTCTRL); temp 1500 drivers/tty/serial/fsl_lpuart.c unsigned char temp; temp 1503 drivers/tty/serial/fsl_lpuart.c temp = readb(sport->port.membase + UARTPFIFO); temp 1505 drivers/tty/serial/fsl_lpuart.c sport->txfifo_size = UARTFIFO_DEPTH((temp >> UARTPFIFO_TXSIZE_OFF) & temp 1509 drivers/tty/serial/fsl_lpuart.c sport->rxfifo_size = UARTFIFO_DEPTH((temp >> UARTPFIFO_RXSIZE_OFF) & temp 1526 drivers/tty/serial/fsl_lpuart.c unsigned long temp; temp 1530 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(&sport->port, UARTWATER); temp 1531 drivers/tty/serial/fsl_lpuart.c temp &= ~(UARTWATER_WATER_MASK << UARTWATER_RXWATER_OFF); temp 1532 drivers/tty/serial/fsl_lpuart.c lpuart32_write(&sport->port, temp, UARTWATER); temp 1534 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(&sport->port, UARTCTRL); temp 1536 drivers/tty/serial/fsl_lpuart.c temp |= UARTCTRL_RIE; temp 1538 drivers/tty/serial/fsl_lpuart.c temp |= UARTCTRL_TIE; temp 1539 drivers/tty/serial/fsl_lpuart.c lpuart32_write(&sport->port, temp, UARTCTRL); temp 1546 drivers/tty/serial/fsl_lpuart.c unsigned long temp; temp 1549 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(&sport->port, UARTFIFO); temp 1551 drivers/tty/serial/fsl_lpuart.c sport->txfifo_size = UARTFIFO_DEPTH((temp >> UARTFIFO_TXSIZE_OFF) & temp 1555 drivers/tty/serial/fsl_lpuart.c sport->rxfifo_size = UARTFIFO_DEPTH((temp >> UARTFIFO_RXSIZE_OFF) & temp 1591 drivers/tty/serial/fsl_lpuart.c unsigned char temp; temp 1597 drivers/tty/serial/fsl_lpuart.c temp = readb(port->membase + UARTCR2); temp 1598 drivers/tty/serial/fsl_lpuart.c temp &= ~(UARTCR2_TE | UARTCR2_RE | temp 1600 drivers/tty/serial/fsl_lpuart.c writeb(temp, port->membase + UARTCR2); temp 1611 drivers/tty/serial/fsl_lpuart.c unsigned long temp; temp 1617 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(port, UARTCTRL); temp 1618 drivers/tty/serial/fsl_lpuart.c temp &= ~(UARTCTRL_TE | UARTCTRL_RE | temp 1620 drivers/tty/serial/fsl_lpuart.c lpuart32_write(port, temp, UARTCTRL); temp 2525 drivers/tty/serial/fsl_lpuart.c unsigned long temp; temp 2530 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(&sport->port, UARTCTRL); temp 2531 drivers/tty/serial/fsl_lpuart.c temp &= ~(UARTCTRL_TE | UARTCTRL_TIE | UARTCTRL_TCIE); temp 2532 drivers/tty/serial/fsl_lpuart.c lpuart32_write(&sport->port, temp, UARTCTRL); temp 2535 drivers/tty/serial/fsl_lpuart.c temp = readb(sport->port.membase + UARTCR2); temp 2536 drivers/tty/serial/fsl_lpuart.c temp &= ~(UARTCR2_TE | UARTCR2_TIE | UARTCR2_TCIE); temp 2537 drivers/tty/serial/fsl_lpuart.c writeb(temp, sport->port.membase + UARTCR2); temp 2560 drivers/tty/serial/fsl_lpuart.c temp = lpuart32_read(&sport->port, UARTBAUD); temp 2561 drivers/tty/serial/fsl_lpuart.c lpuart32_write(&sport->port, temp & ~UARTBAUD_RDMAE, temp 276 drivers/tty/serial/icom.c unsigned long temp; temp 294 drivers/tty/serial/icom.c temp = readl(stop_proc[port].global_control_reg); temp 295 drivers/tty/serial/icom.c temp = (temp & ~start_proc[port].processor_id) | stop_proc[port].processor_id; temp 296 drivers/tty/serial/icom.c writel(temp, stop_proc[port].global_control_reg); temp 307 drivers/tty/serial/icom.c unsigned long temp; temp 325 drivers/tty/serial/icom.c temp = readl(start_proc[port].global_control_reg); temp 326 drivers/tty/serial/icom.c temp = (temp & ~stop_proc[port].processor_id) | start_proc[port].processor_id; temp 327 drivers/tty/serial/icom.c writel(temp, start_proc[port].global_control_reg); temp 502 drivers/tty/serial/icom.c unsigned long temp; temp 561 drivers/tty/serial/icom.c temp = readl(int_mask_tbl[port].global_int_mask); temp 562 drivers/tty/serial/icom.c writel(temp & ~int_mask_tbl[port].processor_id, int_mask_tbl[port].global_int_mask); temp 574 drivers/tty/serial/icom.c unsigned long temp; temp 596 drivers/tty/serial/icom.c temp = readl(int_mask_tbl[port].global_int_mask); temp 597 drivers/tty/serial/icom.c writel(temp | int_mask_tbl[port].processor_id, int_mask_tbl[port].global_int_mask); temp 313 drivers/tty/serial/jsm/jsm_cls.c u8 temp = readb(&ch->ch_cls_uart->lcr); temp 315 drivers/tty/serial/jsm/jsm_cls.c writeb((temp & ~UART_LCR_SBC), &ch->ch_cls_uart->lcr); temp 936 drivers/tty/serial/jsm/jsm_cls.c u8 temp = readb(&ch->ch_cls_uart->lcr); temp 938 drivers/tty/serial/jsm/jsm_cls.c writeb((temp | UART_LCR_SBC), &ch->ch_cls_uart->lcr); temp 688 drivers/tty/serial/jsm/jsm_neo.c u8 temp = readb(&ch->ch_neo_uart->lcr); temp 689 drivers/tty/serial/jsm/jsm_neo.c writeb((temp & ~UART_LCR_SBC), &ch->ch_neo_uart->lcr); temp 1359 drivers/tty/serial/jsm/jsm_neo.c u8 temp = readb(&ch->ch_neo_uart->lcr); temp 1360 drivers/tty/serial/jsm/jsm_neo.c writeb((temp | UART_LCR_SBC), &ch->ch_neo_uart->lcr); temp 237 drivers/usb/chipidea/host.c u32 temp; temp 248 drivers/usb/chipidea/host.c temp = ehci_readl(ehci, status_reg); temp 249 drivers/usb/chipidea/host.c if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) != 0) { temp 254 drivers/usb/chipidea/host.c temp &= ~(PORT_RWC_BITS | PORT_WKCONN_E); temp 255 drivers/usb/chipidea/host.c temp |= PORT_WKDISC_E | PORT_WKOC_E; temp 256 drivers/usb/chipidea/host.c ehci_writel(ehci, temp | PORT_SUSPEND, status_reg); temp 271 drivers/usb/chipidea/host.c temp = ehci_readl(ehci, status_reg); temp 272 drivers/usb/chipidea/host.c temp &= ~(PORT_WKDISC_E | PORT_WKCONN_E); temp 273 drivers/usb/chipidea/host.c ehci_writel(ehci, temp, status_reg); temp 344 drivers/usb/chipidea/udc.c u32 temp; temp 369 drivers/usb/chipidea/udc.c temp = (u32) (hwreq->req.dma + hwreq->req.actual); temp 371 drivers/usb/chipidea/udc.c node->ptr->page[0] = cpu_to_le32(temp); temp 373 drivers/usb/chipidea/udc.c u32 page = temp + i * CI_HDRC_PAGE_SIZE; temp 178 drivers/usb/gadget/function/rndis.c struct rtnl_link_stats64 temp; temp 202 drivers/usb/gadget/function/rndis.c stats = dev_get_stats(net, &temp); temp 22 drivers/usb/gadget/udc/bdc/bdc_cmd.c u32 temp; temp 33 drivers/usb/gadget/udc/bdc/bdc_cmd.c temp = bdc_readl(bdc->regs, BDC_CMDSC); temp 34 drivers/usb/gadget/udc/bdc/bdc_cmd.c dev_dbg_ratelimited(bdc->dev, "cmdsc=%x", temp); temp 35 drivers/usb/gadget/udc/bdc/bdc_cmd.c cmd_status = BDC_CMD_CST(temp); temp 54 drivers/usb/gadget/udc/bdc/bdc_cmd.c u32 temp, cmd_status; temp 57 drivers/usb/gadget/udc/bdc/bdc_cmd.c temp = bdc_readl(bdc->regs, BDC_CMDSC); temp 60 drivers/usb/gadget/udc/bdc/bdc_cmd.c __func__, temp, cmd_sc, param0, param1, param2); temp 62 drivers/usb/gadget/udc/bdc/bdc_cmd.c cmd_status = BDC_CMD_CST(temp); temp 56 drivers/usb/gadget/udc/bdc/bdc_core.c u32 temp; temp 59 drivers/usb/gadget/udc/bdc/bdc_core.c temp = bdc_readl(bdc->regs, BDC_BDCSC); temp 61 drivers/usb/gadget/udc/bdc/bdc_core.c if (BDC_CSTS(temp) == BDC_HLT) { temp 65 drivers/usb/gadget/udc/bdc/bdc_core.c temp &= ~BDC_COP_MASK; temp 66 drivers/usb/gadget/udc/bdc/bdc_core.c temp |= BDC_COS|BDC_COP_STP; temp 67 drivers/usb/gadget/udc/bdc/bdc_core.c bdc_writel(bdc->regs, BDC_BDCSC, temp); temp 79 drivers/usb/gadget/udc/bdc/bdc_core.c u32 temp; temp 88 drivers/usb/gadget/udc/bdc/bdc_core.c temp = bdc_readl(bdc->regs, BDC_BDCSC); temp 89 drivers/usb/gadget/udc/bdc/bdc_core.c temp &= ~BDC_COP_MASK; temp 90 drivers/usb/gadget/udc/bdc/bdc_core.c temp |= BDC_COS|BDC_COP_RST; temp 91 drivers/usb/gadget/udc/bdc/bdc_core.c bdc_writel(bdc->regs, BDC_BDCSC, temp); temp 102 drivers/usb/gadget/udc/bdc/bdc_core.c u32 temp; temp 106 drivers/usb/gadget/udc/bdc/bdc_core.c temp = bdc_readl(bdc->regs, BDC_BDCSC); temp 108 drivers/usb/gadget/udc/bdc/bdc_core.c if (BDC_CSTS(temp) == BDC_NOR) { temp 112 drivers/usb/gadget/udc/bdc/bdc_core.c temp &= ~BDC_COP_MASK; temp 113 drivers/usb/gadget/udc/bdc/bdc_core.c temp |= BDC_COP_RUN; temp 114 drivers/usb/gadget/udc/bdc/bdc_core.c temp |= BDC_COS; temp 115 drivers/usb/gadget/udc/bdc/bdc_core.c bdc_writel(bdc->regs, BDC_BDCSC, temp); temp 121 drivers/usb/gadget/udc/bdc/bdc_core.c temp = bdc_readl(bdc->regs, BDC_BDCSC); temp 122 drivers/usb/gadget/udc/bdc/bdc_core.c if (BDC_CSTS(temp) != BDC_NOR) { temp 124 drivers/usb/gadget/udc/bdc/bdc_core.c BDC_CSTS(temp)); temp 222 drivers/usb/gadget/udc/bdc/bdc_core.c u32 temp; temp 234 drivers/usb/gadget/udc/bdc/bdc_core.c temp = BDC_SRR_RWS | BDC_SRR_RST; temp 236 drivers/usb/gadget/udc/bdc/bdc_core.c bdc_writel(bdc->regs, BDC_SRRINT(0), temp); temp 238 drivers/usb/gadget/udc/bdc/bdc_core.c temp = lower_32_bits(bdc->srr.dma_addr); temp 240 drivers/usb/gadget/udc/bdc/bdc_core.c temp |= size; temp 242 drivers/usb/gadget/udc/bdc/bdc_core.c temp, NUM_SR_ENTRIES, size); temp 244 drivers/usb/gadget/udc/bdc/bdc_core.c low32 = lower_32_bits(temp); temp 253 drivers/usb/gadget/udc/bdc/bdc_core.c temp = bdc_readl(bdc->regs, BDC_SRRINT(0)); temp 254 drivers/usb/gadget/udc/bdc/bdc_core.c temp |= BDC_SRR_IE; temp 255 drivers/usb/gadget/udc/bdc/bdc_core.c temp &= ~(BDC_SRR_RST | BDC_SRR_RWS); temp 256 drivers/usb/gadget/udc/bdc/bdc_core.c bdc_writel(bdc->regs, BDC_SRRINT(0), temp); temp 259 drivers/usb/gadget/udc/bdc/bdc_core.c temp = bdc_readl(bdc->regs, BDC_INTCTLS(0)); temp 260 drivers/usb/gadget/udc/bdc/bdc_core.c temp &= ~0xffff; temp 261 drivers/usb/gadget/udc/bdc/bdc_core.c temp |= INT_CLS; temp 262 drivers/usb/gadget/udc/bdc/bdc_core.c bdc_writel(bdc->regs, BDC_INTCTLS(0), temp); temp 275 drivers/usb/gadget/udc/bdc/bdc_core.c temp = bdc_readl(bdc->regs, BDC_BDCSC); temp 277 drivers/usb/gadget/udc/bdc/bdc_core.c temp |= BDC_MASK_MCW; temp 278 drivers/usb/gadget/udc/bdc/bdc_core.c bdc_writel(bdc->regs, BDC_BDCSC, temp); temp 286 drivers/usb/gadget/udc/bdc/bdc_core.c temp = bdc_readl(bdc->regs, BDC_BDCSC); temp 287 drivers/usb/gadget/udc/bdc/bdc_core.c temp |= BDC_GIE; temp 288 drivers/usb/gadget/udc/bdc/bdc_core.c bdc_writel(bdc->regs, BDC_BDCSC, temp); temp 486 drivers/usb/gadget/udc/bdc/bdc_core.c u32 temp; temp 555 drivers/usb/gadget/udc/bdc/bdc_core.c temp = bdc_readl(bdc->regs, BDC_BDCCAP1); temp 556 drivers/usb/gadget/udc/bdc/bdc_core.c if ((temp & BDC_P64) && temp 15 drivers/usb/gadget/udc/bdc/bdc_dbg.c u32 temp; temp 18 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_BDCCFG0); temp 19 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "bdccfg0:0x%08x\n", temp); temp 20 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_BDCCFG1); temp 21 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "bdccfg1:0x%08x\n", temp); temp 22 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_BDCCAP0); temp 23 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "bdccap0:0x%08x\n", temp); temp 24 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_BDCCAP1); temp 25 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "bdccap1:0x%08x\n", temp); temp 26 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_USPC); temp 27 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "uspc:0x%08x\n", temp); temp 28 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_DVCSA); temp 29 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "dvcsa:0x%08x\n", temp); temp 30 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_DVCSB); temp 31 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "dvcsb:0x%x08\n", temp); temp 36 drivers/usb/gadget/udc/bdc/bdc_dbg.c u32 temp; temp 38 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_EPSTS0); temp 39 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "BDC_EPSTS0:0x%08x\n", temp); temp 41 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_EPSTS1); temp 42 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "BDC_EPSTS1:0x%x\n", temp); temp 44 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_EPSTS2); temp 45 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "BDC_EPSTS2:0x%08x\n", temp); temp 47 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_EPSTS3); temp 48 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "BDC_EPSTS3:0x%08x\n", temp); temp 50 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_EPSTS4); temp 51 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "BDC_EPSTS4:0x%08x\n", temp); temp 53 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_EPSTS5); temp 54 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "BDC_EPSTS5:0x%08x\n", temp); temp 56 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_EPSTS6); temp 57 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "BDC_EPSTS6:0x%08x\n", temp); temp 59 drivers/usb/gadget/udc/bdc/bdc_dbg.c temp = bdc_readl(bdc->regs, BDC_EPSTS7); temp 60 drivers/usb/gadget/udc/bdc/bdc_dbg.c dev_vdbg(bdc->dev, "BDC_EPSTS7:0x%08x\n", temp); temp 75 drivers/usb/gadget/udc/bdc/bdc_udc.c u32 speed, temp; temp 79 drivers/usb/gadget/udc/bdc/bdc_udc.c temp = bdc_readl(bdc->regs, BDC_USPC); temp 80 drivers/usb/gadget/udc/bdc/bdc_udc.c speed = BDC_PSP(temp); temp 519 drivers/usb/gadget/udc/bdc/bdc_udc.c u32 temp; temp 566 drivers/usb/gadget/udc/bdc/bdc_udc.c temp = bdc_readl(bdc->regs, BDC_BDCSC); temp 567 drivers/usb/gadget/udc/bdc/bdc_udc.c temp |= BDC_GIE; temp 568 drivers/usb/gadget/udc/bdc/bdc_udc.c bdc_writel(bdc->regs, BDC_BDCSC, temp); temp 2418 drivers/usb/gadget/udc/dummy_hcd.c size_t temp; temp 2420 drivers/usb/gadget/udc/dummy_hcd.c temp = show_urb(buf, PAGE_SIZE - size, urbp->urb); temp 2421 drivers/usb/gadget/udc/dummy_hcd.c buf += temp; temp 2422 drivers/usb/gadget/udc/dummy_hcd.c size += temp; temp 354 drivers/usb/gadget/udc/fsl_udc_core.c u32 temp; temp 357 drivers/usb/gadget/udc/fsl_udc_core.c temp = USB_INTR_INT_EN | USB_INTR_ERR_INT_EN temp 361 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp, &dr_regs->usbintr); temp 367 drivers/usb/gadget/udc/fsl_udc_core.c temp = fsl_readl(&dr_regs->usbmode); temp 368 drivers/usb/gadget/udc/fsl_udc_core.c temp |= USB_MODE_CTRL_MODE_DEVICE; temp 369 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp, &dr_regs->usbmode); temp 372 drivers/usb/gadget/udc/fsl_udc_core.c temp = fsl_readl(&dr_regs->usbcmd); temp 373 drivers/usb/gadget/udc/fsl_udc_core.c temp |= USB_CMD_RUN_STOP; temp 374 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp, &dr_regs->usbcmd); temp 725 drivers/usb/gadget/udc/fsl_udc_core.c u32 temp, bitmask, tmp_stat; temp 749 drivers/usb/gadget/udc/fsl_udc_core.c temp = fsl_readl(&dr_regs->usbcmd); temp 750 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp | USB_CMD_ATDTW, &dr_regs->usbcmd); temp 758 drivers/usb/gadget/udc/fsl_udc_core.c temp = fsl_readl(&dr_regs->usbcmd); temp 759 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp & ~USB_CMD_ATDTW, &dr_regs->usbcmd); temp 1559 drivers/usb/gadget/udc/fsl_udc_core.c u32 temp; temp 1566 drivers/usb/gadget/udc/fsl_udc_core.c temp = fsl_readl(&dr_regs->endptsetupstat); temp 1567 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp | (1 << ep_num), &dr_regs->endptsetupstat); temp 1572 drivers/usb/gadget/udc/fsl_udc_core.c temp = fsl_readl(&dr_regs->usbcmd); temp 1573 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp | USB_CMD_SUTW, &dr_regs->usbcmd); temp 1589 drivers/usb/gadget/udc/fsl_udc_core.c temp = fsl_readl(&dr_regs->usbcmd); temp 1590 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp & ~USB_CMD_SUTW, &dr_regs->usbcmd); temp 1797 drivers/usb/gadget/udc/fsl_udc_core.c u32 temp; temp 1801 drivers/usb/gadget/udc/fsl_udc_core.c temp = fsl_readl(&dr_regs->deviceaddr); temp 1802 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp & ~USB_DEVICE_ADDRESS_MASK, &dr_regs->deviceaddr); temp 1816 drivers/usb/gadget/udc/fsl_udc_core.c temp = fsl_readl(&dr_regs->endptsetupstat); temp 1817 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp, &dr_regs->endptsetupstat); temp 1820 drivers/usb/gadget/udc/fsl_udc_core.c temp = fsl_readl(&dr_regs->endptcomplete); temp 1821 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(temp, &dr_regs->endptcomplete); temp 271 drivers/usb/gadget/udc/mv_u3d_core.c u32 temp; temp 303 drivers/usb/gadget/udc/mv_u3d_core.c temp = (u32)(req->req.dma + req->req.actual); temp 305 drivers/usb/gadget/udc/mv_u3d_core.c trb_hw->buf_addr_lo = cpu_to_le32(temp); temp 336 drivers/usb/gadget/udc/mv_u3d_core.c u32 temp; temp 349 drivers/usb/gadget/udc/mv_u3d_core.c temp = (u32)(req->req.dma + req->req.actual); temp 351 drivers/usb/gadget/udc/mv_u3d_core.c trb->trb_hw->buf_addr_lo = cpu_to_le32(temp); temp 1036 drivers/usb/gadget/udc/mv_u3d_core.c u32 temp; temp 1039 drivers/usb/gadget/udc/mv_u3d_core.c temp = ioread32(&u3d->vuc_regs->ltssm); temp 1040 drivers/usb/gadget/udc/mv_u3d_core.c temp |= MV_U3D_LTSSM_PHY_INIT_DONE; temp 1041 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(temp, &u3d->vuc_regs->ltssm); temp 341 drivers/usb/gadget/udc/mv_udc_core.c u32 temp, mult = 0; temp 366 drivers/usb/gadget/udc/mv_udc_core.c temp = (u32)(req->req.dma + req->req.actual); temp 367 drivers/usb/gadget/udc/mv_udc_core.c dtd->buff_ptr0 = cpu_to_le32(temp); temp 368 drivers/usb/gadget/udc/mv_udc_core.c temp &= ~0xFFF; temp 369 drivers/usb/gadget/udc/mv_udc_core.c dtd->buff_ptr1 = cpu_to_le32(temp + 0x1000); temp 370 drivers/usb/gadget/udc/mv_udc_core.c dtd->buff_ptr2 = cpu_to_le32(temp + 0x2000); temp 371 drivers/usb/gadget/udc/mv_udc_core.c dtd->buff_ptr3 = cpu_to_le32(temp + 0x3000); temp 372 drivers/usb/gadget/udc/mv_udc_core.c dtd->buff_ptr4 = cpu_to_le32(temp + 0x4000); temp 388 drivers/usb/gadget/udc/mv_udc_core.c temp = ((*length << DTD_LENGTH_BIT_POS) | DTD_STATUS_ACTIVE); temp 392 drivers/usb/gadget/udc/mv_udc_core.c temp |= DTD_IOC; temp 394 drivers/usb/gadget/udc/mv_udc_core.c temp |= mult << 10; temp 396 drivers/usb/gadget/udc/mv_udc_core.c dtd->size_ioc_sts = temp; temp 1760 drivers/usb/gadget/udc/mv_udc_core.c u32 temp; temp 1771 drivers/usb/gadget/udc/mv_udc_core.c temp = readl(&udc->op_regs->usbcmd); temp 1772 drivers/usb/gadget/udc/mv_udc_core.c writel(temp | USBCMD_SETUP_TRIPWIRE_SET, &udc->op_regs->usbcmd); temp 1779 drivers/usb/gadget/udc/mv_udc_core.c temp = readl(&udc->op_regs->usbcmd); temp 1780 drivers/usb/gadget/udc/mv_udc_core.c writel(temp & ~USBCMD_SETUP_TRIPWIRE_SET, &udc->op_regs->usbcmd); temp 377 drivers/usb/host/ehci-dbg.c unsigned temp; temp 398 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 412 drivers/usb/host/ehci-dbg.c size -= temp; temp 413 drivers/usb/host/ehci-dbg.c next += temp; temp 446 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 455 drivers/usb/host/ehci-dbg.c size -= temp; temp 456 drivers/usb/host/ehci-dbg.c next += temp; temp 457 drivers/usb/host/ehci-dbg.c if (temp == size) temp 461 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, "\n"); temp 462 drivers/usb/host/ehci-dbg.c size -= temp; temp 463 drivers/usb/host/ehci-dbg.c next += temp; temp 475 drivers/usb/host/ehci-dbg.c unsigned temp, size; temp 495 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, "\nunlink =\n"); temp 496 drivers/usb/host/ehci-dbg.c size -= temp; temp 497 drivers/usb/host/ehci-dbg.c next += temp; temp 515 drivers/usb/host/ehci-dbg.c unsigned temp, size; temp 531 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 533 drivers/usb/host/ehci-dbg.c size -= temp; temp 534 drivers/usb/host/ehci-dbg.c next += temp; temp 537 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 541 drivers/usb/host/ehci-dbg.c size -= temp; temp 542 drivers/usb/host/ehci-dbg.c next += temp; temp 547 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 551 drivers/usb/host/ehci-dbg.c size -= temp; temp 552 drivers/usb/host/ehci-dbg.c next += temp; temp 555 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 559 drivers/usb/host/ehci-dbg.c size -= temp; temp 560 drivers/usb/host/ehci-dbg.c next += temp; temp 562 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 564 drivers/usb/host/ehci-dbg.c size -= temp; temp 565 drivers/usb/host/ehci-dbg.c next += temp; temp 569 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 573 drivers/usb/host/ehci-dbg.c size -= temp; temp 574 drivers/usb/host/ehci-dbg.c next += temp; temp 577 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 584 drivers/usb/host/ehci-dbg.c size -= temp; temp 585 drivers/usb/host/ehci-dbg.c next += temp; temp 599 drivers/usb/host/ehci-dbg.c unsigned temp = 0; temp 603 drivers/usb/host/ehci-dbg.c temp++; temp 617 drivers/usb/host/ehci-dbg.c qh->ps.c_usecs, temp, 0x7ff & (scratch >> 16)); temp 627 drivers/usb/host/ehci-dbg.c unsigned temp, size, seen_count; temp 642 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, "size = %d\n", ehci->periodic_size); temp 643 drivers/usb/host/ehci-dbg.c size -= temp; temp 644 drivers/usb/host/ehci-dbg.c next += temp; temp 657 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, "%4d: ", i); temp 658 drivers/usb/host/ehci-dbg.c size -= temp; temp 659 drivers/usb/host/ehci-dbg.c next += temp; temp 667 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, " qh%d-%04x/%p", temp 674 drivers/usb/host/ehci-dbg.c size -= temp; temp 675 drivers/usb/host/ehci-dbg.c next += temp; temp 677 drivers/usb/host/ehci-dbg.c for (temp = 0; temp < seen_count; temp++) { temp 678 drivers/usb/host/ehci-dbg.c if (seen[temp].ptr != p.ptr) temp 681 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 683 drivers/usb/host/ehci-dbg.c size -= temp; temp 684 drivers/usb/host/ehci-dbg.c next += temp; temp 689 drivers/usb/host/ehci-dbg.c if (temp == seen_count) { temp 690 drivers/usb/host/ehci-dbg.c temp = output_buf_tds_dir(next, ehci, temp 696 drivers/usb/host/ehci-dbg.c temp = 0; temp 702 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 709 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 715 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 725 drivers/usb/host/ehci-dbg.c size -= temp; temp 726 drivers/usb/host/ehci-dbg.c next += temp; temp 729 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, "\n"); temp 730 drivers/usb/host/ehci-dbg.c size -= temp; temp 731 drivers/usb/host/ehci-dbg.c next += temp; temp 760 drivers/usb/host/ehci-dbg.c unsigned temp, size, i; temp 785 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 793 drivers/usb/host/ehci-dbg.c size -= temp; temp 794 drivers/usb/host/ehci-dbg.c next += temp; temp 810 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 814 drivers/usb/host/ehci-dbg.c size -= temp; temp 815 drivers/usb/host/ehci-dbg.c next += temp; temp 819 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 821 drivers/usb/host/ehci-dbg.c size -= temp; temp 822 drivers/usb/host/ehci-dbg.c next += temp; temp 837 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, "structural params 0x%08x\n", i); temp 838 drivers/usb/host/ehci-dbg.c size -= temp; temp 839 drivers/usb/host/ehci-dbg.c next += temp; temp 842 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, "capability params 0x%08x\n", i); temp 843 drivers/usb/host/ehci-dbg.c size -= temp; temp 844 drivers/usb/host/ehci-dbg.c next += temp; temp 847 drivers/usb/host/ehci-dbg.c temp = dbg_status_buf(scratch, sizeof(scratch), label, temp 849 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, fmt, temp, scratch); temp 850 drivers/usb/host/ehci-dbg.c size -= temp; temp 851 drivers/usb/host/ehci-dbg.c next += temp; temp 853 drivers/usb/host/ehci-dbg.c temp = dbg_command_buf(scratch, sizeof(scratch), label, temp 855 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, fmt, temp, scratch); temp 856 drivers/usb/host/ehci-dbg.c size -= temp; temp 857 drivers/usb/host/ehci-dbg.c next += temp; temp 859 drivers/usb/host/ehci-dbg.c temp = dbg_intr_buf(scratch, sizeof(scratch), label, temp 861 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, fmt, temp, scratch); temp 862 drivers/usb/host/ehci-dbg.c size -= temp; temp 863 drivers/usb/host/ehci-dbg.c next += temp; temp 865 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, "uframe %04x\n", temp 867 drivers/usb/host/ehci-dbg.c size -= temp; temp 868 drivers/usb/host/ehci-dbg.c next += temp; temp 871 drivers/usb/host/ehci-dbg.c temp = dbg_port_buf(scratch, sizeof(scratch), label, i, temp 874 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, fmt, temp, scratch); temp 875 drivers/usb/host/ehci-dbg.c size -= temp; temp 876 drivers/usb/host/ehci-dbg.c next += temp; temp 878 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 882 drivers/usb/host/ehci-dbg.c size -= temp; temp 883 drivers/usb/host/ehci-dbg.c next += temp; temp 888 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, "async unlink qh %p\n", temp 891 drivers/usb/host/ehci-dbg.c size -= temp; temp 892 drivers/usb/host/ehci-dbg.c next += temp; temp 896 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, temp 900 drivers/usb/host/ehci-dbg.c size -= temp; temp 901 drivers/usb/host/ehci-dbg.c next += temp; temp 903 drivers/usb/host/ehci-dbg.c temp = scnprintf(next, size, "complete %ld unlink %ld\n", temp 905 drivers/usb/host/ehci-dbg.c size -= temp; temp 906 drivers/usb/host/ehci-dbg.c next += temp; temp 181 drivers/usb/host/ehci-hcd.c u32 temp; temp 198 drivers/usb/host/ehci-hcd.c temp = ehci_readl(ehci, &ehci->regs->command); temp 199 drivers/usb/host/ehci-hcd.c temp &= ~(CMD_RUN | CMD_IAAD); temp 200 drivers/usb/host/ehci-hcd.c ehci_writel(ehci, temp, &ehci->regs->command); temp 273 drivers/usb/host/ehci-hcd.c u32 temp; temp 279 drivers/usb/host/ehci-hcd.c temp = (ehci->command << 10) & (STS_ASS | STS_PSS); temp 280 drivers/usb/host/ehci-hcd.c ehci_handshake(ehci, &ehci->regs->status, STS_ASS | STS_PSS, temp, temp 455 drivers/usb/host/ehci-hcd.c u32 temp; temp 533 drivers/usb/host/ehci-hcd.c temp = 1 << (16 + log2_irq_thresh); temp 537 drivers/usb/host/ehci-hcd.c temp |= CMD_PPCEE; temp 549 drivers/usb/host/ehci-hcd.c temp |= CMD_PARK; temp 550 drivers/usb/host/ehci-hcd.c temp |= park << 8; temp 556 drivers/usb/host/ehci-hcd.c temp &= ~(3 << 2); temp 557 drivers/usb/host/ehci-hcd.c temp |= (EHCI_TUNE_FLS << 2); temp 559 drivers/usb/host/ehci-hcd.c ehci->command = temp; temp 574 drivers/usb/host/ehci-hcd.c u32 temp; temp 636 drivers/usb/host/ehci-hcd.c temp = HC_VERSION(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); temp 640 drivers/usb/host/ehci-hcd.c temp >> 8, temp & 0xff, temp 151 drivers/usb/host/ehci-hub.c u32 temp; temp 169 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, hostpc_reg); temp 170 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp & ~HOSTPC_PHCD, hostpc_reg); temp 201 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, hostpc_reg); temp 202 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp | HOSTPC_PHCD, hostpc_reg); temp 377 drivers/usb/host/ehci-hub.c u32 temp; temp 427 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, &ehci->regs->port_status[i]); temp 428 drivers/usb/host/ehci-hub.c if ((temp & PORT_PE) && temp 429 drivers/usb/host/ehci-hub.c !(temp & (PORT_SUSPEND | PORT_RESUME))) { temp 430 drivers/usb/host/ehci-hub.c ehci_dbg(ehci, "Port status(0x%x) is wrong\n", temp); temp 449 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, hostpc_reg); temp 450 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp & ~HOSTPC_PHCD, temp 464 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, &ehci->regs->port_status [i]); temp 465 drivers/usb/host/ehci-hub.c temp &= ~(PORT_RWC_BITS | PORT_WAKE_BITS); temp 467 drivers/usb/host/ehci-hub.c (temp & PORT_SUSPEND)) { temp 468 drivers/usb/host/ehci-hub.c temp |= PORT_RESUME; temp 471 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp, &ehci->regs->port_status [i]); temp 488 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, &ehci->regs->port_status [i]); temp 490 drivers/usb/host/ehci-hub.c temp &= ~(PORT_RWC_BITS | PORT_SUSPEND | PORT_RESUME); temp 491 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp, &ehci->regs->port_status [i]); temp 619 drivers/usb/host/ehci-hub.c u32 temp, status; temp 662 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, &ehci->regs->port_status[i]); temp 664 drivers/usb/host/ehci-hub.c temp = 0; temp 673 drivers/usb/host/ehci-hub.c if ((temp & mask) != 0 || test_bit(i, &ehci->port_c_suspend) temp 700 drivers/usb/host/ehci-hub.c u16 temp; temp 707 drivers/usb/host/ehci-hub.c temp = 1 + (ports / 8); temp 708 drivers/usb/host/ehci-hub.c desc->bDescLength = 7 + 2 * temp; temp 711 drivers/usb/host/ehci-hub.c memset(&desc->u.hs.DeviceRemovable[0], 0, temp); temp 712 drivers/usb/host/ehci-hub.c memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); temp 714 drivers/usb/host/ehci-hub.c temp = HUB_CHAR_INDV_PORT_OCPM; /* per-port overcurrent reporting */ temp 716 drivers/usb/host/ehci-hub.c temp |= HUB_CHAR_INDV_PORT_LPSM; /* per-port power control */ temp 718 drivers/usb/host/ehci-hub.c temp |= HUB_CHAR_NO_LPSM; /* no power switching */ temp 722 drivers/usb/host/ehci-hub.c temp |= HUB_CHAR_PORTIND; /* per-port indicators (LEDs) */ temp 724 drivers/usb/host/ehci-hub.c desc->wHubCharacteristics = cpu_to_le16(temp); temp 879 drivers/usb/host/ehci-hub.c u32 temp, temp1, status; temp 889 drivers/usb/host/ehci-hub.c temp = wIndex & 0xff; temp 890 drivers/usb/host/ehci-hub.c temp -= (temp > 0); temp 891 drivers/usb/host/ehci-hub.c status_reg = &ehci->regs->port_status[temp]; temp 892 drivers/usb/host/ehci-hub.c hostpc_reg = &ehci->regs->hostpc[temp]; temp 917 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, status_reg); temp 918 drivers/usb/host/ehci-hub.c temp &= ~PORT_RWC_BITS; temp 929 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp & ~PORT_PE, status_reg); temp 932 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp | PORT_PEC, status_reg); temp 935 drivers/usb/host/ehci-hub.c if (temp & PORT_RESET) temp 946 drivers/usb/host/ehci-hub.c if (!(temp & PORT_SUSPEND)) temp 948 drivers/usb/host/ehci-hub.c if ((temp & PORT_PE) == 0) temp 961 drivers/usb/host/ehci-hub.c temp &= ~PORT_WAKE_BITS; temp 962 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp | PORT_RESUME, status_reg); temp 979 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp | PORT_CSC, status_reg); temp 982 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp | PORT_OCC, status_reg); temp 1006 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, status_reg); temp 1009 drivers/usb/host/ehci-hub.c if (temp & PORT_CSC) temp 1011 drivers/usb/host/ehci-hub.c if (temp & PORT_PEC) temp 1014 drivers/usb/host/ehci-hub.c if ((temp & PORT_OCC) && !ignore_oc){ temp 1024 drivers/usb/host/ehci-hub.c if (((temp & PORT_OC) || (ehci->need_oc_pp_cycle)) temp 1029 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, status_reg); temp 1037 drivers/usb/host/ehci-hub.c if (temp & PORT_RESUME) { temp 1060 drivers/usb/host/ehci-hub.c temp &= ~(PORT_RWC_BITS | PORT_SUSPEND | PORT_RESUME); temp 1061 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp, status_reg); temp 1070 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, status_reg); temp 1078 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp & ~(PORT_RWC_BITS | PORT_RESET), temp 1092 drivers/usb/host/ehci-hub.c temp = check_reset_complete (ehci, wIndex, status_reg, temp 1097 drivers/usb/host/ehci-hub.c if ((temp & PORT_CONNECT) && temp 1099 drivers/usb/host/ehci-hub.c temp &= ~PORT_RWC_BITS; temp 1100 drivers/usb/host/ehci-hub.c temp |= PORT_OWNER; temp 1101 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp, status_reg); temp 1103 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, status_reg); temp 1112 drivers/usb/host/ehci-hub.c if (temp & PORT_CONNECT) { temp 1119 drivers/usb/host/ehci-hub.c status |= ehci_port_speed(ehci, temp); temp 1121 drivers/usb/host/ehci-hub.c if (temp & PORT_PE) temp 1125 drivers/usb/host/ehci-hub.c if (temp & (PORT_SUSPEND|PORT_RESUME)) { temp 1131 drivers/usb/host/ehci-hub.c if (temp & PORT_PE) temp 1136 drivers/usb/host/ehci-hub.c if (temp & PORT_OC) temp 1138 drivers/usb/host/ehci-hub.c if (temp & PORT_RESET) temp 1140 drivers/usb/host/ehci-hub.c if (temp & PORT_POWER) temp 1146 drivers/usb/host/ehci-hub.c dbg_port(ehci, "GetStatus", wIndex + 1, temp); temp 1174 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, status_reg); temp 1175 drivers/usb/host/ehci-hub.c if (temp & PORT_OWNER) temp 1178 drivers/usb/host/ehci-hub.c temp &= ~PORT_RWC_BITS; temp 1183 drivers/usb/host/ehci-hub.c if ((temp & PORT_PE) == 0 temp 1184 drivers/usb/host/ehci-hub.c || (temp & PORT_RESET) != 0) temp 1191 drivers/usb/host/ehci-hub.c temp &= ~PORT_WKCONN_E; temp 1192 drivers/usb/host/ehci-hub.c temp |= PORT_WKDISC_E | PORT_WKOC_E; temp 1193 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp | PORT_SUSPEND, status_reg); temp 1222 drivers/usb/host/ehci-hub.c if (temp & (PORT_SUSPEND|PORT_RESUME)) temp 1228 drivers/usb/host/ehci-hub.c if ((temp & (PORT_PE|PORT_CONNECT)) == PORT_CONNECT temp 1230 drivers/usb/host/ehci-hub.c && PORT_USB11 (temp)) { temp 1234 drivers/usb/host/ehci-hub.c temp |= PORT_OWNER; temp 1236 drivers/usb/host/ehci-hub.c temp |= PORT_RESET; temp 1237 drivers/usb/host/ehci-hub.c temp &= ~PORT_PE; temp 1251 drivers/usb/host/ehci-hub.c temp |= (1 << PORTSC_FSL_PFSC); temp 1253 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp, status_reg); temp 1283 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, sreg) & ~PORT_RWC_BITS; temp 1284 drivers/usb/host/ehci-hub.c if (temp & PORT_PE) temp 1285 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp | PORT_SUSPEND, temp 1293 drivers/usb/host/ehci-hub.c temp = ehci_readl(ehci, status_reg); temp 1294 drivers/usb/host/ehci-hub.c temp |= selector << 16; temp 1295 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp, status_reg); temp 1339 drivers/usb/host/ehci-hub.c u32 temp = ehci_readl(ehci, status_reg) & ~PORT_RWC_BITS; temp 1342 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp | PORT_POWER, status_reg); temp 1344 drivers/usb/host/ehci-hub.c ehci_writel(ehci, temp & ~PORT_POWER, status_reg); temp 91 drivers/usb/host/ehci-pci.c u32 temp; temp 222 drivers/usb/host/ehci-pci.c temp = pci_find_capability(pdev, PCI_CAP_ID_DBG); temp 223 drivers/usb/host/ehci-pci.c if (temp) { temp 224 drivers/usb/host/ehci-pci.c pci_read_config_dword(pdev, temp, &temp); temp 225 drivers/usb/host/ehci-pci.c temp >>= 16; temp 226 drivers/usb/host/ehci-pci.c if (((temp >> 13) & 7) == 1) { temp 230 drivers/usb/host/ehci-pci.c temp &= 0x1fff; temp 231 drivers/usb/host/ehci-pci.c ehci->debug = hcd->regs + temp; temp 232 drivers/usb/host/ehci-pci.c temp = ehci_readl(ehci, &ehci->debug->control); temp 235 drivers/usb/host/ehci-pci.c (temp & DBGP_ENABLED) ? " IN USE" : ""); temp 236 drivers/usb/host/ehci-pci.c if (!(temp & DBGP_ENABLED)) temp 269 drivers/usb/host/ehci-pci.c temp = HCS_N_CC(ehci->hcs_params) * HCS_N_PCC(ehci->hcs_params); temp 270 drivers/usb/host/ehci-pci.c temp &= 0x0f; temp 271 drivers/usb/host/ehci-pci.c if (temp && HCS_N_PORTS(ehci->hcs_params) > temp) { temp 281 drivers/usb/host/ehci-pci.c temp |= (ehci->hcs_params & ~0xf); temp 282 drivers/usb/host/ehci-pci.c ehci->hcs_params = temp; temp 560 drivers/usb/host/ehci-q.c struct list_head *entry, *temp; temp 562 drivers/usb/host/ehci-q.c list_for_each_safe (entry, temp, qtd_list) { temp 1497 drivers/usb/host/ehci-q.c int temp; temp 1506 drivers/usb/host/ehci-q.c temp = qh_completions(ehci, qh); temp 1507 drivers/usb/host/ehci-q.c if (unlikely(temp)) { temp 991 drivers/usb/host/ehci-sched.c int temp; temp 1000 drivers/usb/host/ehci-sched.c temp = qh_completions(ehci, qh); temp 1001 drivers/usb/host/ehci-sched.c if (unlikely(temp)) temp 110 drivers/usb/host/ehci-tegra.c u32 temp; temp 127 drivers/usb/host/ehci-tegra.c temp = ehci_readl(ehci, portsc_reg); temp 128 drivers/usb/host/ehci-tegra.c temp |= PORT_RESET; temp 129 drivers/usb/host/ehci-tegra.c ehci_writel(ehci, temp, portsc_reg); temp 131 drivers/usb/host/ehci-tegra.c temp &= ~PORT_RESET; temp 132 drivers/usb/host/ehci-tegra.c ehci_writel(ehci, temp, portsc_reg); temp 143 drivers/usb/host/ehci-tegra.c temp = ehci_readl(ehci, portsc_reg); temp 144 drivers/usb/host/ehci-tegra.c } while (!(temp & PORT_PE) && tries--); temp 145 drivers/usb/host/ehci-tegra.c if (temp & PORT_PE) temp 155 drivers/usb/host/ehci-tegra.c if (temp & PORT_CSC) temp 162 drivers/usb/host/ehci-tegra.c temp = ehci_readl(ehci, &ehci->regs->status); temp 163 drivers/usb/host/ehci-tegra.c ehci_writel(ehci, temp, &ehci->regs->status); temp 182 drivers/usb/host/ehci-tegra.c u32 temp; temp 191 drivers/usb/host/ehci-tegra.c temp = ehci_readl(ehci, status_reg); temp 192 drivers/usb/host/ehci-tegra.c if (tegra->port_resuming && !(temp & PORT_SUSPEND)) { temp 200 drivers/usb/host/ehci-tegra.c temp = ehci_readl(ehci, status_reg); temp 201 drivers/usb/host/ehci-tegra.c if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) != 0) { temp 206 drivers/usb/host/ehci-tegra.c temp &= ~(PORT_RWC_BITS | PORT_WKCONN_E); temp 207 drivers/usb/host/ehci-tegra.c temp |= PORT_WKDISC_E | PORT_WKOC_E; temp 208 drivers/usb/host/ehci-tegra.c ehci_writel(ehci, temp | PORT_SUSPEND, status_reg); temp 238 drivers/usb/host/ehci-tegra.c temp = ehci_readl(ehci, status_reg); temp 239 drivers/usb/host/ehci-tegra.c if ((temp & PORT_RESET) || !(temp & PORT_PE)) { temp 244 drivers/usb/host/ehci-tegra.c if (!(temp & PORT_SUSPEND)) temp 252 drivers/usb/host/ehci-tegra.c temp &= ~(PORT_RWC_BITS | PORT_WAKE_BITS); temp 254 drivers/usb/host/ehci-tegra.c ehci_writel(ehci, temp | PORT_RESUME, status_reg); temp 292 drivers/usb/host/ehci-tegra.c struct dma_aligned_buffer *temp; temp 298 drivers/usb/host/ehci-tegra.c temp = container_of(urb->transfer_buffer, temp 307 drivers/usb/host/ehci-tegra.c memcpy(temp->old_xfer_buffer, temp->data, length); temp 309 drivers/usb/host/ehci-tegra.c urb->transfer_buffer = temp->old_xfer_buffer; temp 310 drivers/usb/host/ehci-tegra.c kfree(temp->kmalloc_ptr); temp 317 drivers/usb/host/ehci-tegra.c struct dma_aligned_buffer *temp, *kmalloc_ptr; temp 334 drivers/usb/host/ehci-tegra.c temp = PTR_ALIGN(kmalloc_ptr + 1, TEGRA_USB_DMA_ALIGN) - 1; temp 335 drivers/usb/host/ehci-tegra.c temp->kmalloc_ptr = kmalloc_ptr; temp 336 drivers/usb/host/ehci-tegra.c temp->old_xfer_buffer = urb->transfer_buffer; temp 338 drivers/usb/host/ehci-tegra.c memcpy(temp->data, urb->transfer_buffer, temp 340 drivers/usb/host/ehci-tegra.c urb->transfer_buffer = temp->data; temp 359 drivers/usb/host/fotg210-hcd.c unsigned temp; temp 380 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, temp 390 drivers/usb/host/fotg210-hcd.c size -= temp; temp 391 drivers/usb/host/fotg210-hcd.c next += temp; temp 407 drivers/usb/host/fotg210-hcd.c temp = snprintf(next, size, temp 427 drivers/usb/host/fotg210-hcd.c if (size < temp) temp 428 drivers/usb/host/fotg210-hcd.c temp = size; temp 429 drivers/usb/host/fotg210-hcd.c size -= temp; temp 430 drivers/usb/host/fotg210-hcd.c next += temp; temp 431 drivers/usb/host/fotg210-hcd.c if (temp == size) temp 435 drivers/usb/host/fotg210-hcd.c temp = snprintf(next, size, "\n"); temp 436 drivers/usb/host/fotg210-hcd.c if (size < temp) temp 437 drivers/usb/host/fotg210-hcd.c temp = size; temp 439 drivers/usb/host/fotg210-hcd.c size -= temp; temp 440 drivers/usb/host/fotg210-hcd.c next += temp; temp 452 drivers/usb/host/fotg210-hcd.c unsigned temp, size; temp 472 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, "\nunlink =\n"); temp 473 drivers/usb/host/fotg210-hcd.c size -= temp; temp 474 drivers/usb/host/fotg210-hcd.c next += temp; temp 492 drivers/usb/host/fotg210-hcd.c unsigned temp = 0; temp 496 drivers/usb/host/fotg210-hcd.c temp++; temp 510 drivers/usb/host/fotg210-hcd.c qh->c_usecs, temp, (scratch >> 16) & 0x7ff); temp 520 drivers/usb/host/fotg210-hcd.c unsigned temp, size, seen_count; temp 536 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, "size = %d\n", fotg210->periodic_size); temp 537 drivers/usb/host/fotg210-hcd.c size -= temp; temp 538 drivers/usb/host/fotg210-hcd.c next += temp; temp 551 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, "%4d: ", i); temp 552 drivers/usb/host/fotg210-hcd.c size -= temp; temp 553 drivers/usb/host/fotg210-hcd.c next += temp; temp 561 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, " qh%d-%04x/%p", temp 568 drivers/usb/host/fotg210-hcd.c size -= temp; temp 569 drivers/usb/host/fotg210-hcd.c next += temp; temp 571 drivers/usb/host/fotg210-hcd.c for (temp = 0; temp < seen_count; temp++) { temp 572 drivers/usb/host/fotg210-hcd.c if (seen[temp].ptr != p.ptr) temp 575 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, temp 577 drivers/usb/host/fotg210-hcd.c size -= temp; temp 578 drivers/usb/host/fotg210-hcd.c next += temp; temp 583 drivers/usb/host/fotg210-hcd.c if (temp == seen_count) { temp 584 drivers/usb/host/fotg210-hcd.c temp = output_buf_tds_dir(next, temp 591 drivers/usb/host/fotg210-hcd.c temp = 0; temp 596 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, temp 603 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, temp 609 drivers/usb/host/fotg210-hcd.c size -= temp; temp 610 drivers/usb/host/fotg210-hcd.c next += temp; temp 613 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, "\n"); temp 614 drivers/usb/host/fotg210-hcd.c size -= temp; temp 615 drivers/usb/host/fotg210-hcd.c next += temp; temp 644 drivers/usb/host/fotg210-hcd.c unsigned temp, size, i; temp 670 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, temp 678 drivers/usb/host/fotg210-hcd.c size -= temp; temp 679 drivers/usb/host/fotg210-hcd.c next += temp; temp 683 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, "structural params 0x%08x\n", i); temp 684 drivers/usb/host/fotg210-hcd.c size -= temp; temp 685 drivers/usb/host/fotg210-hcd.c next += temp; temp 688 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, "capability params 0x%08x\n", i); temp 689 drivers/usb/host/fotg210-hcd.c size -= temp; temp 690 drivers/usb/host/fotg210-hcd.c next += temp; temp 693 drivers/usb/host/fotg210-hcd.c temp = dbg_status_buf(scratch, sizeof(scratch), label, temp 695 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, fmt, temp, scratch); temp 696 drivers/usb/host/fotg210-hcd.c size -= temp; temp 697 drivers/usb/host/fotg210-hcd.c next += temp; temp 699 drivers/usb/host/fotg210-hcd.c temp = dbg_command_buf(scratch, sizeof(scratch), label, temp 701 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, fmt, temp, scratch); temp 702 drivers/usb/host/fotg210-hcd.c size -= temp; temp 703 drivers/usb/host/fotg210-hcd.c next += temp; temp 705 drivers/usb/host/fotg210-hcd.c temp = dbg_intr_buf(scratch, sizeof(scratch), label, temp 707 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, fmt, temp, scratch); temp 708 drivers/usb/host/fotg210-hcd.c size -= temp; temp 709 drivers/usb/host/fotg210-hcd.c next += temp; temp 711 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, "uframe %04x\n", temp 713 drivers/usb/host/fotg210-hcd.c size -= temp; temp 714 drivers/usb/host/fotg210-hcd.c next += temp; temp 717 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, "async unlink qh %p\n", temp 719 drivers/usb/host/fotg210-hcd.c size -= temp; temp 720 drivers/usb/host/fotg210-hcd.c next += temp; temp 724 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, temp 728 drivers/usb/host/fotg210-hcd.c size -= temp; temp 729 drivers/usb/host/fotg210-hcd.c next += temp; temp 731 drivers/usb/host/fotg210-hcd.c temp = scnprintf(next, size, "complete %ld unlink %ld\n", temp 733 drivers/usb/host/fotg210-hcd.c size -= temp; temp 734 drivers/usb/host/fotg210-hcd.c next += temp; temp 905 drivers/usb/host/fotg210-hcd.c u32 temp; temp 917 drivers/usb/host/fotg210-hcd.c temp = fotg210_readl(fotg210, &fotg210->regs->command); temp 918 drivers/usb/host/fotg210-hcd.c temp &= ~(CMD_RUN | CMD_IAAD); temp 919 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp, &fotg210->regs->command); temp 966 drivers/usb/host/fotg210-hcd.c u32 temp; temp 972 drivers/usb/host/fotg210-hcd.c temp = (fotg210->command << 10) & (STS_ASS | STS_PSS); temp 973 drivers/usb/host/fotg210-hcd.c handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, temp, temp 1397 drivers/usb/host/fotg210-hcd.c u32 temp, status; temp 1418 drivers/usb/host/fotg210-hcd.c temp = fotg210_readl(fotg210, &fotg210->regs->port_status); temp 1427 drivers/usb/host/fotg210-hcd.c if ((temp & mask) != 0 || test_bit(0, &fotg210->port_c_suspend) || temp 1442 drivers/usb/host/fotg210-hcd.c u16 temp; temp 1449 drivers/usb/host/fotg210-hcd.c temp = 1 + (ports / 8); temp 1450 drivers/usb/host/fotg210-hcd.c desc->bDescLength = 7 + 2 * temp; temp 1453 drivers/usb/host/fotg210-hcd.c memset(&desc->u.hs.DeviceRemovable[0], 0, temp); temp 1454 drivers/usb/host/fotg210-hcd.c memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); temp 1456 drivers/usb/host/fotg210-hcd.c temp = HUB_CHAR_INDV_PORT_OCPM; /* per-port overcurrent reporting */ temp 1457 drivers/usb/host/fotg210-hcd.c temp |= HUB_CHAR_NO_LPSM; /* no power switching */ temp 1458 drivers/usb/host/fotg210-hcd.c desc->wHubCharacteristics = cpu_to_le16(temp); temp 1467 drivers/usb/host/fotg210-hcd.c u32 temp, temp1, status; temp 1495 drivers/usb/host/fotg210-hcd.c temp = fotg210_readl(fotg210, status_reg); temp 1496 drivers/usb/host/fotg210-hcd.c temp &= ~PORT_RWC_BITS; temp 1507 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp & ~PORT_PE, status_reg); temp 1510 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp | PORT_PEC, status_reg); temp 1513 drivers/usb/host/fotg210-hcd.c if (temp & PORT_RESET) temp 1515 drivers/usb/host/fotg210-hcd.c if (!(temp & PORT_SUSPEND)) temp 1517 drivers/usb/host/fotg210-hcd.c if ((temp & PORT_PE) == 0) temp 1521 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp | PORT_RESUME, status_reg); temp 1529 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp | PORT_CSC, status_reg); temp 1532 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp | OTGISR_OVC, temp 1557 drivers/usb/host/fotg210-hcd.c temp = fotg210_readl(fotg210, status_reg); temp 1560 drivers/usb/host/fotg210-hcd.c if (temp & PORT_CSC) temp 1562 drivers/usb/host/fotg210-hcd.c if (temp & PORT_PEC) temp 1570 drivers/usb/host/fotg210-hcd.c if (temp & PORT_RESUME) { temp 1590 drivers/usb/host/fotg210-hcd.c temp = fotg210_readl(fotg210, status_reg); temp 1591 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp & temp 1603 drivers/usb/host/fotg210-hcd.c temp &= ~(PORT_SUSPEND|PORT_RESUME|(3<<10)); temp 1608 drivers/usb/host/fotg210-hcd.c if ((temp & PORT_RESET) && time_after_eq(jiffies, temp 1616 drivers/usb/host/fotg210-hcd.c temp & ~(PORT_RWC_BITS | PORT_RESET), temp 1630 drivers/usb/host/fotg210-hcd.c temp = check_reset_complete(fotg210, wIndex, status_reg, temp 1638 drivers/usb/host/fotg210-hcd.c if (!(temp & (PORT_RESUME|PORT_RESET))) { temp 1644 drivers/usb/host/fotg210-hcd.c if ((temp & PORT_CONNECT) && temp 1646 drivers/usb/host/fotg210-hcd.c temp &= ~PORT_RWC_BITS; temp 1647 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp, status_reg); temp 1650 drivers/usb/host/fotg210-hcd.c temp = fotg210_readl(fotg210, status_reg); temp 1659 drivers/usb/host/fotg210-hcd.c if (temp & PORT_CONNECT) { temp 1661 drivers/usb/host/fotg210-hcd.c status |= fotg210_port_speed(fotg210, temp); temp 1663 drivers/usb/host/fotg210-hcd.c if (temp & PORT_PE) temp 1667 drivers/usb/host/fotg210-hcd.c if (temp & (PORT_SUSPEND|PORT_RESUME)) { temp 1673 drivers/usb/host/fotg210-hcd.c if (temp & PORT_PE) temp 1680 drivers/usb/host/fotg210-hcd.c if (temp & PORT_RESET) temp 1686 drivers/usb/host/fotg210-hcd.c dbg_port(fotg210, "GetStatus", wIndex + 1, temp); temp 1706 drivers/usb/host/fotg210-hcd.c temp = fotg210_readl(fotg210, status_reg); temp 1707 drivers/usb/host/fotg210-hcd.c temp &= ~PORT_RWC_BITS; temp 1710 drivers/usb/host/fotg210-hcd.c if ((temp & PORT_PE) == 0 temp 1711 drivers/usb/host/fotg210-hcd.c || (temp & PORT_RESET) != 0) temp 1718 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp | PORT_SUSPEND, temp 1723 drivers/usb/host/fotg210-hcd.c if (temp & PORT_RESUME) temp 1730 drivers/usb/host/fotg210-hcd.c temp |= PORT_RESET; temp 1731 drivers/usb/host/fotg210-hcd.c temp &= ~PORT_PE; temp 1739 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp, status_reg); temp 1756 drivers/usb/host/fotg210-hcd.c temp = fotg210_readl(fotg210, status_reg) & temp 1758 drivers/usb/host/fotg210-hcd.c if (temp & PORT_PE) temp 1759 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp | PORT_SUSPEND, temp 1766 drivers/usb/host/fotg210-hcd.c temp = fotg210_readl(fotg210, status_reg); temp 1767 drivers/usb/host/fotg210-hcd.c temp |= selector << 16; temp 1768 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, temp, status_reg); temp 2525 drivers/usb/host/fotg210-hcd.c struct fotg210_qtd *qtd, *temp; temp 2527 drivers/usb/host/fotg210-hcd.c list_for_each_entry_safe(qtd, temp, head, qtd_list) { temp 3229 drivers/usb/host/fotg210-hcd.c int temp; temp 3238 drivers/usb/host/fotg210-hcd.c temp = qh_completions(fotg210, qh); temp 3245 drivers/usb/host/fotg210-hcd.c } else if (temp != 0) temp 3887 drivers/usb/host/fotg210-hcd.c int temp; temp 3896 drivers/usb/host/fotg210-hcd.c temp = qh_completions(fotg210, qh); temp 3901 drivers/usb/host/fotg210-hcd.c else if (temp != 0) temp 4905 drivers/usb/host/fotg210-hcd.c u32 temp; temp 4979 drivers/usb/host/fotg210-hcd.c temp = 1 << (16 + log2_irq_thresh); temp 4990 drivers/usb/host/fotg210-hcd.c temp |= CMD_PARK; temp 4991 drivers/usb/host/fotg210-hcd.c temp |= park << 8; temp 4997 drivers/usb/host/fotg210-hcd.c temp &= ~(3 << 2); temp 4998 drivers/usb/host/fotg210-hcd.c temp |= (FOTG210_TUNE_FLS << 2); temp 5000 drivers/usb/host/fotg210-hcd.c fotg210->command = temp; temp 5012 drivers/usb/host/fotg210-hcd.c u32 temp; temp 5069 drivers/usb/host/fotg210-hcd.c temp = HC_VERSION(fotg210, temp 5074 drivers/usb/host/fotg210-hcd.c temp >> 8, temp & 0xff); temp 325 drivers/usb/host/isp116x-hcd.c struct isp116x_ep *temp; temp 328 drivers/usb/host/isp116x-hcd.c while (*prev && ((temp = *prev) != ep)) temp 329 drivers/usb/host/isp116x-hcd.c prev = &temp->next; temp 304 drivers/usb/host/ohci-da8xx.c int temp; temp 314 drivers/usb/host/ohci-da8xx.c temp = roothub_portstatus(hcd_to_ohci(hcd), wIndex - 1); temp 318 drivers/usb/host/ohci-da8xx.c temp &= ~RH_PS_PPS; temp 322 drivers/usb/host/ohci-da8xx.c temp |= RH_PS_POCI; temp 326 drivers/usb/host/ohci-da8xx.c temp |= RH_PS_OCIC; temp 328 drivers/usb/host/ohci-da8xx.c put_unaligned(cpu_to_le32(temp), (__le32 *)buf); temp 331 drivers/usb/host/ohci-da8xx.c temp = 1; temp 334 drivers/usb/host/ohci-da8xx.c temp = 0; temp 344 drivers/usb/host/ohci-da8xx.c temp ? "Set" : "Clear", wIndex, "POWER"); temp 346 drivers/usb/host/ohci-da8xx.c return ohci_da8xx_set_power(hcd, temp) ? -EPIPE : 0; temp 349 drivers/usb/host/ohci-da8xx.c temp ? "Set" : "Clear", wIndex, temp 352 drivers/usb/host/ohci-da8xx.c if (temp) temp 13 drivers/usb/host/ohci-dbg.c #define edstring(ed_type) ({ char *temp; \ temp 15 drivers/usb/host/ohci-dbg.c case PIPE_CONTROL: temp = "ctrl"; break; \ temp 16 drivers/usb/host/ohci-dbg.c case PIPE_BULK: temp = "bulk"; break; \ temp 17 drivers/usb/host/ohci-dbg.c case PIPE_INTERRUPT: temp = "intr"; break; \ temp 18 drivers/usb/host/ohci-dbg.c default: temp = "isoc"; break; \ temp 19 drivers/usb/host/ohci-dbg.c } temp;}) temp 104 drivers/usb/host/ohci-dbg.c u32 temp; temp 106 drivers/usb/host/ohci-dbg.c temp = ohci_readl (controller, ®s->revision) & 0xff; temp 109 drivers/usb/host/ohci-dbg.c 0x03 & (temp >> 4), (temp & 0x0f), temp 110 drivers/usb/host/ohci-dbg.c (temp & 0x0100) ? "with" : "NO", temp 113 drivers/usb/host/ohci-dbg.c temp = ohci_readl (controller, ®s->control); temp 116 drivers/usb/host/ohci-dbg.c temp, temp 117 drivers/usb/host/ohci-dbg.c (temp & OHCI_CTRL_RWE) ? " RWE" : "", temp 118 drivers/usb/host/ohci-dbg.c (temp & OHCI_CTRL_RWC) ? " RWC" : "", temp 119 drivers/usb/host/ohci-dbg.c (temp & OHCI_CTRL_IR) ? " IR" : "", temp 120 drivers/usb/host/ohci-dbg.c hcfs2string (temp & OHCI_CTRL_HCFS), temp 121 drivers/usb/host/ohci-dbg.c (temp & OHCI_CTRL_BLE) ? " BLE" : "", temp 122 drivers/usb/host/ohci-dbg.c (temp & OHCI_CTRL_CLE) ? " CLE" : "", temp 123 drivers/usb/host/ohci-dbg.c (temp & OHCI_CTRL_IE) ? " IE" : "", temp 124 drivers/usb/host/ohci-dbg.c (temp & OHCI_CTRL_PLE) ? " PLE" : "", temp 125 drivers/usb/host/ohci-dbg.c temp & OHCI_CTRL_CBSR temp 128 drivers/usb/host/ohci-dbg.c temp = ohci_readl (controller, ®s->cmdstatus); temp 130 drivers/usb/host/ohci-dbg.c "cmdstatus 0x%05x SOC=%d%s%s%s%s\n", temp, temp 131 drivers/usb/host/ohci-dbg.c (temp & OHCI_SOC) >> 16, temp 132 drivers/usb/host/ohci-dbg.c (temp & OHCI_OCR) ? " OCR" : "", temp 133 drivers/usb/host/ohci-dbg.c (temp & OHCI_BLF) ? " BLF" : "", temp 134 drivers/usb/host/ohci-dbg.c (temp & OHCI_CLF) ? " CLF" : "", temp 135 drivers/usb/host/ohci-dbg.c (temp & OHCI_HCR) ? " HCR" : "" temp 172 drivers/usb/host/ohci-dbg.c num, temp, \ temp 173 drivers/usb/host/ohci-dbg.c (temp & RH_PS_PRSC) ? " PRSC" : "", \ temp 174 drivers/usb/host/ohci-dbg.c (temp & RH_PS_OCIC) ? " OCIC" : "", \ temp 175 drivers/usb/host/ohci-dbg.c (temp & RH_PS_PSSC) ? " PSSC" : "", \ temp 176 drivers/usb/host/ohci-dbg.c (temp & RH_PS_PESC) ? " PESC" : "", \ temp 177 drivers/usb/host/ohci-dbg.c (temp & RH_PS_CSC) ? " CSC" : "", \ temp 179 drivers/usb/host/ohci-dbg.c (temp & RH_PS_LSDA) ? " LSDA" : "", \ temp 180 drivers/usb/host/ohci-dbg.c (temp & RH_PS_PPS) ? " PPS" : "", \ temp 181 drivers/usb/host/ohci-dbg.c (temp & RH_PS_PRS) ? " PRS" : "", \ temp 182 drivers/usb/host/ohci-dbg.c (temp & RH_PS_POCI) ? " POCI" : "", \ temp 183 drivers/usb/host/ohci-dbg.c (temp & RH_PS_PSS) ? " PSS" : "", \ temp 185 drivers/usb/host/ohci-dbg.c (temp & RH_PS_PES) ? " PES" : "", \ temp 186 drivers/usb/host/ohci-dbg.c (temp & RH_PS_CCS) ? " CCS" : "" \ temp 197 drivers/usb/host/ohci-dbg.c u32 temp, i; temp 199 drivers/usb/host/ohci-dbg.c temp = roothub_a (controller); temp 200 drivers/usb/host/ohci-dbg.c if (temp == ~(u32)0) temp 205 drivers/usb/host/ohci-dbg.c "roothub.a %08x POTPGT=%d%s%s%s%s%s NDP=%d(%d)\n", temp, temp 206 drivers/usb/host/ohci-dbg.c ((temp & RH_A_POTPGT) >> 24) & 0xff, temp 207 drivers/usb/host/ohci-dbg.c (temp & RH_A_NOCP) ? " NOCP" : "", temp 208 drivers/usb/host/ohci-dbg.c (temp & RH_A_OCPM) ? " OCPM" : "", temp 209 drivers/usb/host/ohci-dbg.c (temp & RH_A_DT) ? " DT" : "", temp 210 drivers/usb/host/ohci-dbg.c (temp & RH_A_NPS) ? " NPS" : "", temp 211 drivers/usb/host/ohci-dbg.c (temp & RH_A_PSM) ? " PSM" : "", temp 212 drivers/usb/host/ohci-dbg.c (temp & RH_A_NDP), controller->num_ports temp 214 drivers/usb/host/ohci-dbg.c temp = roothub_b (controller); temp 217 drivers/usb/host/ohci-dbg.c temp, temp 218 drivers/usb/host/ohci-dbg.c (temp & RH_B_PPCM) >> 16, temp 219 drivers/usb/host/ohci-dbg.c (temp & RH_B_DR) temp 221 drivers/usb/host/ohci-dbg.c temp = roothub_status (controller); temp 224 drivers/usb/host/ohci-dbg.c temp, temp 225 drivers/usb/host/ohci-dbg.c (temp & RH_HS_CRWE) ? " CRWE" : "", temp 226 drivers/usb/host/ohci-dbg.c (temp & RH_HS_OCIC) ? " OCIC" : "", temp 227 drivers/usb/host/ohci-dbg.c (temp & RH_HS_LPSC) ? " LPSC" : "", temp 228 drivers/usb/host/ohci-dbg.c (temp & RH_HS_DRWE) ? " DRWE" : "", temp 229 drivers/usb/host/ohci-dbg.c (temp & RH_HS_OCI) ? " OCI" : "", temp 230 drivers/usb/host/ohci-dbg.c (temp & RH_HS_LPS) ? " LPS" : "" temp 235 drivers/usb/host/ohci-dbg.c temp = roothub_portstatus (controller, i); temp 236 drivers/usb/host/ohci-dbg.c dbg_port_sw (controller, i, temp, next, size); temp 402 drivers/usb/host/ohci-dbg.c unsigned temp, size = count; temp 418 drivers/usb/host/ohci-dbg.c temp = scnprintf (buf, size, temp 430 drivers/usb/host/ohci-dbg.c size -= temp; temp 431 drivers/usb/host/ohci-dbg.c buf += temp; temp 440 drivers/usb/host/ohci-dbg.c temp = scnprintf (buf, size, temp 452 drivers/usb/host/ohci-dbg.c size -= temp; temp 453 drivers/usb/host/ohci-dbg.c buf += temp; temp 456 drivers/usb/host/ohci-dbg.c temp = scnprintf (buf, size, "\n"); temp 457 drivers/usb/host/ohci-dbg.c size -= temp; temp 458 drivers/usb/host/ohci-dbg.c buf += temp; temp 468 drivers/usb/host/ohci-dbg.c size_t temp, size; temp 476 drivers/usb/host/ohci-dbg.c temp = show_list(ohci, buf->page, size, ohci->ed_controltail); temp 477 drivers/usb/host/ohci-dbg.c temp += show_list(ohci, buf->page + temp, size - temp, temp 481 drivers/usb/host/ohci-dbg.c return temp; temp 491 drivers/usb/host/ohci-dbg.c unsigned temp, size, seen_count; temp 504 drivers/usb/host/ohci-dbg.c temp = scnprintf (next, size, "size = %d\n", NUM_INTS); temp 505 drivers/usb/host/ohci-dbg.c size -= temp; temp 506 drivers/usb/host/ohci-dbg.c next += temp; temp 515 drivers/usb/host/ohci-dbg.c temp = scnprintf (next, size, "%2d [%3d]:", i, ohci->load [i]); temp 516 drivers/usb/host/ohci-dbg.c size -= temp; temp 517 drivers/usb/host/ohci-dbg.c next += temp; temp 520 drivers/usb/host/ohci-dbg.c temp = scnprintf (next, size, " ed%d/%p", temp 522 drivers/usb/host/ohci-dbg.c size -= temp; temp 523 drivers/usb/host/ohci-dbg.c next += temp; temp 524 drivers/usb/host/ohci-dbg.c for (temp = 0; temp < seen_count; temp++) { temp 525 drivers/usb/host/ohci-dbg.c if (seen [temp] == ed) temp 530 drivers/usb/host/ohci-dbg.c if (temp == seen_count) { temp 539 drivers/usb/host/ohci-dbg.c temp = scnprintf (next, size, temp 554 drivers/usb/host/ohci-dbg.c size -= temp; temp 555 drivers/usb/host/ohci-dbg.c next += temp; temp 564 drivers/usb/host/ohci-dbg.c temp = 0; temp 570 drivers/usb/host/ohci-dbg.c temp = scnprintf (next, size, "\n"); temp 571 drivers/usb/host/ohci-dbg.c size -= temp; temp 572 drivers/usb/host/ohci-dbg.c next += temp; temp 587 drivers/usb/host/ohci-dbg.c unsigned temp, size; temp 625 drivers/usb/host/ohci-dbg.c temp = scnprintf (next, size, temp 629 drivers/usb/host/ohci-dbg.c size -= temp; temp 630 drivers/usb/host/ohci-dbg.c next += temp; temp 633 drivers/usb/host/ohci-dbg.c temp = scnprintf (next, size, "fmremaining 0x%08x %sFR=0x%04x\n", temp 636 drivers/usb/host/ohci-dbg.c size -= temp; temp 637 drivers/usb/host/ohci-dbg.c next += temp; temp 640 drivers/usb/host/ohci-dbg.c temp = scnprintf (next, size, "periodicstart 0x%04x\n", temp 642 drivers/usb/host/ohci-dbg.c size -= temp; temp 643 drivers/usb/host/ohci-dbg.c next += temp; temp 646 drivers/usb/host/ohci-dbg.c temp = scnprintf (next, size, "lsthresh 0x%04x\n", temp 648 drivers/usb/host/ohci-dbg.c size -= temp; temp 649 drivers/usb/host/ohci-dbg.c next += temp; temp 651 drivers/usb/host/ohci-dbg.c temp = scnprintf (next, size, "hub poll timer %s\n", temp 653 drivers/usb/host/ohci-dbg.c size -= temp; temp 654 drivers/usb/host/ohci-dbg.c next += temp; temp 477 drivers/usb/host/ohci-hcd.c u32 temp; temp 485 drivers/usb/host/ohci-hcd.c temp = 500; /* arbitrary: five seconds */ temp 491 drivers/usb/host/ohci-hcd.c if (--temp == 0) { temp 1030 drivers/usb/host/ohci-hcd.c int temp; temp 1081 drivers/usb/host/ohci-hcd.c if ((temp = ohci_run (ohci)) < 0) { temp 1082 drivers/usb/host/ohci-hcd.c ohci_err (ohci, "can't restart, %d\n", temp); temp 1083 drivers/usb/host/ohci-hcd.c return temp; temp 102 drivers/usb/host/ohci-hub.c unsigned temp; temp 105 drivers/usb/host/ohci-hub.c temp = ohci_readl(ohci, portstat); temp 106 drivers/usb/host/ohci-hub.c if ((temp & (RH_PS_PES | RH_PS_PSS)) == temp 154 drivers/usb/host/ohci-hub.c u32 temp, enables; temp 215 drivers/usb/host/ohci-hub.c temp = ohci_readl (ohci, &ohci->regs->control); temp 216 drivers/usb/host/ohci-hub.c temp &= OHCI_CTRL_HCFS; temp 217 drivers/usb/host/ohci-hub.c if (temp != OHCI_USB_RESUME) { temp 251 drivers/usb/host/ohci-hub.c temp = ohci->hc_control; temp 252 drivers/usb/host/ohci-hub.c temp &= OHCI_CTRL_RWC; temp 253 drivers/usb/host/ohci-hub.c temp |= OHCI_CONTROL_INIT | OHCI_USB_OPER; temp 254 drivers/usb/host/ohci-hub.c ohci->hc_control = temp; temp 255 drivers/usb/host/ohci-hub.c ohci_writel (ohci, temp, &ohci->regs->control); temp 270 drivers/usb/host/ohci-hub.c temp = 0; temp 277 drivers/usb/host/ohci-hub.c temp |= OHCI_CLF; temp 283 drivers/usb/host/ohci-hub.c temp |= OHCI_BLF; temp 292 drivers/usb/host/ohci-hub.c if (temp) temp 293 drivers/usb/host/ohci-hub.c ohci_writel (ohci, temp, &ohci->regs->cmdstatus); temp 540 drivers/usb/host/ohci-hub.c u16 temp; temp 547 drivers/usb/host/ohci-hub.c temp = 1 + (ohci->num_ports / 8); temp 548 drivers/usb/host/ohci-hub.c desc->bDescLength = 7 + 2 * temp; temp 550 drivers/usb/host/ohci-hub.c temp = HUB_CHAR_COMMON_LPSM | HUB_CHAR_COMMON_OCPM; temp 552 drivers/usb/host/ohci-hub.c temp |= HUB_CHAR_NO_LPSM; temp 554 drivers/usb/host/ohci-hub.c temp |= HUB_CHAR_INDV_PORT_LPSM; temp 556 drivers/usb/host/ohci-hub.c temp |= HUB_CHAR_NO_OCPM; temp 558 drivers/usb/host/ohci-hub.c temp |= HUB_CHAR_INDV_PORT_OCPM; temp 559 drivers/usb/host/ohci-hub.c desc->wHubCharacteristics = cpu_to_le16(temp); temp 620 drivers/usb/host/ohci-hub.c u32 temp = 0; temp 635 drivers/usb/host/ohci-hub.c temp = ohci_readl (ohci, portstat); temp 637 drivers/usb/host/ohci-hub.c if (temp == ~(u32)0) temp 639 drivers/usb/host/ohci-hub.c if (!(temp & RH_PS_PRS)) temp 651 drivers/usb/host/ohci-hub.c port, temp); temp 655 drivers/usb/host/ohci-hub.c if (!(temp & RH_PS_CCS)) temp 657 drivers/usb/host/ohci-hub.c if (temp & RH_PS_PRSC) temp 683 drivers/usb/host/ohci-hub.c u32 temp; temp 708 drivers/usb/host/ohci-hub.c temp = RH_PS_CCS; temp 711 drivers/usb/host/ohci-hub.c temp = RH_PS_PESC; temp 714 drivers/usb/host/ohci-hub.c temp = RH_PS_POCI; temp 717 drivers/usb/host/ohci-hub.c temp = RH_PS_PSSC; temp 720 drivers/usb/host/ohci-hub.c temp = RH_PS_LSDA; temp 723 drivers/usb/host/ohci-hub.c temp = RH_PS_CSC; temp 726 drivers/usb/host/ohci-hub.c temp = RH_PS_OCIC; temp 729 drivers/usb/host/ohci-hub.c temp = RH_PS_PRSC; temp 734 drivers/usb/host/ohci-hub.c ohci_writel (ohci, temp, temp 742 drivers/usb/host/ohci-hub.c temp = roothub_status (ohci) & ~(RH_HS_CRWE | RH_HS_DRWE); temp 743 drivers/usb/host/ohci-hub.c put_unaligned_le32(temp, buf); temp 749 drivers/usb/host/ohci-hub.c temp = roothub_portstatus (ohci, wIndex); temp 750 drivers/usb/host/ohci-hub.c put_unaligned_le32(temp, buf); temp 753 drivers/usb/host/ohci-hub.c dbg_port(ohci, "GetStatus", wIndex, temp); temp 275 drivers/usb/host/ohci-q.c struct ed *temp; temp 279 drivers/usb/host/ohci-q.c while (*prev && (temp = *prev) != ed) { temp 280 drivers/usb/host/ohci-q.c prev_p = &temp->hwNextED; temp 281 drivers/usb/host/ohci-q.c prev = &temp->ed_next; temp 710 drivers/usb/host/ohci.h u32 temp = ohci_readl (hc, &hc->regs->roothub.register); \ temp 711 drivers/usb/host/ohci.h if (temp == -1) \ temp 714 drivers/usb/host/ohci.h while (temp & mask) \ temp 715 drivers/usb/host/ohci.h temp = ohci_readl (hc, &hc->regs->roothub.register); \ temp 716 drivers/usb/host/ohci.h temp; }) temp 768 drivers/usb/host/oxu210hp-hcd.c u32 temp = readl(&oxu->regs->status); temp 773 drivers/usb/host/oxu210hp-hcd.c if ((temp & STS_HALT) != 0) temp 776 drivers/usb/host/oxu210hp-hcd.c temp = readl(&oxu->regs->command); temp 777 drivers/usb/host/oxu210hp-hcd.c temp &= ~CMD_RUN; temp 778 drivers/usb/host/oxu210hp-hcd.c writel(temp, &oxu->regs->command); temp 820 drivers/usb/host/oxu210hp-hcd.c u32 temp; temp 827 drivers/usb/host/oxu210hp-hcd.c temp = readl(&oxu->regs->command) << 10; temp 828 drivers/usb/host/oxu210hp-hcd.c temp &= STS_ASS | STS_PSS; temp 830 drivers/usb/host/oxu210hp-hcd.c temp, 16 * 125) != 0) { temp 836 drivers/usb/host/oxu210hp-hcd.c temp = readl(&oxu->regs->command); temp 837 drivers/usb/host/oxu210hp-hcd.c temp &= ~(CMD_ASE | CMD_IAAD | CMD_PSE); temp 838 drivers/usb/host/oxu210hp-hcd.c writel(temp, &oxu->regs->command); temp 871 drivers/usb/host/oxu210hp-hcd.c u16 temp; temp 878 drivers/usb/host/oxu210hp-hcd.c temp = 1 + (ports / 8); temp 879 drivers/usb/host/oxu210hp-hcd.c desc->bDescLength = 7 + 2 * temp; temp 882 drivers/usb/host/oxu210hp-hcd.c memset(&desc->u.hs.DeviceRemovable[0], 0, temp); temp 883 drivers/usb/host/oxu210hp-hcd.c memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); temp 885 drivers/usb/host/oxu210hp-hcd.c temp = HUB_CHAR_INDV_PORT_OCPM; /* per-port overcurrent reporting */ temp 887 drivers/usb/host/oxu210hp-hcd.c temp |= HUB_CHAR_INDV_PORT_LPSM; /* per-port power control */ temp 889 drivers/usb/host/oxu210hp-hcd.c temp |= HUB_CHAR_NO_LPSM; /* no power switching */ temp 890 drivers/usb/host/oxu210hp-hcd.c desc->wHubCharacteristics = (__force __u16)cpu_to_le16(temp); temp 1603 drivers/usb/host/oxu210hp-hcd.c struct ehci_qtd *qtd, *temp; temp 1605 drivers/usb/host/oxu210hp-hcd.c list_for_each_entry_safe(qtd, temp, head, qtd_list) { temp 2191 drivers/usb/host/oxu210hp-hcd.c int temp; temp 2200 drivers/usb/host/oxu210hp-hcd.c temp = qh_completions(oxu, qh); temp 2202 drivers/usb/host/oxu210hp-hcd.c if (temp != 0) temp 2712 drivers/usb/host/oxu210hp-hcd.c union ehci_shadow temp; temp 2717 drivers/usb/host/oxu210hp-hcd.c temp.qh = qh_get(q.qh); temp 2720 drivers/usb/host/oxu210hp-hcd.c modified = qh_completions(oxu, temp.qh); temp 2721 drivers/usb/host/oxu210hp-hcd.c if (unlikely(list_empty(&temp.qh->qtd_list))) temp 2722 drivers/usb/host/oxu210hp-hcd.c intr_deschedule(oxu, temp.qh); temp 2723 drivers/usb/host/oxu210hp-hcd.c qh_put(temp.qh); temp 3009 drivers/usb/host/oxu210hp-hcd.c u32 temp; temp 3055 drivers/usb/host/oxu210hp-hcd.c temp = 1 << (16 + log2_irq_thresh); temp 3066 drivers/usb/host/oxu210hp-hcd.c temp |= CMD_PARK; temp 3067 drivers/usb/host/oxu210hp-hcd.c temp |= park << 8; temp 3073 drivers/usb/host/oxu210hp-hcd.c temp &= ~(3 << 2); temp 3074 drivers/usb/host/oxu210hp-hcd.c temp |= (EHCI_TUNE_FLS << 2); temp 3076 drivers/usb/host/oxu210hp-hcd.c oxu->command = temp; temp 3115 drivers/usb/host/oxu210hp-hcd.c u32 temp, hcc_params; temp 3159 drivers/usb/host/oxu210hp-hcd.c temp = HC_VERSION(readl(&oxu->caps->hc_capbase)); temp 3162 drivers/usb/host/oxu210hp-hcd.c temp >> 8, temp & 0xff, DRIVER_VERSION, temp 3488 drivers/usb/host/oxu210hp-hcd.c u32 temp, mask, status = 0; temp 3520 drivers/usb/host/oxu210hp-hcd.c temp = readl(&oxu->regs->port_status[i]); temp 3529 drivers/usb/host/oxu210hp-hcd.c if (!(temp & PORT_CONNECT)) temp 3531 drivers/usb/host/oxu210hp-hcd.c if ((temp & mask) != 0 || ((temp & PORT_RESUME) != 0 && temp 3567 drivers/usb/host/oxu210hp-hcd.c u32 temp, status; temp 3595 drivers/usb/host/oxu210hp-hcd.c temp = readl(status_reg); temp 3606 drivers/usb/host/oxu210hp-hcd.c writel(temp & ~PORT_PE, status_reg); temp 3609 drivers/usb/host/oxu210hp-hcd.c writel((temp & ~PORT_RWC_BITS) | PORT_PEC, status_reg); temp 3612 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_RESET) temp 3614 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_SUSPEND) { temp 3615 drivers/usb/host/oxu210hp-hcd.c if ((temp & PORT_PE) == 0) temp 3618 drivers/usb/host/oxu210hp-hcd.c temp &= ~(PORT_RWC_BITS | PORT_WAKE_BITS); temp 3619 drivers/usb/host/oxu210hp-hcd.c writel(temp | PORT_RESUME, status_reg); temp 3629 drivers/usb/host/oxu210hp-hcd.c writel(temp & ~(PORT_RWC_BITS | PORT_POWER), temp 3633 drivers/usb/host/oxu210hp-hcd.c writel((temp & ~PORT_RWC_BITS) | PORT_CSC, status_reg); temp 3636 drivers/usb/host/oxu210hp-hcd.c writel((temp & ~PORT_RWC_BITS) | PORT_OCC, status_reg); temp 3659 drivers/usb/host/oxu210hp-hcd.c temp = readl(status_reg); temp 3662 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_CSC) temp 3664 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_PEC) temp 3666 drivers/usb/host/oxu210hp-hcd.c if ((temp & PORT_OCC) && !ignore_oc) temp 3670 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_RESUME) { temp 3689 drivers/usb/host/oxu210hp-hcd.c temp = readl(status_reg); temp 3690 drivers/usb/host/oxu210hp-hcd.c writel(temp & ~(PORT_RWC_BITS | PORT_RESUME), temp 3700 drivers/usb/host/oxu210hp-hcd.c temp &= ~(PORT_SUSPEND|PORT_RESUME|(3<<10)); temp 3705 drivers/usb/host/oxu210hp-hcd.c if ((temp & PORT_RESET) temp 3712 drivers/usb/host/oxu210hp-hcd.c writel(temp & ~(PORT_RWC_BITS | PORT_RESET), temp 3726 drivers/usb/host/oxu210hp-hcd.c temp = check_reset_complete(oxu, wIndex, status_reg, temp 3731 drivers/usb/host/oxu210hp-hcd.c if ((temp & PORT_CONNECT) && temp 3733 drivers/usb/host/oxu210hp-hcd.c temp &= ~PORT_RWC_BITS; temp 3734 drivers/usb/host/oxu210hp-hcd.c temp |= PORT_OWNER; temp 3735 drivers/usb/host/oxu210hp-hcd.c writel(temp, status_reg); temp 3737 drivers/usb/host/oxu210hp-hcd.c temp = readl(status_reg); temp 3746 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_CONNECT) { temp 3749 drivers/usb/host/oxu210hp-hcd.c status |= oxu_port_speed(oxu, temp); temp 3751 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_PE) temp 3753 drivers/usb/host/oxu210hp-hcd.c if (temp & (PORT_SUSPEND|PORT_RESUME)) temp 3755 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_OC) temp 3757 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_RESET) temp 3759 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_POWER) temp 3765 drivers/usb/host/oxu210hp-hcd.c dbg_port(oxu, "GetStatus", wIndex + 1, temp); temp 3784 drivers/usb/host/oxu210hp-hcd.c temp = readl(status_reg); temp 3785 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_OWNER) temp 3788 drivers/usb/host/oxu210hp-hcd.c temp &= ~PORT_RWC_BITS; temp 3791 drivers/usb/host/oxu210hp-hcd.c if ((temp & PORT_PE) == 0 temp 3792 drivers/usb/host/oxu210hp-hcd.c || (temp & PORT_RESET) != 0) temp 3795 drivers/usb/host/oxu210hp-hcd.c temp |= PORT_WAKE_BITS; temp 3796 drivers/usb/host/oxu210hp-hcd.c writel(temp | PORT_SUSPEND, status_reg); temp 3800 drivers/usb/host/oxu210hp-hcd.c writel(temp | PORT_POWER, status_reg); temp 3803 drivers/usb/host/oxu210hp-hcd.c if (temp & PORT_RESUME) temp 3810 drivers/usb/host/oxu210hp-hcd.c temp |= PORT_RESET; temp 3811 drivers/usb/host/oxu210hp-hcd.c temp &= ~PORT_PE; temp 3819 drivers/usb/host/oxu210hp-hcd.c writel(temp, status_reg); temp 3833 drivers/usb/host/oxu210hp-hcd.c temp |= selector << 16; temp 3834 drivers/usb/host/oxu210hp-hcd.c writel(temp, status_reg); temp 3930 drivers/usb/host/oxu210hp-hcd.c u32 temp; temp 3943 drivers/usb/host/oxu210hp-hcd.c temp = readl(&oxu->regs->intr_enable); temp 3944 drivers/usb/host/oxu210hp-hcd.c oxu_dbg(oxu, "resume root hub%s\n", temp ? "" : " after power loss"); temp 3966 drivers/usb/host/oxu210hp-hcd.c temp = readl(&oxu->regs->port_status[i]); temp 3967 drivers/usb/host/oxu210hp-hcd.c temp &= ~(PORT_RWC_BITS temp 3969 drivers/usb/host/oxu210hp-hcd.c if (test_bit(i, &oxu->bus_suspended) && (temp & PORT_SUSPEND)) { temp 3971 drivers/usb/host/oxu210hp-hcd.c temp |= PORT_RESUME; temp 3973 drivers/usb/host/oxu210hp-hcd.c writel(temp, &oxu->regs->port_status[i]); temp 3978 drivers/usb/host/oxu210hp-hcd.c temp = readl(&oxu->regs->port_status[i]); temp 3979 drivers/usb/host/oxu210hp-hcd.c if (test_bit(i, &oxu->bus_suspended) && (temp & PORT_SUSPEND)) { temp 3980 drivers/usb/host/oxu210hp-hcd.c temp &= ~(PORT_RWC_BITS | PORT_RESUME); temp 3981 drivers/usb/host/oxu210hp-hcd.c writel(temp, &oxu->regs->port_status[i]); temp 3988 drivers/usb/host/oxu210hp-hcd.c temp = 0; temp 3990 drivers/usb/host/oxu210hp-hcd.c temp |= CMD_ASE; temp 3992 drivers/usb/host/oxu210hp-hcd.c temp |= CMD_PSE; temp 3993 drivers/usb/host/oxu210hp-hcd.c if (temp) { temp 3994 drivers/usb/host/oxu210hp-hcd.c oxu->command |= temp; temp 453 drivers/usb/host/sl811-hcd.c struct sl811h_ep *temp; temp 456 drivers/usb/host/sl811-hcd.c while (*prev && ((temp = *prev) != ep)) temp 457 drivers/usb/host/sl811-hcd.c prev = &temp->next; temp 1093 drivers/usb/host/sl811-hcd.c u16 temp = 0; temp 1107 drivers/usb/host/sl811-hcd.c temp = HUB_CHAR_INDV_PORT_LPSM; temp 1109 drivers/usb/host/sl811-hcd.c temp = HUB_CHAR_NO_LPSM; temp 1112 drivers/usb/host/sl811-hcd.c temp |= HUB_CHAR_NO_OCPM; temp 1114 drivers/usb/host/sl811-hcd.c desc->wHubCharacteristics = cpu_to_le16(temp); temp 1604 drivers/usb/host/u132-hcd.c u32 temp; temp 1605 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, fminterval, &temp); temp 1608 drivers/usb/host/u132-hcd.c u132->hc_fminterval = temp & 0x3fff; temp 1644 drivers/usb/host/u132-hcd.c int temp; /* power down each port */ temp 1645 drivers/usb/host/u132-hcd.c for (temp = 0; temp < u132->num_ports; temp++) { temp 1647 drivers/usb/host/u132-hcd.c roothub.portstatus[temp], RH_PS_LSDA); temp 2567 drivers/usb/host/u132-hcd.c u16 temp; temp 2577 drivers/usb/host/u132-hcd.c temp = 1 + (u132->num_ports / 8); temp 2578 drivers/usb/host/u132-hcd.c desc->bDescLength = 7 + 2 * temp; temp 2579 drivers/usb/host/u132-hcd.c temp = HUB_CHAR_COMMON_LPSM | HUB_CHAR_COMMON_OCPM; temp 2581 drivers/usb/host/u132-hcd.c temp |= HUB_CHAR_NO_LPSM; temp 2583 drivers/usb/host/u132-hcd.c temp |= HUB_CHAR_INDV_PORT_LPSM; temp 2585 drivers/usb/host/u132-hcd.c temp |= HUB_CHAR_NO_OCPM; temp 2587 drivers/usb/host/u132-hcd.c temp |= HUB_CHAR_INDV_PORT_OCPM; temp 2588 drivers/usb/host/u132-hcd.c desc->wHubCharacteristics = cpu_to_le16(temp); temp 2715 drivers/usb/host/u132-hcd.c u32 temp; temp 2720 drivers/usb/host/u132-hcd.c temp = RH_PS_CCS; temp 2723 drivers/usb/host/u132-hcd.c temp = RH_PS_PESC; temp 2726 drivers/usb/host/u132-hcd.c temp = RH_PS_POCI; temp 2734 drivers/usb/host/u132-hcd.c temp = RH_PS_PSSC; temp 2737 drivers/usb/host/u132-hcd.c temp = RH_PS_LSDA; temp 2740 drivers/usb/host/u132-hcd.c temp = RH_PS_CSC; temp 2743 drivers/usb/host/u132-hcd.c temp = RH_PS_OCIC; temp 2746 drivers/usb/host/u132-hcd.c temp = RH_PS_PRSC; temp 2752 drivers/usb/host/u132-hcd.c temp); temp 3217 drivers/usb/host/u132-hcd.c struct u132 *temp; temp 3221 drivers/usb/host/u132-hcd.c list_for_each_entry_safe(u132, temp, &u132_static_list, u132_list) { temp 60 drivers/usb/host/xhci-hub.c u32 temp; temp 99 drivers/usb/host/xhci-hub.c temp = readl(&xhci->cap_regs->hcc_params); temp 100 drivers/usb/host/xhci-hub.c if (HCC_LTC(temp)) temp 105 drivers/usb/host/xhci-hub.c temp = readl(&xhci->cap_regs->hcs_params3); temp 106 drivers/usb/host/xhci-hub.c buf[12] = HCS_U1_LATENCY(temp); temp 107 drivers/usb/host/xhci-hub.c put_unaligned_le16(HCS_U2_LATENCY(temp), &buf[13]); temp 172 drivers/usb/host/xhci-hub.c u16 temp; temp 178 drivers/usb/host/xhci-hub.c temp = 0; temp 181 drivers/usb/host/xhci-hub.c temp |= HUB_CHAR_INDV_PORT_LPSM; temp 183 drivers/usb/host/xhci-hub.c temp |= HUB_CHAR_NO_LPSM; temp 186 drivers/usb/host/xhci-hub.c temp |= HUB_CHAR_INDV_PORT_OCPM; temp 189 drivers/usb/host/xhci-hub.c desc->wHubCharacteristics = cpu_to_le16(temp); temp 197 drivers/usb/host/xhci-hub.c u16 temp; temp 207 drivers/usb/host/xhci-hub.c temp = 1 + (ports / 8); temp 208 drivers/usb/host/xhci-hub.c desc->bDescLength = USB_DT_HUB_NONVAR_SIZE + 2 * temp; temp 573 drivers/usb/host/xhci-hub.c u32 temp; temp 577 drivers/usb/host/xhci-hub.c temp = readl(port->addr); temp 580 drivers/usb/host/xhci-hub.c hcd->self.busnum, index + 1, on ? "ON" : "OFF", temp); temp 582 drivers/usb/host/xhci-hub.c temp = xhci_port_state_to_neutral(temp); temp 586 drivers/usb/host/xhci-hub.c writel(temp | PORT_POWER, port->addr); temp 590 drivers/usb/host/xhci-hub.c writel(temp & ~PORT_POWER, port->addr); temp 594 drivers/usb/host/xhci-hub.c temp = usb_acpi_power_manageable(hcd->self.root_hub, temp 596 drivers/usb/host/xhci-hub.c if (temp) temp 605 drivers/usb/host/xhci-hub.c u32 temp; temp 610 drivers/usb/host/xhci-hub.c temp = readl(port->addr + PORTPMSC); temp 611 drivers/usb/host/xhci-hub.c temp |= test_mode << PORT_TEST_MODE_SHIFT; temp 612 drivers/usb/host/xhci-hub.c writel(temp, port->addr + PORTPMSC); temp 681 drivers/usb/host/xhci-hub.c u32 temp; temp 685 drivers/usb/host/xhci-hub.c temp = xhci_port_state_to_neutral(portsc); temp 686 drivers/usb/host/xhci-hub.c temp &= ~PORT_PLS_MASK; temp 687 drivers/usb/host/xhci-hub.c temp |= PORT_LINK_STROBE | link_state; temp 688 drivers/usb/host/xhci-hub.c writel(temp, port->addr); temp 692 drivers/usb/host/xhci-hub.c portsc, temp); temp 698 drivers/usb/host/xhci-hub.c u32 temp; temp 700 drivers/usb/host/xhci-hub.c temp = readl(port->addr); temp 701 drivers/usb/host/xhci-hub.c temp = xhci_port_state_to_neutral(temp); temp 704 drivers/usb/host/xhci-hub.c temp |= PORT_WKCONN_E; temp 706 drivers/usb/host/xhci-hub.c temp &= ~PORT_WKCONN_E; temp 709 drivers/usb/host/xhci-hub.c temp |= PORT_WKDISC_E; temp 711 drivers/usb/host/xhci-hub.c temp &= ~PORT_WKDISC_E; temp 714 drivers/usb/host/xhci-hub.c temp |= PORT_WKOC_E; temp 716 drivers/usb/host/xhci-hub.c temp &= ~PORT_WKOC_E; temp 718 drivers/usb/host/xhci-hub.c writel(temp, port->addr); temp 725 drivers/usb/host/xhci-hub.c u32 temp; temp 727 drivers/usb/host/xhci-hub.c temp = readl(port->addr); temp 728 drivers/usb/host/xhci-hub.c if (temp & port_bit) { temp 729 drivers/usb/host/xhci-hub.c temp = xhci_port_state_to_neutral(temp); temp 730 drivers/usb/host/xhci-hub.c temp |= port_bit; temp 731 drivers/usb/host/xhci-hub.c writel(temp, port->addr); temp 1093 drivers/usb/host/xhci-hub.c u32 temp, status; temp 1144 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1145 drivers/usb/host/xhci-hub.c if (temp == ~(u32)0) { temp 1150 drivers/usb/host/xhci-hub.c trace_xhci_get_port_status(wIndex, temp); temp 1151 drivers/usb/host/xhci-hub.c status = xhci_get_port_status(hcd, bus_state, wIndex, temp, temp 1157 drivers/usb/host/xhci-hub.c hcd->self.busnum, wIndex + 1, temp, status); temp 1170 drivers/usb/host/xhci-hub.c status = xhci_get_ext_port_status(temp, port_li); temp 1187 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1188 drivers/usb/host/xhci-hub.c if (temp == ~(u32)0) { temp 1193 drivers/usb/host/xhci-hub.c temp = xhci_port_state_to_neutral(temp); temp 1197 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1198 drivers/usb/host/xhci-hub.c if ((temp & PORT_PLS_MASK) != XDEV_U0) { temp 1210 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1211 drivers/usb/host/xhci-hub.c if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) temp 1212 drivers/usb/host/xhci-hub.c || (temp & PORT_PLS_MASK) >= XDEV_U3) { temp 1235 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1239 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1243 drivers/usb/host/xhci-hub.c temp = xhci_port_state_to_neutral(temp); temp 1248 drivers/usb/host/xhci-hub.c temp |= PORT_CSC | PORT_PEC | PORT_WRC | temp 1251 drivers/usb/host/xhci-hub.c writel(temp | PORT_PE, ports[wIndex]->addr); temp 1252 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1261 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1285 drivers/usb/host/xhci-hub.c if ((temp & PORT_CONNECT)) { temp 1295 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1299 drivers/usb/host/xhci-hub.c if (!(temp & PORT_PE)) { temp 1318 drivers/usb/host/xhci-hub.c u32 pls = temp & PORT_PLS_MASK; temp 1344 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1364 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1365 drivers/usb/host/xhci-hub.c if ((temp & PORT_PLS_MASK) == XDEV_U3) temp 1369 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1383 drivers/usb/host/xhci-hub.c temp = (temp | PORT_RESET); temp 1384 drivers/usb/host/xhci-hub.c writel(temp, ports[wIndex]->addr); temp 1386 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1387 drivers/usb/host/xhci-hub.c xhci_dbg(xhci, "set port reset, actual port %d status = 0x%x\n", wIndex, temp); temp 1392 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1395 drivers/usb/host/xhci-hub.c wIndex, temp); temp 1398 drivers/usb/host/xhci-hub.c temp |= PORT_WR; temp 1399 drivers/usb/host/xhci-hub.c writel(temp, ports[wIndex]->addr); temp 1400 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1405 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr + PORTPMSC); temp 1406 drivers/usb/host/xhci-hub.c temp &= ~PORT_U1_TIMEOUT_MASK; temp 1407 drivers/usb/host/xhci-hub.c temp |= PORT_U1_TIMEOUT(timeout); temp 1408 drivers/usb/host/xhci-hub.c writel(temp, ports[wIndex]->addr + PORTPMSC); temp 1413 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr + PORTPMSC); temp 1414 drivers/usb/host/xhci-hub.c temp &= ~PORT_U2_TIMEOUT_MASK; temp 1415 drivers/usb/host/xhci-hub.c temp |= PORT_U2_TIMEOUT(timeout); temp 1416 drivers/usb/host/xhci-hub.c writel(temp, ports[wIndex]->addr + PORTPMSC); temp 1431 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1437 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1438 drivers/usb/host/xhci-hub.c if (temp == ~(u32)0) { temp 1444 drivers/usb/host/xhci-hub.c temp = xhci_port_state_to_neutral(temp); temp 1447 drivers/usb/host/xhci-hub.c temp = readl(ports[wIndex]->addr); temp 1449 drivers/usb/host/xhci-hub.c xhci_dbg(xhci, "PORTSC %04x\n", temp); temp 1450 drivers/usb/host/xhci-hub.c if (temp & PORT_RESET) temp 1452 drivers/usb/host/xhci-hub.c if ((temp & PORT_PLS_MASK) == XDEV_U3) { temp 1453 drivers/usb/host/xhci-hub.c if ((temp & PORT_PE) == 0) temp 1489 drivers/usb/host/xhci-hub.c ports[wIndex]->addr, temp); temp 1493 drivers/usb/host/xhci-hub.c ports[wIndex]->addr, temp); temp 1525 drivers/usb/host/xhci-hub.c u32 temp, status; temp 1555 drivers/usb/host/xhci-hub.c temp = readl(ports[i]->addr); temp 1556 drivers/usb/host/xhci-hub.c if (temp == ~(u32)0) { temp 1561 drivers/usb/host/xhci-hub.c trace_xhci_hub_status_data(i, temp); temp 1563 drivers/usb/host/xhci-hub.c if ((temp & mask) != 0 || temp 1570 drivers/usb/host/xhci-hub.c if ((temp & PORT_RC)) temp 1572 drivers/usb/host/xhci-hub.c if (temp & PORT_OC) temp 1747 drivers/usb/host/xhci-hub.c u32 temp, portsc; temp 1766 drivers/usb/host/xhci-hub.c temp = readl(&xhci->op_regs->command); temp 1767 drivers/usb/host/xhci-hub.c temp &= ~CMD_EIE; temp 1768 drivers/usb/host/xhci-hub.c writel(temp, &xhci->op_regs->command); temp 1844 drivers/usb/host/xhci-hub.c temp = readl(&xhci->op_regs->command); temp 1845 drivers/usb/host/xhci-hub.c temp |= CMD_EIE; temp 1846 drivers/usb/host/xhci-hub.c writel(temp, &xhci->op_regs->command); temp 1847 drivers/usb/host/xhci-hub.c temp = readl(&xhci->op_regs->command); temp 2099 drivers/usb/host/xhci-mem.c u64 temp; temp 2108 drivers/usb/host/xhci-mem.c temp = xhci_read_64(xhci, &xhci->ir_set->erst_dequeue); temp 2109 drivers/usb/host/xhci-mem.c temp &= ERST_PTR_MASK; temp 2113 drivers/usb/host/xhci-mem.c temp &= ~ERST_EHB; temp 2117 drivers/usb/host/xhci-mem.c xhci_write_64(xhci, ((u64) deq & (u64) ~ERST_PTR_MASK) | temp, temp 2124 drivers/usb/host/xhci-mem.c u32 temp, port_offset, port_count; temp 2131 drivers/usb/host/xhci-mem.c temp = readl(addr); temp 2132 drivers/usb/host/xhci-mem.c major_revision = XHCI_EXT_PORT_MAJOR(temp); temp 2133 drivers/usb/host/xhci-mem.c minor_revision = XHCI_EXT_PORT_MINOR(temp); temp 2146 drivers/usb/host/xhci-mem.c rhub->maj_rev = XHCI_EXT_PORT_MAJOR(temp); temp 2152 drivers/usb/host/xhci-mem.c temp = readl(addr + 2); temp 2153 drivers/usb/host/xhci-mem.c port_offset = XHCI_EXT_PORT_OFF(temp); temp 2154 drivers/usb/host/xhci-mem.c port_count = XHCI_EXT_PORT_COUNT(temp); temp 2170 drivers/usb/host/xhci-mem.c port_cap->psi_count = XHCI_EXT_PORT_PSIC(temp); temp 2201 drivers/usb/host/xhci-mem.c xhci->ext_caps[xhci->num_ext_caps++] = temp; temp 2204 drivers/usb/host/xhci-mem.c (temp & XHCI_HLC)) { temp 2378 drivers/usb/host/xhci-mem.c u32 page_size, temp; temp 2567 drivers/usb/host/xhci-mem.c temp = readl(&xhci->op_regs->dev_notification); temp 2568 drivers/usb/host/xhci-mem.c temp &= ~DEV_NOTE_MASK; temp 2569 drivers/usb/host/xhci-mem.c temp |= DEV_NOTE_FWAKE; temp 2570 drivers/usb/host/xhci-mem.c writel(temp, &xhci->op_regs->dev_notification); temp 112 drivers/usb/host/xhci-rcar.c u32 temp; temp 116 drivers/usb/host/xhci-rcar.c temp = readl(hcd->regs + RCAR_USB3_INT_ENA); temp 117 drivers/usb/host/xhci-rcar.c temp |= RCAR_USB3_INT_ENA_VAL; temp 118 drivers/usb/host/xhci-rcar.c writel(temp, hcd->regs + RCAR_USB3_INT_ENA); temp 132 drivers/usb/host/xhci-rcar.c u32 data, val, temp; temp 154 drivers/usb/host/xhci-rcar.c temp = readl(regs + RCAR_USB3_DL_CTRL); temp 155 drivers/usb/host/xhci-rcar.c temp |= RCAR_USB3_DL_CTRL_ENABLE; temp 156 drivers/usb/host/xhci-rcar.c writel(temp, regs + RCAR_USB3_DL_CTRL); temp 165 drivers/usb/host/xhci-rcar.c temp = readl(regs + RCAR_USB3_DL_CTRL); temp 166 drivers/usb/host/xhci-rcar.c temp |= RCAR_USB3_DL_CTRL_FW_SET_DATA0; temp 167 drivers/usb/host/xhci-rcar.c writel(temp, regs + RCAR_USB3_DL_CTRL); temp 181 drivers/usb/host/xhci-rcar.c temp = readl(regs + RCAR_USB3_DL_CTRL); temp 182 drivers/usb/host/xhci-rcar.c temp &= ~RCAR_USB3_DL_CTRL_ENABLE; temp 183 drivers/usb/host/xhci-rcar.c writel(temp, regs + RCAR_USB3_DL_CTRL); temp 133 drivers/usb/host/xhci.c u32 temp; temp 136 drivers/usb/host/xhci.c temp = readl(&xhci->op_regs->command); temp 137 drivers/usb/host/xhci.c temp |= (CMD_RUN); temp 139 drivers/usb/host/xhci.c temp); temp 140 drivers/usb/host/xhci.c writel(temp, &xhci->op_regs->command); temp 480 drivers/usb/host/xhci.c u32 temp; temp 487 drivers/usb/host/xhci.c temp = readl(rhub->ports[i]->addr); temp 488 drivers/usb/host/xhci.c if ((temp & PORT_PLS_MASK) == USB_SS_PORT_LS_COMP_MOD) { temp 636 drivers/usb/host/xhci.c u32 temp; temp 662 drivers/usb/host/xhci.c temp = readl(&xhci->ir_set->irq_control); temp 663 drivers/usb/host/xhci.c temp &= ~ER_IRQ_INTERVAL_MASK; temp 664 drivers/usb/host/xhci.c temp |= (xhci->imod_interval / 250) & ER_IRQ_INTERVAL_MASK; temp 665 drivers/usb/host/xhci.c writel(temp, &xhci->ir_set->irq_control); temp 668 drivers/usb/host/xhci.c temp = readl(&xhci->op_regs->command); temp 669 drivers/usb/host/xhci.c temp |= (CMD_EIE); temp 671 drivers/usb/host/xhci.c "// Enable interrupts, cmd = 0x%x.", temp); temp 672 drivers/usb/host/xhci.c writel(temp, &xhci->op_regs->command); temp 674 drivers/usb/host/xhci.c temp = readl(&xhci->ir_set->irq_pending); temp 677 drivers/usb/host/xhci.c xhci->ir_set, (unsigned int) ER_IRQ_ENABLE(temp)); temp 678 drivers/usb/host/xhci.c writel(ER_IRQ_ENABLE(temp), &xhci->ir_set->irq_pending); temp 714 drivers/usb/host/xhci.c u32 temp; temp 750 drivers/usb/host/xhci.c temp = readl(&xhci->op_regs->status); temp 751 drivers/usb/host/xhci.c writel((temp & ~0x1fff) | STS_EINT, &xhci->op_regs->status); temp 752 drivers/usb/host/xhci.c temp = readl(&xhci->ir_set->irq_pending); temp 753 drivers/usb/host/xhci.c writel(ER_IRQ_DISABLE(temp), &xhci->ir_set->irq_pending); temp 1083 drivers/usb/host/xhci.c u32 command, temp = 0; temp 1140 drivers/usb/host/xhci.c temp = readl(&xhci->op_regs->status); temp 1144 drivers/usb/host/xhci.c if ((temp & STS_SRE) || hibernated) { temp 1167 drivers/usb/host/xhci.c temp = readl(&xhci->op_regs->status); temp 1168 drivers/usb/host/xhci.c writel((temp & ~0x1fff) | STS_EINT, &xhci->op_regs->status); temp 1169 drivers/usb/host/xhci.c temp = readl(&xhci->ir_set->irq_pending); temp 1170 drivers/usb/host/xhci.c writel(ER_IRQ_DISABLE(temp), &xhci->ir_set->irq_pending); temp 1603 drivers/usb/host/xhci.c u32 temp; temp 1636 drivers/usb/host/xhci.c temp = readl(&xhci->op_regs->status); temp 1637 drivers/usb/host/xhci.c if (temp == ~(u32)0 || xhci->xhc_state & XHCI_STATE_DYING) { temp 1296 drivers/usb/isp1760/isp1760-hcd.c u32 temp; temp 1313 drivers/usb/isp1760/isp1760-hcd.c temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL); temp 1314 drivers/usb/isp1760/isp1760-hcd.c reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp | HW_GLOBAL_INTR_EN); temp 1712 drivers/usb/isp1760/isp1760-hcd.c u32 temp, status = 0; temp 1726 drivers/usb/isp1760/isp1760-hcd.c temp = reg_read32(hcd->regs, HC_PORTSC1); temp 1728 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_OWNER) { temp 1729 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_CSC) { temp 1730 drivers/usb/isp1760/isp1760-hcd.c temp &= ~PORT_CSC; temp 1731 drivers/usb/isp1760/isp1760-hcd.c reg_write32(hcd->regs, HC_PORTSC1, temp); temp 1743 drivers/usb/isp1760/isp1760-hcd.c if ((temp & mask) != 0 temp 1744 drivers/usb/isp1760/isp1760-hcd.c || ((temp & PORT_RESUME) != 0 temp 1760 drivers/usb/isp1760/isp1760-hcd.c u16 temp; temp 1768 drivers/usb/isp1760/isp1760-hcd.c temp = 1 + (ports / 8); temp 1769 drivers/usb/isp1760/isp1760-hcd.c desc->bDescLength = 7 + 2 * temp; temp 1772 drivers/usb/isp1760/isp1760-hcd.c memset(&desc->u.hs.DeviceRemovable[0], 0, temp); temp 1773 drivers/usb/isp1760/isp1760-hcd.c memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); temp 1776 drivers/usb/isp1760/isp1760-hcd.c temp = HUB_CHAR_INDV_PORT_OCPM; temp 1779 drivers/usb/isp1760/isp1760-hcd.c temp |= HUB_CHAR_INDV_PORT_LPSM; temp 1782 drivers/usb/isp1760/isp1760-hcd.c temp |= HUB_CHAR_NO_LPSM; temp 1783 drivers/usb/isp1760/isp1760-hcd.c desc->wHubCharacteristics = cpu_to_le16(temp); temp 1817 drivers/usb/isp1760/isp1760-hcd.c u32 temp, status; temp 1844 drivers/usb/isp1760/isp1760-hcd.c temp = reg_read32(hcd->regs, HC_PORTSC1); temp 1855 drivers/usb/isp1760/isp1760-hcd.c reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_PE); temp 1861 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_RESET) temp 1864 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_SUSPEND) { temp 1865 drivers/usb/isp1760/isp1760-hcd.c if ((temp & PORT_PE) == 0) temp 1868 drivers/usb/isp1760/isp1760-hcd.c temp &= ~(PORT_RWC_BITS); temp 1870 drivers/usb/isp1760/isp1760-hcd.c temp | PORT_RESUME); temp 1881 drivers/usb/isp1760/isp1760-hcd.c temp & ~PORT_POWER); temp 1884 drivers/usb/isp1760/isp1760-hcd.c reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_CSC); temp 1910 drivers/usb/isp1760/isp1760-hcd.c temp = reg_read32(hcd->regs, HC_PORTSC1); temp 1913 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_CSC) temp 1918 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_RESUME) { temp 1937 drivers/usb/isp1760/isp1760-hcd.c temp = reg_read32(hcd->regs, HC_PORTSC1); temp 1939 drivers/usb/isp1760/isp1760-hcd.c temp & ~(PORT_RWC_BITS | PORT_RESUME)); temp 1948 drivers/usb/isp1760/isp1760-hcd.c temp &= ~(PORT_SUSPEND|PORT_RESUME|(3<<10)); temp 1953 drivers/usb/isp1760/isp1760-hcd.c if ((temp & PORT_RESET) temp 1960 drivers/usb/isp1760/isp1760-hcd.c reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_RESET); temp 1973 drivers/usb/isp1760/isp1760-hcd.c temp = check_reset_complete(hcd, wIndex, temp 1982 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_OWNER) temp 1985 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_CONNECT) { temp 1990 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_PE) temp 1992 drivers/usb/isp1760/isp1760-hcd.c if (temp & (PORT_SUSPEND|PORT_RESUME)) temp 1994 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_RESET) temp 1996 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_POWER) temp 2016 drivers/usb/isp1760/isp1760-hcd.c temp = reg_read32(hcd->regs, HC_PORTSC1); temp 2017 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_OWNER) temp 2023 drivers/usb/isp1760/isp1760-hcd.c reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_PE); temp 2027 drivers/usb/isp1760/isp1760-hcd.c if ((temp & PORT_PE) == 0 temp 2028 drivers/usb/isp1760/isp1760-hcd.c || (temp & PORT_RESET) != 0) temp 2031 drivers/usb/isp1760/isp1760-hcd.c reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_SUSPEND); temp 2036 drivers/usb/isp1760/isp1760-hcd.c temp | PORT_POWER); temp 2039 drivers/usb/isp1760/isp1760-hcd.c if (temp & PORT_RESUME) temp 2045 drivers/usb/isp1760/isp1760-hcd.c if ((temp & (PORT_PE|PORT_CONNECT)) == PORT_CONNECT temp 2046 drivers/usb/isp1760/isp1760-hcd.c && PORT_USB11(temp)) { temp 2047 drivers/usb/isp1760/isp1760-hcd.c temp |= PORT_OWNER; temp 2049 drivers/usb/isp1760/isp1760-hcd.c temp |= PORT_RESET; temp 2050 drivers/usb/isp1760/isp1760-hcd.c temp &= ~PORT_PE; temp 2059 drivers/usb/isp1760/isp1760-hcd.c reg_write32(hcd->regs, HC_PORTSC1, temp); temp 2088 drivers/usb/isp1760/isp1760-hcd.c u32 temp; temp 2099 drivers/usb/isp1760/isp1760-hcd.c temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL); temp 2100 drivers/usb/isp1760/isp1760-hcd.c reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp &= ~HW_GLOBAL_INTR_EN); temp 2108 drivers/usb/isp1760/isp1760-hcd.c u32 command, temp; temp 2111 drivers/usb/isp1760/isp1760-hcd.c temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL); temp 2112 drivers/usb/isp1760/isp1760-hcd.c reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp &= ~HW_GLOBAL_INTR_EN); temp 125 drivers/usb/misc/cytherm.c int temp, sign; temp 135 drivers/usb/misc/cytherm.c temp = buffer[1]; temp 145 drivers/usb/misc/cytherm.c return sprintf(buf, "%c%i.%i", sign ? '-' : '+', temp >> 1, temp 146 drivers/usb/misc/cytherm.c 5*(temp - ((temp >> 1) << 1))); temp 148 drivers/usb/misc/cytherm.c static DEVICE_ATTR_RO(temp); temp 2208 drivers/usb/misc/ftdi-elan.c int temp; temp 2256 drivers/usb/misc/ftdi-elan.c for (temp = 0; temp < num_ports; temp++) { temp 2258 drivers/usb/misc/ftdi-elan.c roothub.portstatus[temp], RH_PS_LSDA); temp 2381 drivers/usb/misc/ftdi-elan.c for (temp = 0; temp < num_ports; temp++) { temp 2383 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, roothub.portstatus[temp], temp 2775 drivers/usb/misc/ftdi-elan.c struct usb_ftdi *temp; temp 2778 drivers/usb/misc/ftdi-elan.c list_for_each_entry_safe(ftdi, temp, &ftdi_static_list, ftdi_list) { temp 189 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short temp; temp 192 drivers/usb/misc/sisusbvga/sisusb_init.c temp = SiS_GetRegByte(SiS_Pr, SiS_Pr->SiS_P3cb) & 0xf0; temp 193 drivers/usb/misc/sisusbvga/sisusb_init.c temp |= (value >> 4); temp 194 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_SetRegByte(SiS_Pr, SiS_Pr->SiS_P3cb, temp); temp 195 drivers/usb/misc/sisusbvga/sisusb_init.c temp = SiS_GetRegByte(SiS_Pr, SiS_Pr->SiS_P3cd) & 0xf0; temp 196 drivers/usb/misc/sisusbvga/sisusb_init.c temp |= (value & 0x0f); temp 197 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_SetRegByte(SiS_Pr, SiS_Pr->SiS_P3cd, temp); temp 202 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short temp; temp 205 drivers/usb/misc/sisusbvga/sisusb_init.c temp = SiS_GetRegByte(SiS_Pr, SiS_Pr->SiS_P3cb) & 0x0f; temp 206 drivers/usb/misc/sisusbvga/sisusb_init.c temp |= (value & 0xf0); temp 207 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_SetRegByte(SiS_Pr, SiS_Pr->SiS_P3cb, temp); temp 208 drivers/usb/misc/sisusbvga/sisusb_init.c temp = SiS_GetRegByte(SiS_Pr, SiS_Pr->SiS_P3cd) & 0x0f; temp 209 drivers/usb/misc/sisusbvga/sisusb_init.c temp |= (value << 4); temp 210 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_SetRegByte(SiS_Pr, SiS_Pr->SiS_P3cd, temp); temp 227 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short temp = value >> 8; temp 229 drivers/usb/misc/sisusbvga/sisusb_init.c temp &= 0x07; temp 230 drivers/usb/misc/sisusbvga/sisusb_init.c temp |= (temp << 4); temp 231 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_SetReg(SiS_Pr, SiS_Pr->SiS_P3c4, 0x1d, temp); temp 321 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short xres, temp, colordepth, infoflag; temp 328 drivers/usb/misc/sisusbvga/sisusb_init.c temp = xres / 16; temp 331 drivers/usb/misc/sisusbvga/sisusb_init.c temp <<= 1; temp 333 drivers/usb/misc/sisusbvga/sisusb_init.c temp *= colordepth; temp 336 drivers/usb/misc/sisusbvga/sisusb_init.c temp += (colordepth >> 1); temp 338 drivers/usb/misc/sisusbvga/sisusb_init.c return temp; temp 461 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short rrti, i, index, temp; temp 478 drivers/usb/misc/sisusbvga/sisusb_init.c temp = temp 480 drivers/usb/misc/sisusbvga/sisusb_init.c if (temp < SiS_Pr->SiS_ModeType) temp 513 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short temp, i, j, modeflag; temp 538 drivers/usb/misc/sisusbvga/sisusb_init.c temp = SiS_Pr->SiS_CRT1Table[index].CR[16] & 0xE0; temp 539 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_SetReg(SiS_Pr, SiS_Pr->SiS_P3c4, 0x0E, temp); temp 541 drivers/usb/misc/sisusbvga/sisusb_init.c temp = ((SiS_Pr->SiS_CRT1Table[index].CR[16]) & 0x01) << 5; temp 543 drivers/usb/misc/sisusbvga/sisusb_init.c temp |= 0x80; temp 544 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_SetRegANDOR(SiS_Pr, SiS_Pr->SiS_P3d4, 0x09, 0x5F, temp); temp 562 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short temp; temp 564 drivers/usb/misc/sisusbvga/sisusb_init.c temp = (du >> 8) & 0x0f; temp 565 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_SetRegANDOR(SiS_Pr, SiS_Pr->SiS_P3c4, 0x0E, 0xF0, temp); temp 573 drivers/usb/misc/sisusbvga/sisusb_init.c temp = (du >> 8) & 0xff; temp 575 drivers/usb/misc/sisusbvga/sisusb_init.c temp++; temp 576 drivers/usb/misc/sisusbvga/sisusb_init.c temp++; temp 577 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_SetReg(SiS_Pr, SiS_Pr->SiS_P3c4, 0x10, temp); temp 47 drivers/usb/misc/trancevibrator.c int temp, retval, old; temp 49 drivers/usb/misc/trancevibrator.c retval = kstrtoint(buf, 10, &temp); temp 52 drivers/usb/misc/trancevibrator.c if (temp > 255) temp 53 drivers/usb/misc/trancevibrator.c temp = 255; temp 54 drivers/usb/misc/trancevibrator.c else if (temp < 0) temp 55 drivers/usb/misc/trancevibrator.c temp = 0; temp 57 drivers/usb/misc/trancevibrator.c tv->speed = temp; temp 2655 drivers/usb/misc/usbtest.c struct usbtest_param_32 temp; temp 2691 drivers/usb/misc/usbtest.c temp.test_num = param_64->test_num; temp 2692 drivers/usb/misc/usbtest.c temp.iterations = param_64->iterations; temp 2693 drivers/usb/misc/usbtest.c temp.length = param_64->length; temp 2694 drivers/usb/misc/usbtest.c temp.sglen = param_64->sglen; temp 2695 drivers/usb/misc/usbtest.c temp.vary = param_64->vary; temp 2696 drivers/usb/misc/usbtest.c param_32 = &temp; temp 2717 drivers/usb/misc/usbtest.c temp.duration_sec = duration.tv_sec; temp 2718 drivers/usb/misc/usbtest.c temp.duration_usec = duration.tv_nsec/NSEC_PER_USEC; temp 2722 drivers/usb/misc/usbtest.c param_32->duration_sec = temp.duration_sec; temp 2723 drivers/usb/misc/usbtest.c param_32->duration_usec = temp.duration_usec; temp 2727 drivers/usb/misc/usbtest.c param_64->duration_sec = temp.duration_sec; temp 2728 drivers/usb/misc/usbtest.c param_64->duration_usec = temp.duration_usec; temp 416 drivers/usb/musb/cppi_dma.c u32 temp = 1 << (c->index); temp 419 drivers/usb/musb/cppi_dma.c temp <<= 16; temp 421 drivers/usb/musb/cppi_dma.c value |= temp; temp 423 drivers/usb/musb/cppi_dma.c value &= ~temp; temp 1018 drivers/usb/musb/musb_core.c u16 temp; temp 1028 drivers/usb/musb/musb_core.c temp = musb_readb(mbase, MUSB_INTRUSB); temp 1029 drivers/usb/musb/musb_core.c temp = musb_readw(mbase, MUSB_INTRTX); temp 1030 drivers/usb/musb/musb_core.c temp = musb_readw(mbase, MUSB_INTRRX); temp 2578 drivers/usb/musb/musb_host.c struct musb_temp_buffer *temp; temp 2586 drivers/usb/musb/musb_host.c temp = container_of(urb->transfer_buffer, struct musb_temp_buffer, temp 2595 drivers/usb/musb/musb_host.c memcpy(temp->old_xfer_buffer, temp->data, length); temp 2597 drivers/usb/musb/musb_host.c urb->transfer_buffer = temp->old_xfer_buffer; temp 2598 drivers/usb/musb/musb_host.c kfree(temp->kmalloc_ptr); temp 2606 drivers/usb/musb/musb_host.c struct musb_temp_buffer *temp; temp 2626 drivers/usb/musb/musb_host.c temp = PTR_ALIGN(kmalloc_ptr, MUSB_USB_DMA_ALIGN); temp 2629 drivers/usb/musb/musb_host.c temp->kmalloc_ptr = kmalloc_ptr; temp 2630 drivers/usb/musb/musb_host.c temp->old_xfer_buffer = urb->transfer_buffer; temp 2632 drivers/usb/musb/musb_host.c memcpy(temp->data, urb->transfer_buffer, temp 2634 drivers/usb/musb/musb_host.c urb->transfer_buffer = temp->data; temp 270 drivers/usb/musb/musb_virthub.c u32 temp; temp 343 drivers/usb/musb/musb_virthub.c temp = 0; temp 344 drivers/usb/musb/musb_virthub.c *(__le32 *) buf = cpu_to_le32(temp); temp 390 drivers/usb/musb/musb_virthub.c temp = MUSB_TEST_J; temp 394 drivers/usb/musb/musb_virthub.c temp = MUSB_TEST_K; temp 398 drivers/usb/musb/musb_virthub.c temp = MUSB_TEST_SE0_NAK; temp 402 drivers/usb/musb/musb_virthub.c temp = MUSB_TEST_PACKET; temp 407 drivers/usb/musb/musb_virthub.c temp = MUSB_TEST_FORCE_HOST temp 415 drivers/usb/musb/musb_virthub.c temp = MUSB_TEST_FIFO_ACCESS; temp 420 drivers/usb/musb/musb_virthub.c musb_writeb(musb->mregs, MUSB_TESTMODE, temp); temp 106 drivers/usb/phy/phy-fsl-usb.c u32 temp; temp 108 drivers/usb/phy/phy-fsl-usb.c temp = 0x60000000 | (addr << 16) | data; temp 109 drivers/usb/phy/phy-fsl-usb.c fsl_writel(temp, &usb_dr_regs->ulpiview); temp 839 drivers/usb/phy/phy-fsl-usb.c u32 temp; temp 888 drivers/usb/phy/phy-fsl-usb.c temp = fsl_readl(&p_otg->dr_mem_map->usbcmd); temp 889 drivers/usb/phy/phy-fsl-usb.c temp &= ~USB_CMD_RUN_STOP; temp 890 drivers/usb/phy/phy-fsl-usb.c fsl_writel(temp, &p_otg->dr_mem_map->usbcmd); temp 893 drivers/usb/phy/phy-fsl-usb.c temp = fsl_readl(&p_otg->dr_mem_map->usbcmd); temp 894 drivers/usb/phy/phy-fsl-usb.c temp |= USB_CMD_CTRL_RESET; temp 895 drivers/usb/phy/phy-fsl-usb.c fsl_writel(temp, &p_otg->dr_mem_map->usbcmd); temp 902 drivers/usb/phy/phy-fsl-usb.c temp = USB_MODE_STREAM_DISABLE | (pdata->es ? USB_MODE_ES : 0); temp 903 drivers/usb/phy/phy-fsl-usb.c fsl_writel(temp, &p_otg->dr_mem_map->usbmode); temp 906 drivers/usb/phy/phy-fsl-usb.c temp = fsl_readl(&p_otg->dr_mem_map->portsc); temp 907 drivers/usb/phy/phy-fsl-usb.c temp &= ~(PORTSC_PHY_TYPE_SEL | PORTSC_PTW); temp 910 drivers/usb/phy/phy-fsl-usb.c temp |= PORTSC_PTS_ULPI; temp 913 drivers/usb/phy/phy-fsl-usb.c temp |= PORTSC_PTW_16BIT; temp 916 drivers/usb/phy/phy-fsl-usb.c temp |= PORTSC_PTS_UTMI; temp 921 drivers/usb/phy/phy-fsl-usb.c fsl_writel(temp, &p_otg->dr_mem_map->portsc); temp 925 drivers/usb/phy/phy-fsl-usb.c temp = __raw_readl(&p_otg->dr_mem_map->control); temp 926 drivers/usb/phy/phy-fsl-usb.c temp |= USB_CTRL_IOENB; temp 927 drivers/usb/phy/phy-fsl-usb.c __raw_writel(temp, &p_otg->dr_mem_map->control); temp 931 drivers/usb/phy/phy-fsl-usb.c temp = fsl_readl(&p_otg->dr_mem_map->otgsc); temp 932 drivers/usb/phy/phy-fsl-usb.c temp &= ~OTGSC_INTERRUPT_ENABLE_BITS_MASK; temp 933 drivers/usb/phy/phy-fsl-usb.c temp |= OTGSC_INTERRUPT_STATUS_BITS_MASK | OTGSC_CTRL_VBUS_DISCHARGE; temp 934 drivers/usb/phy/phy-fsl-usb.c fsl_writel(temp, &p_otg->dr_mem_map->otgsc); temp 952 drivers/usb/phy/phy-fsl-usb.c temp = fsl_readl(&p_otg->dr_mem_map->otgsc); temp 953 drivers/usb/phy/phy-fsl-usb.c temp |= OTGSC_INTR_USB_ID_EN; temp 954 drivers/usb/phy/phy-fsl-usb.c temp &= ~(OTGSC_CTRL_VBUS_DISCHARGE | OTGSC_INTR_1MS_TIMER_EN); temp 955 drivers/usb/phy/phy-fsl-usb.c fsl_writel(temp, &p_otg->dr_mem_map->otgsc); temp 413 drivers/usb/serial/io_ti.c u8 *temp; temp 417 drivers/usb/serial/io_ti.c temp = kmalloc(1, GFP_KERNEL); temp 418 drivers/usb/serial/io_ti.c if (!temp) temp 421 drivers/usb/serial/io_ti.c status = read_boot_mem(serial, 0, 1, temp); temp 422 drivers/usb/serial/io_ti.c kfree(temp); temp 733 drivers/vfio/platform/vfio_platform_common.c struct vfio_platform_reset_node *iter, *temp; temp 736 drivers/vfio/platform/vfio_platform_common.c list_for_each_entry_safe(iter, temp, &reset_list, link) { temp 2983 drivers/video/fbdev/atafb.c int xres, yres, depth, temp; temp 2997 drivers/video/fbdev/atafb.c temp = get_video_mode("user0"); temp 2998 drivers/video/fbdev/atafb.c if (temp) { temp 2999 drivers/video/fbdev/atafb.c default_par = temp; temp 3009 drivers/video/fbdev/atafb.c int temp; temp 3017 drivers/video/fbdev/atafb.c if ((temp = get_video_mode(this_opt))) { temp 3018 drivers/video/fbdev/atafb.c default_par = temp; temp 826 drivers/video/fbdev/aty/aty128fb.c unsigned int temp; temp 827 drivers/video/fbdev/aty/aty128fb.c temp = aty_ld_le32(RAGE128_MPP_TB_CONFIG); temp 828 drivers/video/fbdev/aty/aty128fb.c temp &= 0x00ffffffu; temp 829 drivers/video/fbdev/aty/aty128fb.c temp |= 0x04 << 24; temp 830 drivers/video/fbdev/aty/aty128fb.c aty_st_le32(RAGE128_MPP_TB_CONFIG, temp); temp 831 drivers/video/fbdev/aty/aty128fb.c temp = aty_ld_le32(RAGE128_MPP_TB_CONFIG); temp 154 drivers/video/fbdev/aty/atyfb_base.c unsigned long temp; temp 157 drivers/video/fbdev/aty/atyfb_base.c temp = aty_ld_le32(LCD_INDEX, par); temp 158 drivers/video/fbdev/aty/atyfb_base.c aty_st_le32(LCD_INDEX, (temp & ~LCD_INDEX_MASK) | index, par); temp 169 drivers/video/fbdev/aty/atyfb_base.c unsigned long temp; temp 172 drivers/video/fbdev/aty/atyfb_base.c temp = aty_ld_le32(LCD_INDEX, par); temp 173 drivers/video/fbdev/aty/atyfb_base.c aty_st_le32(LCD_INDEX, (temp & ~LCD_INDEX_MASK) | index, par); temp 210 drivers/video/fbdev/aty/mach64_gx.c u32 gModeReg, devSetupRegA, temp, mask; temp 244 drivers/video/fbdev/aty/mach64_gx.c temp = aty_ld_8(DAC_CNTL, par); temp 245 drivers/video/fbdev/aty/mach64_gx.c aty_st_8(DAC_CNTL, (temp & ~DAC_EXT_SEL_RS2) | DAC_EXT_SEL_RS3, temp 252 drivers/video/fbdev/aty/mach64_gx.c temp = aty_ld_8(DAC_CNTL, par); temp 253 drivers/video/fbdev/aty/mach64_gx.c aty_st_8(DAC_CNTL, temp | DAC_EXT_SEL_RS2 | DAC_EXT_SEL_RS3, par); temp 267 drivers/video/fbdev/aty/mach64_gx.c temp = aty_ld_8(DAC_REGS, par); temp 268 drivers/video/fbdev/aty/mach64_gx.c aty_st_8(DAC_REGS, (devSetupRegA | mask) | (temp & A860_DELAY_L), temp 270 drivers/video/fbdev/aty/mach64_gx.c temp = aty_ld_8(DAC_CNTL, par); temp 271 drivers/video/fbdev/aty/mach64_gx.c aty_st_8(DAC_CNTL, (temp & ~(DAC_EXT_SEL_RS2 | DAC_EXT_SEL_RS3)), temp 504 drivers/video/fbdev/aty/mach64_gx.c u32 temp, tempB; temp 529 drivers/video/fbdev/aty/mach64_gx.c temp = (unsigned int) (mhz100); temp 530 drivers/video/fbdev/aty/mach64_gx.c temp = (unsigned int) (temp * (MIN_N_1703 + 2)); temp 531 drivers/video/fbdev/aty/mach64_gx.c temp -= (short) (mach64RefFreq << 1); temp 537 drivers/video/fbdev/aty/mach64_gx.c tempB = temp; temp 551 drivers/video/fbdev/aty/mach64_gx.c temp += mhz100; temp 744 drivers/video/fbdev/aty/mach64_gx.c u32 temp, tempB; temp 768 drivers/video/fbdev/aty/mach64_gx.c temp = (unsigned int) mhz100; temp 769 drivers/video/fbdev/aty/mach64_gx.c temp = (unsigned int) (temp * (MIN_N_408 + 2)); temp 770 drivers/video/fbdev/aty/mach64_gx.c temp -= ((short) (mach64RefFreq << 1)); temp 776 drivers/video/fbdev/aty/mach64_gx.c tempB = temp; temp 788 drivers/video/fbdev/aty/mach64_gx.c temp += mhz100; temp 260 drivers/video/fbdev/aty/radeon_accel.c unsigned long temp; temp 303 drivers/video/fbdev/aty/radeon_accel.c temp = radeon_get_dstbpp(rinfo->depth); temp 304 drivers/video/fbdev/aty/radeon_accel.c rinfo->dp_gui_master_cntl = ((temp << 8) | GMC_CLR_CMP_CNTL_DIS); temp 431 drivers/video/fbdev/aty/radeon_base.c unsigned int temp; temp 432 drivers/video/fbdev/aty/radeon_base.c temp = INREG(MPP_TB_CONFIG); temp 433 drivers/video/fbdev/aty/radeon_base.c temp &= 0x00ffffffu; temp 434 drivers/video/fbdev/aty/radeon_base.c temp |= 0x04 << 24; temp 435 drivers/video/fbdev/aty/radeon_base.c OUTREG(MPP_TB_CONFIG, temp); temp 436 drivers/video/fbdev/aty/radeon_base.c temp = INREG(MPP_TB_CONFIG); temp 2761 drivers/video/fbdev/cirrusfb.c int temp = d; temp 2763 drivers/video/fbdev/cirrusfb.c if (temp > 31) { temp 2765 drivers/video/fbdev/cirrusfb.c temp >>= 1; temp 2767 drivers/video/fbdev/cirrusfb.c h = ((14318 * n) / temp) >> s; temp 2772 drivers/video/fbdev/cirrusfb.c *den = temp; temp 808 drivers/video/fbdev/fsl-diu-fb.c u32 temp; temp 835 drivers/video/fbdev/fsl-diu-fb.c temp = var->left_margin << 22 | /* BP_H */ temp 839 drivers/video/fbdev/fsl-diu-fb.c out_be32(&hw->hsyn_para, temp); temp 841 drivers/video/fbdev/fsl-diu-fb.c temp = var->upper_margin << 22 | /* BP_V */ temp 845 drivers/video/fbdev/fsl-diu-fb.c out_be32(&hw->vsyn_para, temp); temp 534 drivers/video/fbdev/gbefb.c int temp; temp 583 drivers/video/fbdev/gbefb.c temp = timing->vblank_start - timing->vblank_end - 1; temp 584 drivers/video/fbdev/gbefb.c if (temp > 0) temp 585 drivers/video/fbdev/gbefb.c temp = -temp; temp 590 drivers/video/fbdev/gbefb.c SET_GBE_FIELD(DID_START_XY, DID_STARTY, val, (u32) temp); temp 600 drivers/video/fbdev/gbefb.c SET_GBE_FIELD(CRS_START_XY, CRS_STARTY, val, (u32) (temp + 1)); temp 611 drivers/video/fbdev/gbefb.c SET_GBE_FIELD(VC_START_XY, VC_STARTY, val, (u32) temp); temp 616 drivers/video/fbdev/gbefb.c temp = timing->hblank_end - GBE_PIXEN_MAGIC_ON; temp 617 drivers/video/fbdev/gbefb.c if (temp < 0) temp 618 drivers/video/fbdev/gbefb.c temp += timing->htotal; /* allow blank to wrap around */ temp 620 drivers/video/fbdev/gbefb.c SET_GBE_FIELD(VT_HPIXEN, HPIXEN_ON, val, temp); temp 622 drivers/video/fbdev/gbefb.c ((temp + timing->width - temp 248 drivers/video/fbdev/geode/lxfb_ops.c u32 temp, config; temp 273 drivers/video/fbdev/geode/lxfb_ops.c temp = FP_PT2_SCRC; temp 276 drivers/video/fbdev/geode/lxfb_ops.c temp |= FP_PT2_HSP; temp 279 drivers/video/fbdev/geode/lxfb_ops.c temp |= FP_PT2_VSP; temp 281 drivers/video/fbdev/geode/lxfb_ops.c write_fp(par, FP_PT2, temp); temp 300 drivers/video/fbdev/geode/lxfb_ops.c temp = read_vp(par, VP_MISC); temp 301 drivers/video/fbdev/geode/lxfb_ops.c temp &= ~(VP_MISC_DACPWRDN | VP_MISC_APWRDN); temp 302 drivers/video/fbdev/geode/lxfb_ops.c write_vp(par, VP_MISC, temp); temp 774 drivers/video/fbdev/i810/i810_main.c u32 temp; temp 776 drivers/video/fbdev/i810/i810_main.c temp = i810_readl(PIXCONF, mmio); temp 777 drivers/video/fbdev/i810/i810_main.c temp = (mode == ON) ? temp | CURSOR_ENABLE_MASK : temp 778 drivers/video/fbdev/i810/i810_main.c temp & ~CURSOR_ENABLE_MASK; temp 780 drivers/video/fbdev/i810/i810_main.c i810_writel(PIXCONF, mmio, temp); temp 823 drivers/video/fbdev/i810/i810_main.c u8 red, green, blue, trans, temp; temp 827 drivers/video/fbdev/i810/i810_main.c temp = i810_readb(PIXCONF1, mmio); temp 828 drivers/video/fbdev/i810/i810_main.c i810_writeb(PIXCONF1, mmio, temp | EXTENDED_PALETTE); temp 832 drivers/video/fbdev/i810/i810_main.c i810_writeb(PIXCONF1, mmio, temp); temp 835 drivers/video/fbdev/i810/i810_main.c temp = i810_readb(PIXCONF1, mmio); temp 836 drivers/video/fbdev/i810/i810_main.c i810_writeb(PIXCONF1, mmio, temp | EXTENDED_PALETTE); temp 840 drivers/video/fbdev/i810/i810_main.c i810_writeb(PIXCONF1, mmio, temp); temp 1204 drivers/video/fbdev/i810/i810_main.c u8 temp; temp 1212 drivers/video/fbdev/i810/i810_main.c temp = i810_readb(PIXCONF1, mmio); temp 1213 drivers/video/fbdev/i810/i810_main.c i810_writeb(PIXCONF1, mmio, temp & ~EXTENDED_PALETTE); temp 1230 drivers/video/fbdev/i810/i810_main.c i810_writeb(PIXCONF1, mmio, temp); temp 1287 drivers/video/fbdev/i810/i810_main.c u8 temp; temp 1302 drivers/video/fbdev/i810/i810_main.c temp = i810_readb(PIXCONF1, mmio); temp 1303 drivers/video/fbdev/i810/i810_main.c i810_writeb(PIXCONF1, mmio, temp & ~EXTENDED_PALETTE); temp 1329 drivers/video/fbdev/i810/i810_main.c i810_writeb(PIXCONF1, mmio, temp); temp 724 drivers/video/fbdev/neofb.c unsigned char temp; temp 968 drivers/video/fbdev/neofb.c temp = vga_rgfx(NULL, 0x90); temp 971 drivers/video/fbdev/neofb.c temp &= 0xF0; /* Save bits 7:4 */ temp 972 drivers/video/fbdev/neofb.c temp |= (par->ExtColorModeSelect & ~0xF0); temp 982 drivers/video/fbdev/neofb.c temp &= 0x70; /* Save bits 6:4 */ temp 983 drivers/video/fbdev/neofb.c temp |= (par->ExtColorModeSelect & ~0x70); temp 987 drivers/video/fbdev/neofb.c vga_wgfx(NULL, 0x90, temp); temp 999 drivers/video/fbdev/neofb.c temp = vga_rgfx(NULL, 0x25); temp 1000 drivers/video/fbdev/neofb.c temp &= 0x39; temp 1001 drivers/video/fbdev/neofb.c vga_wgfx(NULL, 0x25, temp); temp 1050 drivers/video/fbdev/neofb.c temp = vga_rgfx(NULL, 0x10); temp 1051 drivers/video/fbdev/neofb.c temp &= 0x0F; /* Save bits 3:0 */ temp 1052 drivers/video/fbdev/neofb.c temp |= (par->SysIfaceCntl1 & ~0x0F); /* VESA Bios sets bit 1! */ temp 1053 drivers/video/fbdev/neofb.c vga_wgfx(NULL, 0x10, temp); temp 1059 drivers/video/fbdev/neofb.c temp = vga_rgfx(NULL, 0x20); temp 1062 drivers/video/fbdev/neofb.c temp &= 0xFC; /* Save bits 7:2 */ temp 1063 drivers/video/fbdev/neofb.c temp |= (par->PanelDispCntlReg1 & ~0xFC); temp 1069 drivers/video/fbdev/neofb.c temp &= 0xDC; /* Save bits 7:6,4:2 */ temp 1070 drivers/video/fbdev/neofb.c temp |= (par->PanelDispCntlReg1 & ~0xDC); temp 1076 drivers/video/fbdev/neofb.c temp &= 0x98; /* Save bits 7,4:3 */ temp 1077 drivers/video/fbdev/neofb.c temp |= (par->PanelDispCntlReg1 & ~0x98); temp 1080 drivers/video/fbdev/neofb.c vga_wgfx(NULL, 0x20, temp); temp 1082 drivers/video/fbdev/neofb.c temp = vga_rgfx(NULL, 0x25); temp 1083 drivers/video/fbdev/neofb.c temp &= 0x38; /* Save bits 5:3 */ temp 1084 drivers/video/fbdev/neofb.c temp |= (par->PanelDispCntlReg2 & ~0x38); temp 1085 drivers/video/fbdev/neofb.c vga_wgfx(NULL, 0x25, temp); temp 1088 drivers/video/fbdev/neofb.c temp = vga_rgfx(NULL, 0x30); temp 1089 drivers/video/fbdev/neofb.c temp &= 0xEF; /* Save bits 7:5 and bits 3:0 */ temp 1090 drivers/video/fbdev/neofb.c temp |= (par->PanelDispCntlReg3 & ~0xEF); temp 1091 drivers/video/fbdev/neofb.c vga_wgfx(NULL, 0x30, temp); temp 1127 drivers/video/fbdev/neofb.c temp = vga_rgfx(NULL, 0x8F); temp 1128 drivers/video/fbdev/neofb.c temp &= 0x0F; /* Save bits 3:0 */ temp 1129 drivers/video/fbdev/neofb.c temp |= (par->VCLK3NumeratorHigh & ~0x0F); temp 1130 drivers/video/fbdev/neofb.c vga_wgfx(NULL, 0x8F, temp); temp 550 drivers/video/fbdev/nvidia/nvidia.c u32 xx, yy, temp; temp 554 drivers/video/fbdev/nvidia/nvidia.c temp = xx & 0xFFFF; temp 555 drivers/video/fbdev/nvidia/nvidia.c temp |= yy << 16; temp 557 drivers/video/fbdev/nvidia/nvidia.c NV_WR32(par->PRAMDAC, 0x0000300, temp); temp 1598 drivers/video/fbdev/riva/fbdev.c u32 xx, yy, temp; temp 1602 drivers/video/fbdev/riva/fbdev.c temp = xx & 0xFFFF; temp 1603 drivers/video/fbdev/riva/fbdev.c temp |= yy << 16; temp 1605 drivers/video/fbdev/riva/fbdev.c NV_WR32(par->riva.PRAMDAC, 0x0000300, temp); temp 932 drivers/video/fbdev/sis/init.c u8 temp; temp 934 drivers/video/fbdev/sis/init.c temp = SiS_GetReg(Port, Index); temp 935 drivers/video/fbdev/sis/init.c temp = (temp & (DataAND)) | DataOR; temp 936 drivers/video/fbdev/sis/init.c SiS_SetReg(Port, Index, temp); temp 942 drivers/video/fbdev/sis/init.c u8 temp; temp 944 drivers/video/fbdev/sis/init.c temp = SiS_GetReg(Port, Index); temp 945 drivers/video/fbdev/sis/init.c temp &= DataAND; temp 946 drivers/video/fbdev/sis/init.c SiS_SetReg(Port, Index, temp); temp 952 drivers/video/fbdev/sis/init.c u8 temp; temp 954 drivers/video/fbdev/sis/init.c temp = SiS_GetReg(Port, Index); temp 955 drivers/video/fbdev/sis/init.c temp |= DataOR; temp 956 drivers/video/fbdev/sis/init.c SiS_SetReg(Port, Index, temp); temp 1154 drivers/video/fbdev/sis/init.c unsigned short temp; temp 1166 drivers/video/fbdev/sis/init.c temp = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x00); temp 1167 drivers/video/fbdev/sis/init.c if((temp == 1) || (temp == 2)) return; temp 1174 drivers/video/fbdev/sis/init.c temp = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x37) & 0x0e) >> 1; temp 1175 drivers/video/fbdev/sis/init.c if((temp >= 2) && (temp <= 5)) SiS_Pr->SiS_IF_DEF_LVDS = 1; temp 1176 drivers/video/fbdev/sis/init.c if(temp == 3) SiS_Pr->SiS_IF_DEF_TRUMPION = 1; temp 1177 drivers/video/fbdev/sis/init.c if((temp == 4) || (temp == 5)) { temp 1189 drivers/video/fbdev/sis/init.c temp = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x37) & 0x0e) >> 1; temp 1190 drivers/video/fbdev/sis/init.c if((temp >= 2) && (temp <= 3)) SiS_Pr->SiS_IF_DEF_LVDS = 1; temp 1191 drivers/video/fbdev/sis/init.c if(temp == 3) SiS_Pr->SiS_IF_DEF_CH70xx = 2; temp 1201 drivers/video/fbdev/sis/init.c temp = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x38) & 0xe0) >> 5; temp 1202 drivers/video/fbdev/sis/init.c if((temp >= 2) && (temp <= 3)) SiS_Pr->SiS_IF_DEF_LVDS = 1; temp 1203 drivers/video/fbdev/sis/init.c if(temp == 3) SiS_Pr->SiS_IF_DEF_CH70xx = 2; temp 1204 drivers/video/fbdev/sis/init.c if(temp == 4) SiS_Pr->SiS_IF_DEF_CONEX = 1; /* Not yet supported */ temp 1348 drivers/video/fbdev/sis/init.c unsigned short temp; temp 1351 drivers/video/fbdev/sis/init.c temp = SiS_GetRegByte(SiS_Pr->SiS_P3cb) & 0xf0; temp 1352 drivers/video/fbdev/sis/init.c temp |= (value >> 4); temp 1353 drivers/video/fbdev/sis/init.c SiS_SetRegByte(SiS_Pr->SiS_P3cb, temp); temp 1354 drivers/video/fbdev/sis/init.c temp = SiS_GetRegByte(SiS_Pr->SiS_P3cd) & 0xf0; temp 1355 drivers/video/fbdev/sis/init.c temp |= (value & 0x0f); temp 1356 drivers/video/fbdev/sis/init.c SiS_SetRegByte(SiS_Pr->SiS_P3cd, temp); temp 1362 drivers/video/fbdev/sis/init.c unsigned short temp; temp 1365 drivers/video/fbdev/sis/init.c temp = SiS_GetRegByte(SiS_Pr->SiS_P3cb) & 0x0f; temp 1366 drivers/video/fbdev/sis/init.c temp |= (value & 0xf0); temp 1367 drivers/video/fbdev/sis/init.c SiS_SetRegByte(SiS_Pr->SiS_P3cb, temp); temp 1368 drivers/video/fbdev/sis/init.c temp = SiS_GetRegByte(SiS_Pr->SiS_P3cd) & 0x0f; temp 1369 drivers/video/fbdev/sis/init.c temp |= (value << 4); temp 1370 drivers/video/fbdev/sis/init.c SiS_SetRegByte(SiS_Pr->SiS_P3cd, temp); temp 1389 drivers/video/fbdev/sis/init.c unsigned short temp = value >> 8; temp 1391 drivers/video/fbdev/sis/init.c temp &= 0x07; temp 1392 drivers/video/fbdev/sis/init.c temp |= (temp << 4); temp 1393 drivers/video/fbdev/sis/init.c SiS_SetReg(SiS_Pr->SiS_P3c4,0x1d,temp); temp 1689 drivers/video/fbdev/sis/init.c unsigned short temp, temp1, temp2; temp 1693 drivers/video/fbdev/sis/init.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x11); temp 1699 drivers/video/fbdev/sis/init.c SiS_SetReg(SiS_Pr->SiS_P3d4,0x11,temp); temp 1807 drivers/video/fbdev/sis/init.c unsigned short xres, temp, colordepth, infoflag; temp 1819 drivers/video/fbdev/sis/init.c temp = xres / 16; temp 1820 drivers/video/fbdev/sis/init.c if(infoflag & InterlaceMode) temp <<= 1; temp 1821 drivers/video/fbdev/sis/init.c temp *= colordepth; temp 1822 drivers/video/fbdev/sis/init.c if(xres % 16) temp += (colordepth >> 1); temp 1824 drivers/video/fbdev/sis/init.c return temp; temp 2076 drivers/video/fbdev/sis/init.c unsigned short temp, i, j, modeflag; temp 2087 drivers/video/fbdev/sis/init.c temp = SiS_GetRefCRT1CRTC(SiS_Pr, RRTI, SiS_Pr->SiS_UseWide); temp 2090 drivers/video/fbdev/sis/init.c if((temp == 0x20) && (SiS_Pr->Alternate1600x1200)) temp = 0x57; temp 2092 drivers/video/fbdev/sis/init.c crt1data = (unsigned char *)&SiS_Pr->SiS_CRT1Table[temp].CR[0]; temp 2114 drivers/video/fbdev/sis/init.c temp = (crt1data[16] & 0x01) << 5; temp 2115 drivers/video/fbdev/sis/init.c if(modeflag & DoubleScanMode) temp |= 0x80; temp 2116 drivers/video/fbdev/sis/init.c SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x09,0x5F,temp); temp 2125 drivers/video/fbdev/sis/init.c if(!(temp = crt1data[5] & 0x1f)) { temp 2128 drivers/video/fbdev/sis/init.c SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x05,0xe0,((temp - 1) & 0x1f)); temp 2129 drivers/video/fbdev/sis/init.c temp = (crt1data[16] >> 5) + 3; temp 2130 drivers/video/fbdev/sis/init.c if(temp > 7) temp -= 7; temp 2131 drivers/video/fbdev/sis/init.c SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0e,0x1f,(temp << 5)); temp 2146 drivers/video/fbdev/sis/init.c unsigned short temp, DisplayUnit, infoflag; temp 2156 drivers/video/fbdev/sis/init.c temp = (DisplayUnit >> 8) & 0x0f; temp 2157 drivers/video/fbdev/sis/init.c SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0E,0xF0,temp); temp 2164 drivers/video/fbdev/sis/init.c temp = (DisplayUnit >> 8) + 1; temp 2165 drivers/video/fbdev/sis/init.c if(DisplayUnit & 0xff) temp++; temp 2167 drivers/video/fbdev/sis/init.c if(ModeNo == 0x4a || ModeNo == 0x49) temp--; temp 2169 drivers/video/fbdev/sis/init.c SiS_SetReg(SiS_Pr->SiS_P3c4,0x10,temp); temp 2306 drivers/video/fbdev/sis/init.c unsigned short temp, index, VCLK, MCLK, colorth; temp 2326 drivers/video/fbdev/sis/init.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x35) & 0xc3; temp 2327 drivers/video/fbdev/sis/init.c SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x16,0x3c,temp); temp 2334 drivers/video/fbdev/sis/init.c temp = SiS_GetReg(SiS_Pr->SiS_P3c4,0x16) >> 6; temp 2335 drivers/video/fbdev/sis/init.c if(!temp) break; temp 2336 drivers/video/fbdev/sis/init.c SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x16,0x3f,((temp - 1) << 6)); temp 2342 drivers/video/fbdev/sis/init.c temp = (ThresholdLow << 4) | 0x0f; temp 2343 drivers/video/fbdev/sis/init.c SiS_SetReg(SiS_Pr->SiS_P3c4,0x08,temp); temp 2345 drivers/video/fbdev/sis/init.c temp = (ThresholdLow & 0x10) << 1; temp 2346 drivers/video/fbdev/sis/init.c if(ModeNo > 0x13) temp |= 0x40; temp 2347 drivers/video/fbdev/sis/init.c SiS_SetRegANDOR(SiS_Pr->SiS_P3c4,0x0f,0x9f,temp); temp 2353 drivers/video/fbdev/sis/init.c temp = ThresholdLow + 3; temp 2354 drivers/video/fbdev/sis/init.c if(temp > 0x0f) temp = 0x0f; temp 2355 drivers/video/fbdev/sis/init.c SiS_SetReg(SiS_Pr->SiS_P3c4,0x09,temp); temp 3077 drivers/video/fbdev/sis/init.c unsigned short temp; temp 3082 drivers/video/fbdev/sis/init.c temp = ROMAddr[VB310Data_1_2_Offset] | 0x40; temp 3083 drivers/video/fbdev/sis/init.c if(SiS_Pr->SiS_ROMNew) temp = ROMAddr[0x80] | 0x40; temp 3084 drivers/video/fbdev/sis/init.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x02,temp); temp 3086 drivers/video/fbdev/sis/init.c temp = ROMAddr[0x7e] | 0x40; temp 3087 drivers/video/fbdev/sis/init.c if(SiS_Pr->SiS_ROMNew) temp = ROMAddr[0x80] | 0x40; temp 3088 drivers/video/fbdev/sis/init.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x02,temp); temp 3091 drivers/video/fbdev/sis/init.c temp = 0x40; temp 3092 drivers/video/fbdev/sis/init.c if(SiS_Pr->SiS_XGIROM) temp |= ROMAddr[0x7e]; temp 3094 drivers/video/fbdev/sis/init.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x02,temp); temp 3545 drivers/video/fbdev/sis/init.c int A, B, C, D, E, F, temp; temp 3575 drivers/video/fbdev/sis/init.c temp = HBE - ((E - 1) & 255); temp 3576 drivers/video/fbdev/sis/init.c B = (temp > 0) ? temp : (temp + 256); temp 3578 drivers/video/fbdev/sis/init.c temp = HRE - ((E + F + 3) & 63); temp 3579 drivers/video/fbdev/sis/init.c C = (temp > 0) ? temp : (temp + 64); temp 3623 drivers/video/fbdev/sis/init.c temp = VBE - ((E - 1) & 511); temp 3624 drivers/video/fbdev/sis/init.c B = (temp > 0) ? temp : (temp + 512); temp 3628 drivers/video/fbdev/sis/init.c temp = VRE - ((E + F - 1) & 31); temp 3629 drivers/video/fbdev/sis/init.c C = (temp > 0) ? temp : (temp + 32); temp 613 drivers/video/fbdev/sis/init301.c unsigned short modeflag,index,temp,backupindex; temp 652 drivers/video/fbdev/sis/init301.c temp = LCDRefreshIndex[SiS_GetBIOSLCDResInfo(SiS_Pr)]; temp 653 drivers/video/fbdev/sis/init301.c if(index > temp) index = temp; temp 679 drivers/video/fbdev/sis/init301.c temp = SiS_Pr->SiS_RefIndex[RRTI + i].Ext_InfoFlag; temp 680 drivers/video/fbdev/sis/init301.c temp &= ModeTypeMask; temp 681 drivers/video/fbdev/sis/init301.c if(temp < SiS_Pr->SiS_ModeType) break; temp 688 drivers/video/fbdev/sis/init301.c temp = SiS_Pr->SiS_RefIndex[RRTI + i - 1].Ext_InfoFlag; temp 689 drivers/video/fbdev/sis/init301.c if(temp & InterlaceMode) i++; temp 730 drivers/video/fbdev/sis/init301.c unsigned short temp,temp1; temp 734 drivers/video/fbdev/sis/init301.c temp = 1 << ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) >> 4) & 0x0f); temp 736 drivers/video/fbdev/sis/init301.c if(temp1 & temp) return true; temp 746 drivers/video/fbdev/sis/init301.c unsigned short temp,temp1; temp 750 drivers/video/fbdev/sis/init301.c temp = 1 << ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) >> 4) & 0x0f); temp 752 drivers/video/fbdev/sis/init301.c if(temp1 & temp) return true; temp 973 drivers/video/fbdev/sis/init301.c unsigned short tempal,temp,i,j; temp 975 drivers/video/fbdev/sis/init301.c temp = 0; temp 979 drivers/video/fbdev/sis/init301.c if(temp & 0x01) { temp 987 drivers/video/fbdev/sis/init301.c temp ^= 0x01; temp 1238 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 1245 drivers/video/fbdev/sis/init301.c temp = SiS_GetRegShort((acpibase + 0x3c)); /* ACPI register 0x3c: GP Event 1 I/O mode select */ temp 1246 drivers/video/fbdev/sis/init301.c temp &= 0xFEFF; temp 1247 drivers/video/fbdev/sis/init301.c SiS_SetRegShort((acpibase + 0x3c), temp); temp 1248 drivers/video/fbdev/sis/init301.c temp = SiS_GetRegShort((acpibase + 0x3c)); temp 1249 drivers/video/fbdev/sis/init301.c temp = SiS_GetRegShort((acpibase + 0x3a)); /* ACPI register 0x3a: GP Pin Level (low/high) */ temp 1250 drivers/video/fbdev/sis/init301.c temp &= 0xFEFF; temp 1251 drivers/video/fbdev/sis/init301.c if(!(myvbinfo & SetCRT2ToTV)) temp |= 0x0100; temp 1252 drivers/video/fbdev/sis/init301.c SiS_SetRegShort((acpibase + 0x3a), temp); temp 1253 drivers/video/fbdev/sis/init301.c temp = SiS_GetRegShort((acpibase + 0x3a)); temp 1261 drivers/video/fbdev/sis/init301.c unsigned short tempax, tempbx, temp; temp 1278 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x30); temp 1279 drivers/video/fbdev/sis/init301.c tempbx |= temp; temp 1304 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x38); temp 1305 drivers/video/fbdev/sis/init301.c if((temp & (EnableDualEdge | SetToLCDA)) == (EnableDualEdge | SetToLCDA)) { temp 1313 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x35) & 0xe0; temp 1314 drivers/video/fbdev/sis/init301.c if(temp == 0x60) tempbx |= SetCRT2ToHiVision; temp 1322 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x38); temp 1323 drivers/video/fbdev/sis/init301.c if(temp & SetToLCDA) { temp 1327 drivers/video/fbdev/sis/init301.c if(temp & EnableCHYPbPr) { temp 1341 drivers/video/fbdev/sis/init301.c temp = SetCRT2ToSVIDEO | temp 1352 drivers/video/fbdev/sis/init301.c temp = SetCRT2ToAVIDEO | temp 1359 drivers/video/fbdev/sis/init301.c temp = SetCRT2ToLCDA | temp 1364 drivers/video/fbdev/sis/init301.c temp = SetCRT2ToTV | SetCRT2ToLCD; temp 1366 drivers/video/fbdev/sis/init301.c temp = SetCRT2ToLCD; temp 1371 drivers/video/fbdev/sis/init301.c if(!(tempbx & temp)) { temp 1489 drivers/video/fbdev/sis/init301.c unsigned char temp; temp 1510 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x38); temp 1511 drivers/video/fbdev/sis/init301.c if(temp & 0x08) { temp 1512 drivers/video/fbdev/sis/init301.c switch((temp >> 4)) { temp 1532 drivers/video/fbdev/sis/init301.c unsigned short temp, temp1, resinfo = 0, romindex = 0; temp 1549 drivers/video/fbdev/sis/init301.c temp = 0; temp 1552 drivers/video/fbdev/sis/init301.c temp = 0x35; temp 1555 drivers/video/fbdev/sis/init301.c temp = 0x38; temp 1561 drivers/video/fbdev/sis/init301.c if(temp) { temp 1565 drivers/video/fbdev/sis/init301.c SiS_SetRegAND(SiS_Pr->SiS_P3d4,temp,0x3F); temp 1568 drivers/video/fbdev/sis/init301.c temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,temp); temp 1598 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x35); temp 1599 drivers/video/fbdev/sis/init301.c if((temp & TVOverScan) || (SiS_Pr->SiS_CHOverScan == 1)) { temp 1603 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x79); temp 1604 drivers/video/fbdev/sis/init301.c if((temp & 0x80) || (SiS_Pr->SiS_CHOverScan == 1)) { temp 1613 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x38); temp 1615 drivers/video/fbdev/sis/init301.c if(temp & EnablePALM) SiS_Pr->SiS_TVMode |= TVSetPALM; temp 1616 drivers/video/fbdev/sis/init301.c else if(temp & EnablePALN) SiS_Pr->SiS_TVMode |= TVSetPALN; temp 1618 drivers/video/fbdev/sis/init301.c if(temp & EnableNTSCJ) { temp 1731 drivers/video/fbdev/sis/init301.c unsigned short temp = SiS_Pr->SiS_LCDResInfo; temp 1733 drivers/video/fbdev/sis/init301.c switch(temp) { temp 1734 drivers/video/fbdev/sis/init301.c case Panel_1280x768_2: temp = Panel_1280x768; break; temp 1735 drivers/video/fbdev/sis/init301.c case Panel_1280x800_2: temp = Panel_1280x800; break; temp 1736 drivers/video/fbdev/sis/init301.c case Panel_1280x854: temp = Panel661_1280x854; break; temp 1738 drivers/video/fbdev/sis/init301.c return temp; temp 1746 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 1749 drivers/video/fbdev/sis/init301.c if((temp = SISGETROMW(6)) != SiS_Pr->PanelHT) { temp 1751 drivers/video/fbdev/sis/init301.c SiS_Pr->PanelHT = temp; temp 1753 drivers/video/fbdev/sis/init301.c if((temp = SISGETROMW(8)) != SiS_Pr->PanelVT) { temp 1755 drivers/video/fbdev/sis/init301.c SiS_Pr->PanelVT = temp; temp 1792 drivers/video/fbdev/sis/init301.c unsigned short temp,modeflag,resinfo=0,modexres=0,modeyres=0; temp 1826 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x36); temp 1829 drivers/video/fbdev/sis/init301.c if(temp == 0) temp = 0x02; temp 1834 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_LCDTypeInfo = temp >> 4; temp 1836 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_LCDTypeInfo = (temp & 0x0F) - 1; temp 1838 drivers/video/fbdev/sis/init301.c temp &= 0x0f; temp 1843 drivers/video/fbdev/sis/init301.c if(temp < 0x0f) temp &= 0x07; temp 1846 drivers/video/fbdev/sis/init301.c temp = SiS300SeriesLCDRes[temp]; temp 1853 drivers/video/fbdev/sis/init301.c if (temp == Panel310_1152x768) temp = Panel_320x240_2; /* Verified working */ temp 1854 drivers/video/fbdev/sis/init301.c else if(temp == Panel310_320x240_2) temp = Panel_320x240_2; temp 1855 drivers/video/fbdev/sis/init301.c else if(temp == Panel310_320x240_3) temp = Panel_320x240_3; temp 1857 drivers/video/fbdev/sis/init301.c if(temp == Panel661_1280x854) temp = Panel_1280x854; temp 1862 drivers/video/fbdev/sis/init301.c if(temp == Panel310_1280x768) { temp 1863 drivers/video/fbdev/sis/init301.c temp = Panel_1280x768_2; temp 1866 drivers/video/fbdev/sis/init301.c if(temp == Panel661_1280x800) { temp 1867 drivers/video/fbdev/sis/init301.c temp = Panel_1280x800_2; temp 1872 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_LCDResInfo = temp; temp 1894 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x37); temp 1895 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_LCDInfo = temp & ~0x000e; temp 1919 drivers/video/fbdev/sis/init301.c if(temp & 0x08) SiS_Pr->SiS_LCDInfo |= LCDPass11; temp 1923 drivers/video/fbdev/sis/init301.c if(temp & 0x02) SiS_Pr->SiS_LCDInfo |= LCDDualLink; temp 1934 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x35); temp 1935 drivers/video/fbdev/sis/init301.c if(temp & 0x01) SiS_Pr->SiS_LCDInfo |= LCDRGB18Bit; temp 1937 drivers/video/fbdev/sis/init301.c if(temp & 0x02) SiS_Pr->SiS_LCDInfo |= LCDDualLink; temp 4131 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 4141 drivers/video/fbdev/sis/init301.c temp = 0x00; temp 4143 drivers/video/fbdev/sis/init301.c temp = 0x80; temp 4146 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x27,0x7f,temp); temp 4163 drivers/video/fbdev/sis/init301.c unsigned short temp=0; temp 4297 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_Part1Port,0x00); temp 4300 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x00,temp); temp 4357 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_Part1Port,0x00); temp 4360 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x00,temp); temp 4437 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x61); temp 4438 drivers/video/fbdev/sis/init301.c if(temp < 1) { temp 4559 drivers/video/fbdev/sis/init301.c unsigned short temp=0, tempah; temp 4610 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3c4,0x32) & 0xDF; /* lock mode */ temp 4613 drivers/video/fbdev/sis/init301.c if(!(tempah & SetCRT2ToRAMDAC)) temp |= 0x20; temp 4615 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_P3c4,0x32,temp); temp 4704 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3c4,0x32) & 0xDF; temp 4708 drivers/video/fbdev/sis/init301.c if(!(SiS_LCDAEnabled(SiS_Pr))) temp |= 0x20; temp 4711 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_P3c4,0x32,temp); temp 4950 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3c4,0x32) & 0xDF; /* lock mode */ temp 4953 drivers/video/fbdev/sis/init301.c if(!(tempah & SetCRT2ToRAMDAC)) temp |= 0x20; temp 4955 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_P3c4,0x32,temp); temp 4960 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_Part1Port,0x2E); temp 4961 drivers/video/fbdev/sis/init301.c if(!(temp & 0x80)) { temp 5057 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x66); temp 5058 drivers/video/fbdev/sis/init301.c temp &= 0x20; temp 5080 drivers/video/fbdev/sis/init301.c if(temp) { temp 5148 drivers/video/fbdev/sis/init301.c unsigned char temp; temp 5157 drivers/video/fbdev/sis/init301.c temp = (unsigned char)(((offset >> 3) & 0xFF) + 1); temp 5158 drivers/video/fbdev/sis/init301.c if(offset & 0x07) temp++; temp 5159 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x03,temp); temp 5336 drivers/video/fbdev/sis/init301.c unsigned short temp, index, modeidindex, refreshratetableindex; temp 5386 drivers/video/fbdev/sis/init301.c temp = ((SiS_GetReg(SiS_Pr->SiS_P3c4,0x14) >> 6) & 0x03) << 1; temp 5387 drivers/video/fbdev/sis/init301.c if(!temp) temp++; temp 5388 drivers/video/fbdev/sis/init301.c temp <<= 2; temp 5390 drivers/video/fbdev/sis/init301.c data2 = temp - ((colorth * VCLK) / MCLK); temp 5392 drivers/video/fbdev/sis/init301.c temp = (28 * 16) % data2; temp 5394 drivers/video/fbdev/sis/init301.c if(temp) data2++; temp 5470 drivers/video/fbdev/sis/init301.c temp = data % (MCLK << 4); temp 5472 drivers/video/fbdev/sis/init301.c if(temp) data++; temp 5478 drivers/video/fbdev/sis/init301.c temp = 0x16; temp 5480 drivers/video/fbdev/sis/init301.c temp = 0x13; temp 5482 drivers/video/fbdev/sis/init301.c temp = 0x16; temp 5486 drivers/video/fbdev/sis/init301.c temp = 0x1b; temp 5488 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x01,0xe0,temp); temp 5545 drivers/video/fbdev/sis/init301.c unsigned short temp, modeflag, i, j, xres=0, VGAVDE; temp 5588 drivers/video/fbdev/sis/init301.c temp = SiS_Pr->SiS_VGAHT - 96; temp 5589 drivers/video/fbdev/sis/init301.c if(!(modeflag & HalfDCLK)) temp -= 32; temp 5591 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x04); temp 5592 drivers/video/fbdev/sis/init301.c temp |= ((SiS_GetReg(SiS_Pr->SiS_P3c4,0x0b) & 0xc0) << 2); temp 5593 drivers/video/fbdev/sis/init301.c temp -= 3; temp 5594 drivers/video/fbdev/sis/init301.c temp <<= 3; temp 5596 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_RVBHRS2) temp = SiS_Pr->SiS_RVBHRS2; temp 5598 drivers/video/fbdev/sis/init301.c SiS_Pr->CHSyncStart = temp; temp 5619 drivers/video/fbdev/sis/init301.c temp = (SiS_Pr->SiS_VGAVT - VGAVDE) >> 1; temp 5620 drivers/video/fbdev/sis/init301.c SiS_Pr->CVSyncStart = VGAVDE + temp; temp 5622 drivers/video/fbdev/sis/init301.c temp >>= 3; temp 5623 drivers/video/fbdev/sis/init301.c SiS_Pr->CVSyncEnd = SiS_Pr->CVSyncStart + temp; temp 5641 drivers/video/fbdev/sis/init301.c temp = SiS_Pr->CCRT1CRTC[16] & 0xE0; temp 5642 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,CRTranslation[0x0E],0x1F,temp); temp 5644 drivers/video/fbdev/sis/init301.c temp = (SiS_Pr->CCRT1CRTC[16] & 0x01) << 5; temp 5645 drivers/video/fbdev/sis/init301.c if(modeflag & DoubleScanMode) temp |= 0x80; temp 5646 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,CRTranslation[0x09],0x5F,temp); temp 5648 drivers/video/fbdev/sis/init301.c temp = 0; temp 5649 drivers/video/fbdev/sis/init301.c temp |= (SiS_GetReg(SiS_Pr->SiS_P3c4,0x01) & 0x01); temp 5650 drivers/video/fbdev/sis/init301.c if(modeflag & HalfDCLK) temp |= 0x08; temp 5651 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x16,temp); /* SR01: HalfDCLK[3], 8/9 div dotclock[0] */ temp 5656 drivers/video/fbdev/sis/init301.c temp = 0; temp 5658 drivers/video/fbdev/sis/init301.c temp = (SiS_GetReg(SiS_Pr->SiS_Part1Port,0x00) & 0x01) << 7; temp 5660 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x1A,temp); /* SR0E, dither[7] */ temp 5662 drivers/video/fbdev/sis/init301.c temp = SiS_GetRegByte((SiS_Pr->SiS_P3ca+0x02)); temp 5663 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x1b,temp); /* ? */ temp 5675 drivers/video/fbdev/sis/init301.c unsigned short push2, tempax, tempbx, tempcx, temp; temp 5759 drivers/video/fbdev/sis/init301.c temp = (tempax & 0x0007); temp 5760 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x1A,temp); /* BPLHDESKEW[2:0] */ temp 5761 drivers/video/fbdev/sis/init301.c temp = (tempax >> 3) & 0x00FF; temp 5762 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x16,temp); /* BPLHDESKEW[10:3] */ temp 5779 drivers/video/fbdev/sis/init301.c temp = tempax; temp 5780 drivers/video/fbdev/sis/init301.c if(temp & 0x07) temp += 8; temp 5781 drivers/video/fbdev/sis/init301.c temp >>= 3; temp 5782 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x17,temp); /* BPLHDEE */ temp 5795 drivers/video/fbdev/sis/init301.c temp = (tempcx >> 3) & 0x00FF; temp 5802 drivers/video/fbdev/sis/init301.c case 0x0d: temp = 0x56; break; temp 5803 drivers/video/fbdev/sis/init301.c case 0x10: temp = 0x60; break; temp 5804 drivers/video/fbdev/sis/init301.c case 0x13: temp = 0x5f; break; temp 5814 drivers/video/fbdev/sis/init301.c case 0x5e: temp = 0x54; break; temp 5819 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x14,temp); /* BPLHRS */ temp 5822 drivers/video/fbdev/sis/init301.c temp += 2; temp 5824 drivers/video/fbdev/sis/init301.c temp += 8; temp 5826 drivers/video/fbdev/sis/init301.c temp = tempcx + SiS_Pr->PanelHRE; temp 5827 drivers/video/fbdev/sis/init301.c if(temp >= SiS_Pr->SiS_HT) temp -= SiS_Pr->SiS_HT; temp 5828 drivers/video/fbdev/sis/init301.c temp >>= 3; temp 5832 drivers/video/fbdev/sis/init301.c temp += 10; temp 5835 drivers/video/fbdev/sis/init301.c temp &= 0x1F; temp 5836 drivers/video/fbdev/sis/init301.c temp |= ((tempcx & 0x07) << 5); temp 5837 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x15,temp); /* BPLHRE */ temp 5878 drivers/video/fbdev/sis/init301.c temp = tempbx & 0x00FF; temp 5881 drivers/video/fbdev/sis/init301.c if(ModeNo == 0x10) temp = 0xa9; temp 5884 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x18,temp); /* BPLVRS */ temp 5896 drivers/video/fbdev/sis/init301.c temp = tempcx & 0x000F; temp 5897 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x19,0xF0,temp); /* BPLVRE */ temp 5899 drivers/video/fbdev/sis/init301.c temp = ((tempbx >> 8) & 0x07) << 3; temp 5902 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VGAVDE != SiS_Pr->SiS_VDE) temp |= 0x40; temp 5904 drivers/video/fbdev/sis/init301.c } else if(SiS_Pr->SiS_VGAVDE != SiS_Pr->SiS_VDE) temp |= 0x40; temp 5905 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_SetFlag & EnableLVDSDDA) temp |= 0x40; temp 5911 drivers/video/fbdev/sis/init301.c if(SiS_GetReg(SiS_Pr->SiS_Part1Port,0x00) & 0x03) temp |= 0x80; temp 5916 drivers/video/fbdev/sis/init301.c if(SiS_GetReg(SiS_Pr->SiS_P3c4,0x06) & 0x10) temp |= 0x80; temp 5918 drivers/video/fbdev/sis/init301.c if(SiS_GetReg(SiS_Pr->SiS_Part1Port,0x00) & 0x01) temp |= 0x80; temp 5922 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x1A,tempbx,temp); temp 5957 drivers/video/fbdev/sis/init301.c temp = ((tempbx >> 8) & 0x07) << 3; temp 5958 drivers/video/fbdev/sis/init301.c temp |= ((tempcx >> 8) & 0x07); temp 5959 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x1D,temp); temp 5969 drivers/video/fbdev/sis/init301.c temp = (tempeax % (unsigned int)SiS_Pr->SiS_VDE); temp 5971 drivers/video/fbdev/sis/init301.c if(temp) tempeax++; temp 5975 drivers/video/fbdev/sis/init301.c temp = (unsigned short)(tempeax & 0x00FF); temp 5976 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x1E,temp); /* BPLVCFACT */ temp 5977 drivers/video/fbdev/sis/init301.c tempvcfact = temp; temp 5985 drivers/video/fbdev/sis/init301.c temp = (tempeax % tempebx); temp 5987 drivers/video/fbdev/sis/init301.c if(temp) tempeax++; temp 5990 drivers/video/fbdev/sis/init301.c temp = (unsigned short)(tempeax & 0x00FF); temp 5991 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x37,temp); temp 5992 drivers/video/fbdev/sis/init301.c temp = (unsigned short)((tempeax & 0x00FF00) >> 8); temp 5993 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x36,temp); temp 5994 drivers/video/fbdev/sis/init301.c temp = (unsigned short)((tempeax & 0x00030000) >> 16); temp 5995 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VDE == SiS_Pr->SiS_VGAVDE) temp |= 0x04; temp 5996 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x35,temp); temp 5999 drivers/video/fbdev/sis/init301.c temp = (unsigned short)(tempeax & 0x00FF); temp 6000 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x3c,temp); temp 6001 drivers/video/fbdev/sis/init301.c temp = (unsigned short)((tempeax & 0x00FF00) >> 8); temp 6002 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x3b,temp); temp 6003 drivers/video/fbdev/sis/init301.c temp = (unsigned short)(((tempeax & 0x00030000) >> 16) << 6); temp 6004 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x3a,0x3f,temp); temp 6005 drivers/video/fbdev/sis/init301.c temp = 0; temp 6006 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VDE != SiS_Pr->SiS_VGAVDE) temp |= 0x08; temp 6007 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x30,0xf3,temp); temp 6035 drivers/video/fbdev/sis/init301.c temp = (unsigned short)(tempecx & 0x00FF); temp 6036 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x1F,temp); temp 6054 drivers/video/fbdev/sis/init301.c temp = ((tempbx >> 8) & 0x07) << 3; temp 6055 drivers/video/fbdev/sis/init301.c temp = temp | ((tempecx >> 8) & 0x07); temp 6056 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x20,temp); temp 6063 drivers/video/fbdev/sis/init301.c temp = (unsigned short)((tempecx & 0xFF00) >> 8); temp 6064 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x22,temp); temp 6065 drivers/video/fbdev/sis/init301.c temp = (unsigned short)(tempecx & 0x00FF); temp 6066 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x23,temp); temp 6137 drivers/video/fbdev/sis/init301.c temp = (tempax >> 8) << 3; temp 6138 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x35,~0x078,temp); temp 6150 drivers/video/fbdev/sis/init301.c temp = (tempax >> 8) << 3; temp 6151 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x3C,~0x038,temp); temp 6158 drivers/video/fbdev/sis/init301.c temp = tempeax & 0x7f; temp 6160 drivers/video/fbdev/sis/init301.c if(temp) tempeax++; temp 6161 drivers/video/fbdev/sis/init301.c temp = tempeax & 0x3f; temp 6162 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x45,temp); temp 6174 drivers/video/fbdev/sis/init301.c temp = tempax & 0x00FF; temp 6175 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x43,temp); temp 6176 drivers/video/fbdev/sis/init301.c temp = ((tempax & 0xFF00) >> 8) << 3; temp 6177 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port, 0x44, 0x07, temp); temp 6184 drivers/video/fbdev/sis/init301.c temp = tempeax & 0xFF; temp 6185 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x42,temp); temp 6186 drivers/video/fbdev/sis/init301.c temp = (tempeax & 0xFF00) >> 8; temp 6187 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x41,temp); temp 6188 drivers/video/fbdev/sis/init301.c temp = ((tempeax & 0xFF0000) >> 16) | 0x10; temp 6189 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x40,temp); temp 6190 drivers/video/fbdev/sis/init301.c temp = ((tempeax & 0x01000000) >> 24) << 7; temp 6191 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port, 0x3C, 0x7F, temp); temp 6233 drivers/video/fbdev/sis/init301.c unsigned short temp=0, tempax=0, tempbx=0, tempcx=0, bridgeadd=0; temp 6276 drivers/video/fbdev/sis/init301.c temp = (SiS_Pr->SiS_VGAHT - 1) & 0x0FF; /* BTVGA2HT 0x08,0x09 */ temp 6277 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x08,temp); /* CRT2 Horizontal Total */ temp 6279 drivers/video/fbdev/sis/init301.c temp = (((SiS_Pr->SiS_VGAHT - 1) & 0xFF00) >> 8) << 4; temp 6280 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x09,0x0f,temp); /* CRT2 Horizontal Total Overflow [7:4] */ temp 6282 drivers/video/fbdev/sis/init301.c temp = (SiS_Pr->SiS_VGAHDE + 12) & 0x0FF; /* BTVGA2HDEE 0x0A,0x0C */ temp 6283 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x0A,temp); /* CRT2 Horizontal Display Enable End */ temp 6313 drivers/video/fbdev/sis/init301.c temp = (tempcx >> 4) & 0xF0; temp 6314 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x09,0x0F,temp); /* CRT2 Horizontal Total Overflow [7:4] */ temp 6399 drivers/video/fbdev/sis/init301.c temp = ((tempbx >> 8) & 0x0F) | ((pushbx >> 4) & 0xF0); temp 6400 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x0C,temp); /* Overflow */ temp 6405 drivers/video/fbdev/sis/init301.c temp = tempcx & 0x00FF; temp 6412 drivers/video/fbdev/sis/init301.c temp--; temp 6416 drivers/video/fbdev/sis/init301.c temp--; temp 6419 drivers/video/fbdev/sis/init301.c temp--; temp 6422 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x0E,temp); /* CRT2 Vertical Total */ temp 6427 drivers/video/fbdev/sis/init301.c temp = ((tempbx >> 5) & 0x38) | ((tempcx >> 8) & 0x07); temp 6428 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x12,temp); /* Overflow */ temp 6472 drivers/video/fbdev/sis/init301.c temp = ((tempbx >> 4) & 0x70) | (tempcx & 0x0F); temp 6473 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x11,temp); /* CRT2 Vert. Retrace End; Overflow */ temp 6482 drivers/video/fbdev/sis/init301.c temp = 0x20; temp 6484 drivers/video/fbdev/sis/init301.c temp = 0x10; temp 6485 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDResInfo == Panel_1024x768) temp = 0x2c; temp 6486 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDResInfo == Panel_1280x1024) temp = 0x20; temp 6489 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDResInfo == Panel_1280x1024) temp = 0x20; temp 6491 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDResInfo == Panel_1280x960) temp = 0x24; temp 6492 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDResInfo == Panel_Custom) temp = 0x2c; temp 6493 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToTV) temp = 0x08; temp 6495 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetInSlaveMode) temp = 0x2c; temp 6496 drivers/video/fbdev/sis/init301.c else temp = 0x20; temp 6501 drivers/video/fbdev/sis/init301.c temp = ROMAddr[0x221]; temp 6503 drivers/video/fbdev/sis/init301.c temp = ROMAddr[0x222]; temp 6505 drivers/video/fbdev/sis/init301.c temp = ROMAddr[0x223]; temp 6507 drivers/video/fbdev/sis/init301.c temp = ROMAddr[0x224]; temp 6511 drivers/video/fbdev/sis/init301.c if(SiS_Pr->PDC != -1) temp = SiS_Pr->PDC; temp 6515 drivers/video/fbdev/sis/init301.c temp = 0x20; temp 6517 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDResInfo == Panel_640x480) temp = 0x04; temp 6521 drivers/video/fbdev/sis/init301.c temp = ROMAddr[0x220]; temp 6525 drivers/video/fbdev/sis/init301.c if(SiS_Pr->PDC != -1) temp = SiS_Pr->PDC; temp 6529 drivers/video/fbdev/sis/init301.c temp &= 0x3c; temp 6531 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x13,~0x3C,temp); /* Panel Link Delay Compensation; (Software Command Reset; Power Saving) */ temp 6543 drivers/video/fbdev/sis/init301.c if(SiS_Pr->ChipType == SIS_740) temp = 0x03; temp 6544 drivers/video/fbdev/sis/init301.c else temp = 0x00; temp 6546 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToTV) temp = 0x0a; temp 6555 drivers/video/fbdev/sis/init301.c temp = 0x08; temp 6562 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x2D,tempbl,temp); /* Panel Link Delay Compensation */ temp 6650 drivers/video/fbdev/sis/init301.c unsigned char temp; temp 6665 drivers/video/fbdev/sis/init301.c temp = 0x10; temp 6666 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToTV) temp |= 0x04; temp 6667 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x4e,0xeb,temp); temp 6848 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 6852 drivers/video/fbdev/sis/init301.c temp = 0xc3; temp 6854 drivers/video/fbdev/sis/init301.c temp++; temp 6855 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBType & VB_SIS30xBLV) temp += 2; temp 6857 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x2f,temp); temp 6860 drivers/video/fbdev/sis/init301.c temp = 0x4d; temp 6862 drivers/video/fbdev/sis/init301.c temp++; temp 6863 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBType & VB_SIS30xBLV) temp++; temp 6865 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x2f,temp); temp 6875 drivers/video/fbdev/sis/init301.c temp = 1; temp 6876 drivers/video/fbdev/sis/init301.c if(ModeNo <= 0x13) temp = 3; temp 6877 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x0b,temp); temp 6908 drivers/video/fbdev/sis/init301.c unsigned short i, j, tempax, tempbx, tempcx, tempch, tempcl, temp; temp 6931 drivers/video/fbdev/sis/init301.c temp = 0; temp 6932 drivers/video/fbdev/sis/init301.c if(!(SiS_Pr->SiS_VBInfo & SetCRT2ToAVIDEO)) temp |= 0x08; temp 6933 drivers/video/fbdev/sis/init301.c if(!(SiS_Pr->SiS_VBInfo & SetCRT2ToSVIDEO)) temp |= 0x04; temp 6934 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToSCART) temp |= 0x02; temp 6935 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToHiVision) temp |= 0x01; temp 6937 drivers/video/fbdev/sis/init301.c if(!(SiS_Pr->SiS_TVMode & TVSetPAL)) temp |= 0x10; temp 6939 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x00,temp); temp 7038 drivers/video/fbdev/sis/init301.c temp = tempax + (unsigned short)TimingPoint[0]; temp 7039 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x01,temp); temp 7041 drivers/video/fbdev/sis/init301.c temp = tempax + (unsigned short)TimingPoint[1]; temp 7042 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x02,temp); temp 7131 drivers/video/fbdev/sis/init301.c temp = (tempcx >> 8) & 0x0F; temp 7132 drivers/video/fbdev/sis/init301.c temp |= ((tempbx >> 2) & 0xC0); temp 7134 drivers/video/fbdev/sis/init301.c temp |= 0x10; temp 7135 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToAVIDEO) temp |= 0x20; temp 7137 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x30,temp); temp 7150 drivers/video/fbdev/sis/init301.c temp = ((tempbx >> 3) & 0x60) | 0x18; temp 7151 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x46,temp); temp 7210 drivers/video/fbdev/sis/init301.c temp = (tempcx & 0x0300) >> 6; temp 7211 drivers/video/fbdev/sis/init301.c temp |= ((tempbx >> 8) & 0x03); temp 7213 drivers/video/fbdev/sis/init301.c temp |= 0x10; temp 7214 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetYPbPr525p) temp |= 0x20; temp 7215 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_TVMode & TVSetYPbPr750p) temp |= 0x40; temp 7217 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x4D,temp); temp 7219 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x43); temp 7220 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x43,(temp - 3)); temp 7225 drivers/video/fbdev/sis/init301.c temp = 0; temp 7226 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetPALM) temp = 8; temp 7227 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x4e,0xf7,temp); temp 7234 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x01); temp 7235 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x01,(temp - 1)); temp 7256 drivers/video/fbdev/sis/init301.c temp = 0x01; temp 7260 drivers/video/fbdev/sis/init301.c temp = 0x02; temp 7262 drivers/video/fbdev/sis/init301.c temp = 0x01; temp 7267 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x0B,temp); temp 7275 drivers/video/fbdev/sis/init301.c temp = (tempcx >> 3) & 0xE0; temp 7279 drivers/video/fbdev/sis/init301.c temp |= 0x10; temp 7282 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x1A,0x0f,temp); temp 7354 drivers/video/fbdev/sis/init301.c temp = (tempbx >> 5) & 0x38; temp 7355 drivers/video/fbdev/sis/init301.c temp |= ((tempcx >> 8) & 0x07); temp 7356 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x02,temp); temp 7401 drivers/video/fbdev/sis/init301.c temp = (tempbx >> 4) & 0xF0; temp 7403 drivers/video/fbdev/sis/init301.c temp |= (tempbx & 0x0F); temp 7406 drivers/video/fbdev/sis/init301.c temp &= 0xf0; temp 7407 drivers/video/fbdev/sis/init301.c temp |= (SiS_Pr->CVSyncEnd & 0x0f); temp 7410 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x01,temp); temp 7423 drivers/video/fbdev/sis/init301.c temp = 0; temp 7426 drivers/video/fbdev/sis/init301.c temp = SiS_Pr->SiS_HT - ((SiS_Pr->PanelXRes - SiS_Pr->SiS_HDE) / 2); temp 7427 drivers/video/fbdev/sis/init301.c if(SiS_IsDualLink(SiS_Pr)) temp >>= 1; temp 7430 drivers/video/fbdev/sis/init301.c temp += bridgeoffset; temp 7431 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x1F,temp); /* lcdhdes */ temp 7432 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x20,0x0F,((temp >> 4) & 0xf0)); temp 7572 drivers/video/fbdev/sis/init301.c unsigned short temp, temp1, temp2; temp 7576 drivers/video/fbdev/sis/init301.c temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift); temp 7577 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x1f,temp); temp 7578 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x20,0x0f,((temp >> 4) & 0xf0)); temp 7579 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_Part2Port,0x2b) & 0x0f; temp 7580 drivers/video/fbdev/sis/init301.c temp = (unsigned short)((int)(temp) + shift); temp 7581 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x2b,0xf0,(temp & 0x0f)); temp 7584 drivers/video/fbdev/sis/init301.c temp = (unsigned short)((int)((temp1 | ((temp2 & 0xf0) << 4))) + shift); temp 7585 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x43,temp); temp 7586 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x42,0x0f,((temp >> 4) & 0xf0)); temp 7593 drivers/video/fbdev/sis/init301.c unsigned short temp, temp1; temp 7606 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_Part4Port,0x3a); temp 7607 drivers/video/fbdev/sis/init301.c if(!(temp & 0x01)) { temp 7614 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetYPbPr750p) temp = 0x0000; temp 7615 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_TVMode & TVSetYPbPr525p) temp = 0x0002; temp 7616 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_TVMode & TVSetHiVision) temp = 0x0400; temp 7617 drivers/video/fbdev/sis/init301.c else temp = 0x0402; temp 7622 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVAspect43LB) temp |= 0x01; temp 7623 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x26,0x7c,(temp & 0xff)); temp 7624 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x3a,0xfb,(temp >> 8)); temp 7630 drivers/video/fbdev/sis/init301.c if(temp1 == 0x01) temp |= 0x01; temp 7631 drivers/video/fbdev/sis/init301.c if(temp1 == 0x03) temp |= 0x04; /* ? why not 0x10? */ temp 7632 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x26,0xf8,(temp & 0xff)); temp 7633 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x3a,0xfb,(temp >> 8)); temp 7664 drivers/video/fbdev/sis/init301.c unsigned short vclkindex, temp, reg1, reg2; temp 7690 drivers/video/fbdev/sis/init301.c temp = 0x08; temp 7691 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToRAMDAC) temp |= 0x20; temp 7692 drivers/video/fbdev/sis/init301.c SiS_SetRegOR(SiS_Pr->SiS_Part4Port,0x12,temp); temp 7723 drivers/video/fbdev/sis/init301.c unsigned short tempax, tempcx, tempbx, modeflag, temp, resinfo; temp 7763 drivers/video/fbdev/sis/init301.c temp = (tempbx >> 1) & 0x80; temp 7768 drivers/video/fbdev/sis/init301.c temp |= ((tempcx >> 5) & 0x78); temp 7774 drivers/video/fbdev/sis/init301.c temp |= ((tempcx >> 8) & 0x07); temp 7775 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x15,temp); temp 7782 drivers/video/fbdev/sis/init301.c temp = 0; temp 7783 drivers/video/fbdev/sis/init301.c if(tempbx > 800) temp = 0x60; temp 7785 drivers/video/fbdev/sis/init301.c temp = 0; temp 7786 drivers/video/fbdev/sis/init301.c if(tempbx > 1024) temp = 0xC0; temp 7787 drivers/video/fbdev/sis/init301.c else if(tempbx >= 960) temp = 0xA0; temp 7789 drivers/video/fbdev/sis/init301.c temp = 0; temp 7790 drivers/video/fbdev/sis/init301.c if(tempbx >= 1280) temp = 0x40; temp 7791 drivers/video/fbdev/sis/init301.c else if(tempbx >= 1024) temp = 0x20; temp 7793 drivers/video/fbdev/sis/init301.c temp = 0x80; temp 7794 drivers/video/fbdev/sis/init301.c if(tempbx >= 1024) temp = 0xA0; temp 7797 drivers/video/fbdev/sis/init301.c temp |= SiS_Pr->Init_P4_0E; temp 7801 drivers/video/fbdev/sis/init301.c temp &= 0xf0; temp 7802 drivers/video/fbdev/sis/init301.c temp |= 0x0A; temp 7806 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x0E,0x10,temp); temp 7811 drivers/video/fbdev/sis/init301.c if(!(temp & 0xE0)) tempebx >>=1; temp 7830 drivers/video/fbdev/sis/init301.c temp = (unsigned short)(tempeax & 0x000000FF); temp 7831 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x1B,temp); temp 7832 drivers/video/fbdev/sis/init301.c temp = (unsigned short)((tempeax & 0x0000FF00) >> 8); temp 7833 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x1A,temp); temp 7834 drivers/video/fbdev/sis/init301.c temp = (unsigned short)((tempeax >> 12) & 0x70); /* sic! */ temp 7835 drivers/video/fbdev/sis/init301.c temp |= (tempcx & 0x4F); temp 7836 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x19,temp); temp 7856 drivers/video/fbdev/sis/init301.c temp = tempax % 32; temp 7858 drivers/video/fbdev/sis/init301.c if(temp) tempax++; temp 7872 drivers/video/fbdev/sis/init301.c temp = ((tempax >> 4) & 0x30) | tempbx; temp 7874 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part4Port,0x1E,temp); temp 7876 drivers/video/fbdev/sis/init301.c temp = 0x0036; tempbx = 0xD0; temp 7878 drivers/video/fbdev/sis/init301.c temp = 0x0026; tempbx = 0xC0; /* See En/DisableBridge() */ temp 7882 drivers/video/fbdev/sis/init301.c temp |= 0x01; temp 7885 drivers/video/fbdev/sis/init301.c temp &= ~0x01; temp 7890 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x1F,tempbx,temp); temp 7896 drivers/video/fbdev/sis/init301.c temp = (tempbx >> 5) & 0x38; temp 7897 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part4Port,0x21,0xC0,temp); temp 8302 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 8307 drivers/video/fbdev/sis/init301.c temp = CHTVRegData[resindex].Reg[0]; temp 8308 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetNTSCJ) temp |= 0x10; temp 8309 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x00,temp); temp 8318 drivers/video/fbdev/sis/init301.c temp = CHTVRegData[resindex].Reg[7]; temp 8319 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetNTSCJ) temp = 0x66; temp 8320 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x07,temp); temp 8331 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x21) & ~0x02; temp 8338 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & (TVSetPALN | TVSetNTSCJ)) temp |= 0x02; temp 8339 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x21,temp); temp 8356 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 8363 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x66); temp 8364 drivers/video/fbdev/sis/init301.c temp |= 0x20; temp 8365 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x66,temp); temp 8373 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 8377 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x66); temp 8378 drivers/video/fbdev/sis/init301.c temp &= 0xDF; temp 8379 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x66,temp); temp 8521 drivers/video/fbdev/sis/init301.c unsigned char temp, temp1; temp 8525 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x47); temp 8526 drivers/video/fbdev/sis/init301.c temp &= 0x7f; /* Use external VSYNC */ temp 8527 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x47,temp); temp 8529 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x47); temp 8530 drivers/video/fbdev/sis/init301.c temp |= 0x80; /* Use internal VSYNC */ temp 8531 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x47,temp); temp 8538 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 8542 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x1c); temp 8543 drivers/video/fbdev/sis/init301.c temp |= 0x04; /* Invert XCLK phase */ temp 8544 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x1c,temp); temp 8547 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x01); temp 8548 drivers/video/fbdev/sis/init301.c temp &= 0x3f; temp 8549 drivers/video/fbdev/sis/init301.c temp |= 0x80; /* Enable YPrPb (HDTV) */ temp 8550 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x01,temp); temp 8553 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x01); temp 8554 drivers/video/fbdev/sis/init301.c temp &= 0x3f; temp 8555 drivers/video/fbdev/sis/init301.c temp |= 0xc0; /* Enable SCART + CVBS */ temp 8556 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x01,temp); temp 8563 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x49); temp 8565 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x73); temp 8566 drivers/video/fbdev/sis/init301.c temp |= 0x60; temp 8567 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x73,temp); temp 8569 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x47); temp 8570 drivers/video/fbdev/sis/init301.c temp &= 0x7f; temp 8571 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x47,temp); temp 8573 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x47); temp 8574 drivers/video/fbdev/sis/init301.c temp |= 0x80; temp 8575 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x47,temp); temp 8583 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 8594 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x76); temp 8595 drivers/video/fbdev/sis/init301.c temp &= 0xfc; temp 8596 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x76,temp); temp 8605 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 8609 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x4a); /* Version ID */ temp 8610 drivers/video/fbdev/sis/init301.c temp &= 0x01; temp 8611 drivers/video/fbdev/sis/init301.c if(!temp) { temp 8614 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x49); temp 8625 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x49,temp); temp 8631 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x5c); temp 8632 drivers/video/fbdev/sis/init301.c temp &= 0xef; temp 8633 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x5c,temp); temp 8634 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x5c); temp 8635 drivers/video/fbdev/sis/init301.c temp |= 0x10; temp 8636 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x5c,temp); temp 8637 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x5c); temp 8638 drivers/video/fbdev/sis/init301.c temp &= 0xef; temp 8639 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x5c,temp); temp 8640 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x61); temp 8641 drivers/video/fbdev/sis/init301.c if(!temp) { temp 8657 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 8668 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x49); temp 8669 drivers/video/fbdev/sis/init301.c temp &= 1; temp 8670 drivers/video/fbdev/sis/init301.c if(temp != 1) { /* TV block powered? (0 = yes, 1 = no) */ temp 8671 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x47); temp 8672 drivers/video/fbdev/sis/init301.c temp &= 0x70; temp 8673 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x47,temp); /* enable VSYNC */ temp 8675 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x47); temp 8676 drivers/video/fbdev/sis/init301.c temp |= 0x80; temp 8677 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x47,temp); /* disable VSYNC */ temp 8686 drivers/video/fbdev/sis/init301.c unsigned short temp,temp1; temp 8690 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x61); temp 8691 drivers/video/fbdev/sis/init301.c if(temp < 1) { temp 8692 drivers/video/fbdev/sis/init301.c temp++; temp 8693 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x61,temp); temp 8703 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x61); temp 8704 drivers/video/fbdev/sis/init301.c if(temp < 2) { temp 8705 drivers/video/fbdev/sis/init301.c temp++; temp 8706 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x61,temp); temp 8710 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x66); temp 8711 drivers/video/fbdev/sis/init301.c temp |= 0x5f; temp 8712 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x66,temp); temp 8723 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x76); temp 8724 drivers/video/fbdev/sis/init301.c temp |= 0x03; temp 8725 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x76,temp); temp 8726 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x66); temp 8727 drivers/video/fbdev/sis/init301.c temp &= 0x7f; temp 8728 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x66,temp); temp 8737 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 8742 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x66); temp 8743 drivers/video/fbdev/sis/init301.c temp &= 0x04; /* PLL stable? -> bail out */ temp 8744 drivers/video/fbdev/sis/init301.c if(temp == 0x04) break; temp 8753 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x76); temp 8754 drivers/video/fbdev/sis/init301.c temp &= 0xfb; /* Reset PLL */ temp 8755 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x76,temp); temp 8757 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x76); temp 8758 drivers/video/fbdev/sis/init301.c temp |= 0x04; /* PLL normal operation */ temp 8759 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x76,temp); temp 8774 drivers/video/fbdev/sis/init301.c unsigned short temp; temp 8776 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x03); temp 8777 drivers/video/fbdev/sis/init301.c temp |= 0x80; /* Set datapath 1 to TV */ temp 8778 drivers/video/fbdev/sis/init301.c temp &= 0xbf; /* Set datapath 2 to LVDS */ temp 8779 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x03,temp); temp 8783 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x1c); temp 8784 drivers/video/fbdev/sis/init301.c temp &= 0xfb; /* Normal XCLK phase */ temp 8785 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x1c,temp); temp 8789 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x64); temp 8790 drivers/video/fbdev/sis/init301.c temp |= 0x40; /* ? Bit not defined */ temp 8791 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x64,temp); temp 8793 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x03); temp 8794 drivers/video/fbdev/sis/init301.c temp &= 0x3f; /* D1 input to both LVDS and TV */ temp 8795 drivers/video/fbdev/sis/init301.c SiS_SetCH701x(SiS_Pr,0x03,temp); temp 8805 drivers/video/fbdev/sis/init301.c temp = SiS_GetCH701x(SiS_Pr,0x66); temp 8806 drivers/video/fbdev/sis/init301.c if(temp != 0x45) { temp 8817 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_P3d4,0x34); temp 8818 drivers/video/fbdev/sis/init301.c SiS_ChrontelDoSomething3(SiS_Pr,temp); temp 9044 drivers/video/fbdev/sis/init301.c unsigned short tempah,temp; temp 9057 drivers/video/fbdev/sis/init301.c temp = SiS_WriteDDC2Data(SiS_Pr,tempah); /* Write DAB (S0=0=write) */ temp 9058 drivers/video/fbdev/sis/init301.c if(temp) continue; /* (ERROR: no ack) */ temp 9060 drivers/video/fbdev/sis/init301.c temp = SiS_WriteDDC2Data(SiS_Pr,tempah); /* Write register number */ temp 9061 drivers/video/fbdev/sis/init301.c if(temp) continue; /* (ERROR: no ack) */ temp 9064 drivers/video/fbdev/sis/init301.c temp = SiS_WriteDDC2Data(SiS_Pr,tempah);/* Write DAB (S0=0=write) */ temp 9065 drivers/video/fbdev/sis/init301.c if(temp) break; temp 9067 drivers/video/fbdev/sis/init301.c if(temp) continue; temp 9103 drivers/video/fbdev/sis/init301.c unsigned short temp, i; temp 9111 drivers/video/fbdev/sis/init301.c temp = SiS_WriteDDC2Data(SiS_Pr, SiS_Pr->SiS_DDC_DeviceAddr); /* Write DAB (S0=0=write) */ temp 9112 drivers/video/fbdev/sis/init301.c if(temp) continue; /* (ERROR: no ack) */ temp 9113 drivers/video/fbdev/sis/init301.c temp = SiS_WriteDDC2Data(SiS_Pr, (reg | myor)); /* Write RAB (700x: set bit 7, see datasheet) */ temp 9114 drivers/video/fbdev/sis/init301.c if(temp) continue; /* (ERROR: no ack) */ temp 9115 drivers/video/fbdev/sis/init301.c temp = SiS_WriteDDC2Data(SiS_Pr, val); /* Write data */ temp 9116 drivers/video/fbdev/sis/init301.c if(temp) continue; /* (ERROR: no ack) */ temp 9176 drivers/video/fbdev/sis/init301.c unsigned short tempah, temp, i; temp 9184 drivers/video/fbdev/sis/init301.c temp = SiS_WriteDDC2Data(SiS_Pr,SiS_Pr->SiS_DDC_DeviceAddr); /* Write DAB (S0=0=write) */ temp 9185 drivers/video/fbdev/sis/init301.c if(temp) continue; /* (ERROR: no ack) */ temp 9186 drivers/video/fbdev/sis/init301.c temp = SiS_WriteDDC2Data(SiS_Pr,SiS_Pr->SiS_DDC_ReadAddr | myor); /* Write RAB (700x: | 0x80) */ temp 9187 drivers/video/fbdev/sis/init301.c if(temp) continue; /* (ERROR: no ack) */ temp 9189 drivers/video/fbdev/sis/init301.c temp = SiS_WriteDDC2Data(SiS_Pr,SiS_Pr->SiS_DDC_DeviceAddr | 0x01);/* DAB (S0=1=read) */ temp 9190 drivers/video/fbdev/sis/init301.c if(temp) continue; /* (ERROR: no ack) */ temp 9279 drivers/video/fbdev/sis/init301.c unsigned short temp = 0, myadaptnum = adaptnum; temp 9335 drivers/video/fbdev/sis/init301.c temp = 4 - (myadaptnum * 2); temp 9336 drivers/video/fbdev/sis/init301.c if(flag) temp = 0; temp 9365 drivers/video/fbdev/sis/init301.c temp = myadaptnum; temp 9367 drivers/video/fbdev/sis/init301.c temp = 0; temp 9371 drivers/video/fbdev/sis/init301.c if(flag) temp = 0; temp 9374 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_DDC_Data = 0x02 << temp; temp 9375 drivers/video/fbdev/sis/init301.c SiS_Pr->SiS_DDC_Clk = 0x01 << temp; temp 9435 drivers/video/fbdev/sis/init301.c unsigned short temp, ret=0; temp 9446 drivers/video/fbdev/sis/init301.c temp = (unsigned char)SiS_ReadDDC2Data(SiS_Pr); temp 9448 drivers/video/fbdev/sis/init301.c if(temp == 0) { temp 9457 drivers/video/fbdev/sis/init301.c temp = (unsigned char)SiS_ReadDDC2Data(SiS_Pr); temp 9459 drivers/video/fbdev/sis/init301.c temp &= mask; temp 9460 drivers/video/fbdev/sis/init301.c if(temp == value) ret = 0; temp 9464 drivers/video/fbdev/sis/init301.c if(temp == 0x30) ret = 0; temp 9669 drivers/video/fbdev/sis/init301.c unsigned short i,flag,temp; temp 9688 drivers/video/fbdev/sis/init301.c temp = SiS_CheckACK(SiS_Pr); /* Check acknowledge */ temp 9689 drivers/video/fbdev/sis/init301.c return temp; temp 9695 drivers/video/fbdev/sis/init301.c unsigned short i, temp, getdata; temp 9706 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_DDC_Port,SiS_Pr->SiS_DDC_Index); temp 9707 drivers/video/fbdev/sis/init301.c if(temp & SiS_Pr->SiS_DDC_Data) getdata |= 0x01; temp 9726 drivers/video/fbdev/sis/init301.c unsigned short temp, watchdog=1000; temp 9733 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_DDC_Port,SiS_Pr->SiS_DDC_Index); temp 9734 drivers/video/fbdev/sis/init301.c } while((!(temp & SiS_Pr->SiS_DDC_Clk)) && --watchdog); temp 9889 drivers/video/fbdev/sis/init301.c unsigned short index = 0, temp = 0; temp 9905 drivers/video/fbdev/sis/init301.c temp++; temp 9907 drivers/video/fbdev/sis/init301.c temp += 0x0100; temp 9909 drivers/video/fbdev/sis/init301.c return (unsigned int)(index | (temp << 16)); temp 9953 drivers/video/fbdev/sis/init301.c unsigned short delay=0,index,myindex,temp,romptr=0; temp 10219 drivers/video/fbdev/sis/init301.c temp = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) & 0xf0) >> 4; temp 10220 drivers/video/fbdev/sis/init301.c if(temp == 8) { /* 1400x1050 BIOS (COMPAL) */ temp 10223 drivers/video/fbdev/sis/init301.c } else if(temp == 6) { temp 10226 drivers/video/fbdev/sis/init301.c } else if(temp > 7) { /* 1280x1024 BIOS (which one?) */ temp 10258 drivers/video/fbdev/sis/init301.c unsigned short index,temp,temp1,romptr=0; temp 10267 drivers/video/fbdev/sis/init301.c temp = GetTVPtrIndex(SiS_Pr); temp 10268 drivers/video/fbdev/sis/init301.c temp >>= 1; /* 0: NTSC/YPbPr, 1: PAL, 2: HiTV */ temp 10269 drivers/video/fbdev/sis/init301.c temp1 = temp; temp 10288 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr + temp1 + index]; temp 10290 drivers/video/fbdev/sis/init301.c temp = SiS310_TVAntiFlick1[temp][index]; temp 10292 drivers/video/fbdev/sis/init301.c temp <<= 4; temp 10294 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x0A,0x8f,temp); /* index 0A D[6:4] */ temp 10301 drivers/video/fbdev/sis/init301.c unsigned short index,temp,temp1,romptr=0; temp 10303 drivers/video/fbdev/sis/init301.c temp = temp1 = GetTVPtrIndex(SiS_Pr) >> 1; /* 0: NTSC/YPbPr, 1: PAL, 2: HiTV */ temp 10327 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr + temp1 + index]; temp 10329 drivers/video/fbdev/sis/init301.c temp = SiS310_TVEdge1[temp][index]; temp 10331 drivers/video/fbdev/sis/init301.c temp <<= 5; temp 10332 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x3A,0x1F,temp); /* index 0A D[7:5] */ temp 10338 drivers/video/fbdev/sis/init301.c unsigned short index, temp, i, j; temp 10346 drivers/video/fbdev/sis/init301.c temp = GetTVPtrIndex(SiS_Pr) >> 1; /* 0: NTSC/YPbPr, 1: PAL, 2: HiTV */ temp 10348 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetNTSCJ) temp = 1; /* NTSC-J uses PAL */ temp 10349 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_TVMode & TVSetPALM) temp = 3; /* PAL-M */ temp 10350 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_TVMode & TVSetPALN) temp = 4; /* PAL-N */ temp 10351 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToHiVision) temp = 1; /* HiVision uses PAL */ temp 10355 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVYFilter2[temp][index][j]); temp 10358 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVYFilter2[temp][index][j]); temp 10362 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVYFilter1[temp][index][j]); temp 10371 drivers/video/fbdev/sis/init301.c unsigned short index,temp,i,j,resinfo,romptr=0; temp 10397 drivers/video/fbdev/sis/init301.c temp = GetTVPtrIndex(SiS_Pr); temp 10420 drivers/video/fbdev/sis/init301.c romptr += (temp << 2); temp 10425 drivers/video/fbdev/sis/init301.c index = temp % 2; temp 10426 drivers/video/fbdev/sis/init301.c temp >>= 1; /* 0:NTSC, 1:PAL, 2:HiTV */ temp 10429 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVPhaseIncr1[temp][index][j]); temp 10431 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVPhaseIncr2[temp][index][j]); temp 10433 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVPhaseIncr1[temp][index][j]); temp 10619 drivers/video/fbdev/sis/init301.c unsigned char temp; temp 10638 drivers/video/fbdev/sis/init301.c temp = (infoflag >> 6) | 0x0c; temp 10640 drivers/video/fbdev/sis/init301.c temp ^= 0x04; temp 10641 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_ModeType >= Mode24Bpp) temp |= 0x10; temp 10643 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x1a,0xe0,temp); temp 10645 drivers/video/fbdev/sis/init301.c temp = 0x30; temp 10646 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDInfo & LCDRGB18Bit) temp = 0x20; temp 10647 drivers/video/fbdev/sis/init301.c temp |= infoflag; temp 10648 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x19,0x0f,temp); temp 10649 drivers/video/fbdev/sis/init301.c temp = 0; temp 10651 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_ModeType >= Mode24Bpp) temp |= 0x80; temp 10653 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x1a,0x7f,temp); temp 10753 drivers/video/fbdev/sis/init301.c unsigned short tempcl,tempch,tempbl,tempbh,tempbx,tempax,temp; temp 10876 drivers/video/fbdev/sis/init301.c temp = tempbx & 0xff; temp 10877 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x1b,temp); temp 10878 drivers/video/fbdev/sis/init301.c temp = (tempbx >> 8) & 0x03; temp 10879 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x1d,0xf8,temp); temp 10940 drivers/video/fbdev/sis/init301.c temp = tempbx & 0xff; temp 10941 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,0x04,temp); temp 10942 drivers/video/fbdev/sis/init301.c temp = ((tempbx & 0xff00) >> 4) | tempcl; temp 10943 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x01,0x80,temp); temp 10959 drivers/video/fbdev/sis/init301.c unsigned char temp; temp 10989 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_Part1Port,0x00); temp 10990 drivers/video/fbdev/sis/init301.c if(temp & 0x80) { temp 10991 drivers/video/fbdev/sis/init301.c temp = SiS_GetReg(SiS_Pr->SiS_Part1Port,0x18); temp 10992 drivers/video/fbdev/sis/init301.c temp++; temp 10993 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,0x18,temp); temp 11064 drivers/video/fbdev/sis/init301.c unsigned short index,temp,romptr=0; temp 11083 drivers/video/fbdev/sis/init301.c temp = GetOEMLCDPtr(SiS_Pr, 0); temp 11092 drivers/video/fbdev/sis/init301.c romptr += (temp * 2); temp 11095 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr]; temp 11098 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMLCDDelay2[temp][index]; temp 11100 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMLCDDelay3[temp][index]; temp 11106 drivers/video/fbdev/sis/init301.c romptr += (temp * 2); temp 11109 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr]; temp 11111 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMLCDDelay5[temp][index]; temp 11117 drivers/video/fbdev/sis/init301.c romptr += (temp * 2); temp 11120 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr]; temp 11122 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMLCDDelay4[temp][index]; temp 11125 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMLCDDelay4[temp][index]; temp 11129 drivers/video/fbdev/sis/init301.c temp &= 0x3c; temp 11130 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x13,~0x3C,temp); /* index 0A D[6:4] */ temp 11138 drivers/video/fbdev/sis/init301.c unsigned short index,temp; temp 11146 drivers/video/fbdev/sis/init301.c temp = GetOEMLCDPtr(SiS_Pr, 1); temp 11147 drivers/video/fbdev/sis/init301.c if(temp == 0xFFFF) return; temp 11151 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,i,SiS300_LCDHData[temp][index][j]); temp 11153 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_SiS_Part1Port,0x1a, 0xf8, (SiS300_LCDHData[temp][index][j] & 0x07)); temp 11156 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_SiS_Part1Port,0x18, SiS300_LCDVData[temp][index][0]); temp 11157 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_SiS_Part1Port,0x19, 0xF0, SiS300_LCDVData[temp][index][1]); temp 11158 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_SiS_Part1Port,0x1A, 0xC7, (SiS300_LCDVData[temp][index][2] & 0x38)); temp 11160 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,i,SiS300_LCDVData[temp][index][j]); temp 11187 drivers/video/fbdev/sis/init301.c unsigned short index,temp,romptr=0; temp 11195 drivers/video/fbdev/sis/init301.c temp = GetOEMTVPtr(SiS_Pr); temp 11200 drivers/video/fbdev/sis/init301.c romptr += (temp * 2); temp 11203 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr]; temp 11206 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMTVDelay301[temp][index]; temp 11208 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMTVDelayLVDS[temp][index]; temp 11211 drivers/video/fbdev/sis/init301.c temp &= 0x3c; temp 11212 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part1Port,0x13,~0x3C,temp); temp 11219 drivers/video/fbdev/sis/init301.c unsigned short index,temp,romptr=0; temp 11227 drivers/video/fbdev/sis/init301.c temp = GetOEMTVPtr(SiS_Pr); temp 11232 drivers/video/fbdev/sis/init301.c romptr += (temp * 2); temp 11235 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr]; temp 11237 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMTVFlicker[temp][index]; temp 11239 drivers/video/fbdev/sis/init301.c temp &= 0x70; temp 11240 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_Pr->SiS_Part2Port,0x0A,0x8F,temp); temp 11247 drivers/video/fbdev/sis/init301.c unsigned short index,i,j,temp,romptr=0; temp 11259 drivers/video/fbdev/sis/init301.c temp = GetOEMTVPtr(SiS_Pr); temp 11265 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS300_Phase2[temp][index][j]); temp 11269 drivers/video/fbdev/sis/init301.c romptr += (temp * 2); temp 11277 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS300_Phase1[temp][index][j]); temp 11287 drivers/video/fbdev/sis/init301.c unsigned short index,temp,i,j,romptr=0; temp 11297 drivers/video/fbdev/sis/init301.c temp = GetOEMTVPtr(SiS_Pr); temp 11299 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetPALM) temp = 8; temp 11300 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_TVMode & TVSetPALN) temp = 9; temp 11307 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS300_Filter2[temp][index][j]); temp 11310 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS300_Filter2[temp][index][j]); temp 11314 drivers/video/fbdev/sis/init301.c romptr += (temp * 2); temp 11322 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS300_Filter1[temp][index][j]); temp 540 drivers/video/fbdev/sis/sis_main.c unsigned short temp, i, realcrtno = crtno; temp 554 drivers/video/fbdev/sis/sis_main.c temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, ivideo->sisvga_engine, temp 556 drivers/video/fbdev/sis/sis_main.c if((!temp) || (temp == 0xffff)) { temp 563 drivers/video/fbdev/sis/sis_main.c (temp & 0x1a) ? "" : "[none of the supported]", temp 564 drivers/video/fbdev/sis/sis_main.c (temp & 0x02) ? "2 " : "", temp 565 drivers/video/fbdev/sis/sis_main.c (temp & 0x08) ? "D&P" : "", temp 566 drivers/video/fbdev/sis/sis_main.c (temp & 0x10) ? "FPDI-2" : ""); temp 567 drivers/video/fbdev/sis/sis_main.c if(temp & 0x02) { temp 570 drivers/video/fbdev/sis/sis_main.c temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, ivideo->sisvga_engine, temp 572 drivers/video/fbdev/sis/sis_main.c } while((temp) && i--); temp 573 drivers/video/fbdev/sis/sis_main.c if(!temp) { temp 781 drivers/video/fbdev/sis/sis_main.c u8 temp; temp 783 drivers/video/fbdev/sis/sis_main.c temp = SiS_GetReg(SISCR, 0x17); temp 784 drivers/video/fbdev/sis/sis_main.c if(!(temp & 0x80)) temp 787 drivers/video/fbdev/sis/sis_main.c temp = SiS_GetReg(SISSR, 0x1f); temp 788 drivers/video/fbdev/sis/sis_main.c if(temp & 0xc0) temp 823 drivers/video/fbdev/sis/sis_main.c unsigned char temp, reg; temp 831 drivers/video/fbdev/sis/sis_main.c temp = SiS_GetReg(SISPART1, reg); temp 832 drivers/video/fbdev/sis/sis_main.c if(temp & 0x02) temp 2070 drivers/video/fbdev/sis/sis_main.c u8 cr32, temp; temp 2080 drivers/video/fbdev/sis/sis_main.c temp = SiS_GetReg(SISSR, 0x17); temp 2081 drivers/video/fbdev/sis/sis_main.c if((temp & 0x0F) && (ivideo->chip != SIS_300)) { temp 2084 drivers/video/fbdev/sis/sis_main.c temp = SiS_GetReg(SISSR, 0x16); temp 2085 drivers/video/fbdev/sis/sis_main.c if(temp & 0x20) temp 2170 drivers/video/fbdev/sis/sis_main.c temp = SiS_GetReg(SISSR, 0x38); temp 2171 drivers/video/fbdev/sis/sis_main.c if(temp & 0x01) ivideo->vbflags |= TV_PAL; temp 2174 drivers/video/fbdev/sis/sis_main.c temp = SiS_GetReg(SISSR, 0x38); temp 2175 drivers/video/fbdev/sis/sis_main.c if(temp & 0x01) ivideo->vbflags |= TV_PAL; temp 2178 drivers/video/fbdev/sis/sis_main.c temp = SiS_GetReg(SISCR, 0x79); temp 2179 drivers/video/fbdev/sis/sis_main.c if(temp & 0x20) ivideo->vbflags |= TV_PAL; temp 2212 drivers/video/fbdev/sis/sis_main.c u16 temp = 0xffff; temp 2252 drivers/video/fbdev/sis/sis_main.c if ((SiS_GetRegByte(SISMISCW)) & 0x10) temp = 1; temp 2258 drivers/video/fbdev/sis/sis_main.c if(temp == 0xffff) { temp 2261 drivers/video/fbdev/sis/sis_main.c temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, temp 2263 drivers/video/fbdev/sis/sis_main.c } while(((temp == 0) || (temp == 0xffff)) && i--); temp 2265 drivers/video/fbdev/sis/sis_main.c if((temp == 0) || (temp == 0xffff)) { temp 2266 drivers/video/fbdev/sis/sis_main.c if(sisfb_test_DDC1(ivideo)) temp = 1; temp 2270 drivers/video/fbdev/sis/sis_main.c if((temp) && (temp != 0xffff)) { temp 2289 drivers/video/fbdev/sis/sis_main.c unsigned short temp, realcrtno, i; temp 2311 drivers/video/fbdev/sis/sis_main.c temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, ivideo->sisvga_engine, temp 2314 drivers/video/fbdev/sis/sis_main.c if((!temp) || (temp == 0xffff) || (!(temp & 0x02))) temp 2320 drivers/video/fbdev/sis/sis_main.c temp = SiS_HandleDDC(&ivideo->SiS_Pr, ivideo->vbflags, temp 2323 drivers/video/fbdev/sis/sis_main.c } while((temp) && i--); temp 2325 drivers/video/fbdev/sis/sis_main.c if(temp) temp 2375 drivers/video/fbdev/sis/sis_main.c int temp, mytest, result, i, j; temp 2382 drivers/video/fbdev/sis/sis_main.c temp = (type >> 8) | (mytest & 0x00ff); temp 2383 drivers/video/fbdev/sis/sis_main.c SiS_SetRegANDOR(SISPART4, 0x10, 0xe0, temp); temp 2387 drivers/video/fbdev/sis/sis_main.c temp = SiS_GetReg(SISPART4, 0x03); temp 2388 drivers/video/fbdev/sis/sis_main.c temp ^= 0x0e; temp 2389 drivers/video/fbdev/sis/sis_main.c temp &= mytest; temp 2390 drivers/video/fbdev/sis/sis_main.c if(temp == mytest) result++; temp 2849 drivers/video/fbdev/sis/sis_main.c u8 temp; temp 2854 drivers/video/fbdev/sis/sis_main.c temp = SIS_CMD_QUEUE_SIZE_Z7_64k; temp 2858 drivers/video/fbdev/sis/sis_main.c temp = SIS_CMD_QUEUE_SIZE_Z7_128k; temp 2863 drivers/video/fbdev/sis/sis_main.c temp = SIS_CMD_QUEUE_SIZE_4M; temp 2866 drivers/video/fbdev/sis/sis_main.c temp = SIS_CMD_QUEUE_SIZE_2M; temp 2869 drivers/video/fbdev/sis/sis_main.c temp = SIS_CMD_QUEUE_SIZE_1M; temp 2873 drivers/video/fbdev/sis/sis_main.c temp = SIS_CMD_QUEUE_SIZE_512k; temp 2890 drivers/video/fbdev/sis/sis_main.c SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, (temp | SIS_VRAM_CMDQUEUE_ENABLE)); temp 2915 drivers/video/fbdev/sis/sis_main.c temp |= (SIS_MMIO_CMD_ENABLE | SIS_CMD_AUTO_CORR); temp 2916 drivers/video/fbdev/sis/sis_main.c SiS_SetReg(SISSR, IND_SIS_CMDQUEUE_SET, temp); temp 3735 drivers/video/fbdev/sis/sis_main.c unsigned short temp; temp 3743 drivers/video/fbdev/sis/sis_main.c temp = p2_1f | ((p2_20 & 0xf0) << 4); temp 3744 drivers/video/fbdev/sis/sis_main.c temp += (val * 2); temp 3745 drivers/video/fbdev/sis/sis_main.c p2_1f = temp & 0xff; temp 3746 drivers/video/fbdev/sis/sis_main.c p2_20 = (temp & 0xf00) >> 4; temp 3748 drivers/video/fbdev/sis/sis_main.c temp = p2_43 | ((p2_42 & 0xf0) << 4); temp 3749 drivers/video/fbdev/sis/sis_main.c temp += (val * 2); temp 3750 drivers/video/fbdev/sis/sis_main.c p2_43 = temp & 0xff; temp 3751 drivers/video/fbdev/sis/sis_main.c p2_42 = (temp & 0xf00) >> 4; temp 4035 drivers/video/fbdev/sis/sis_main.c unsigned long temp = 2; temp 4036 drivers/video/fbdev/sis/sis_main.c temp = simple_strtoul(this_opt + 9, NULL, 0); temp 4037 drivers/video/fbdev/sis/sis_main.c if((temp == 0) || (temp == 1)) { temp 4038 drivers/video/fbdev/sis/sis_main.c sisfb_scalelcd = temp ^ 1; temp 4041 drivers/video/fbdev/sis/sis_main.c int temp = 0; temp 4042 drivers/video/fbdev/sis/sis_main.c temp = (int)simple_strtol(this_opt + 13, NULL, 0); temp 4043 drivers/video/fbdev/sis/sis_main.c if((temp >= -32) && (temp <= 32)) { temp 4044 drivers/video/fbdev/sis/sis_main.c sisfb_tvxposoffset = temp; temp 4047 drivers/video/fbdev/sis/sis_main.c int temp = 0; temp 4048 drivers/video/fbdev/sis/sis_main.c temp = (int)simple_strtol(this_opt + 13, NULL, 0); temp 4049 drivers/video/fbdev/sis/sis_main.c if((temp >= -32) && (temp <= 32)) { temp 4050 drivers/video/fbdev/sis/sis_main.c sisfb_tvyposoffset = temp; temp 4055 drivers/video/fbdev/sis/sis_main.c int temp = 4; temp 4056 drivers/video/fbdev/sis/sis_main.c temp = simple_strtoul(this_opt + 7, NULL, 0); temp 4057 drivers/video/fbdev/sis/sis_main.c if((temp >= 0) && (temp <= 3)) { temp 4058 drivers/video/fbdev/sis/sis_main.c sisfb_lvdshl = temp; temp 4138 drivers/video/fbdev/sis/sis_main.c u32 temp; temp 4140 drivers/video/fbdev/sis/sis_main.c for (temp = 0x000c0000; temp < 0x000f0000; temp += 0x00001000) { temp 4142 drivers/video/fbdev/sis/sis_main.c rom_base = ioremap(temp, 65536); temp 4194 drivers/video/fbdev/sis/sis_main.c unsigned short temp; temp 4204 drivers/video/fbdev/sis/sis_main.c temp = 0x1234; temp 4206 drivers/video/fbdev/sis/sis_main.c writew(temp, FBAddress); temp 4207 drivers/video/fbdev/sis/sis_main.c if(readw(FBAddress) == temp) temp 4215 drivers/video/fbdev/sis/sis_main.c temp++; temp 4585 drivers/video/fbdev/sis/sis_main.c unsigned short temp; temp 4589 drivers/video/fbdev/sis/sis_main.c temp = pdev->vendor; temp 4590 drivers/video/fbdev/sis/sis_main.c if(temp == pcivendor) { temp 660 drivers/video/fbdev/smscufx.c u32 temp; temp 691 drivers/video/fbdev/smscufx.c temp = ((h_total - 1) << 16) | (h_active - 1); temp 692 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x2008, temp); temp 695 drivers/video/fbdev/smscufx.c temp = ((h_blank_start - 1) << 16) | (h_blank_end - 1); temp 696 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x200C, temp); temp 699 drivers/video/fbdev/smscufx.c temp = ((h_sync_start - 1) << 16) | (h_sync_end - 1); temp 700 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x2010, temp); temp 711 drivers/video/fbdev/smscufx.c temp = ((v_total - 1) << 16) | (v_active - 1); temp 712 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x2014, temp); temp 715 drivers/video/fbdev/smscufx.c temp = ((v_blank_start - 1) << 16) | (v_blank_end - 1); temp 716 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x2018, temp); temp 719 drivers/video/fbdev/smscufx.c temp = ((v_sync_start - 1) << 16) | (v_sync_end - 1); temp 720 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x201C, temp); temp 730 drivers/video/fbdev/smscufx.c temp = var->xres * var->yres * 2; temp 731 drivers/video/fbdev/smscufx.c temp = (temp + 7) & (~0x7); temp 732 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x2028, temp); temp 746 drivers/video/fbdev/smscufx.c temp = 0x00000001; temp 748 drivers/video/fbdev/smscufx.c temp |= 0x00000010; temp 751 drivers/video/fbdev/smscufx.c temp |= 0x00000008; temp 753 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x2040, temp); temp 1439 drivers/video/fbdev/smscufx.c u32 temp = 0x28070000 | (63 << 20) | (((u32)(i * 64)) << 8); temp 1440 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x1100, temp); temp 1443 drivers/video/fbdev/smscufx.c temp |= 0x80000000; temp 1444 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x1100, temp); temp 481 drivers/video/fbdev/via/accel.c u32 temp, iga_path = viapar->iga_path; temp 483 drivers/video/fbdev/via/accel.c temp = readl(viapar->shared->vdev->engine_mmio + VIA_REG_CURSOR_MODE); temp 486 drivers/video/fbdev/via/accel.c temp |= 0x1; temp 489 drivers/video/fbdev/via/accel.c temp &= 0xFFFFFFFE; temp 494 drivers/video/fbdev/via/accel.c temp |= 0x80000000; temp 498 drivers/video/fbdev/via/accel.c temp &= 0x7FFFFFFF; temp 500 drivers/video/fbdev/via/accel.c writel(temp, viapar->shared->vdev->engine_mmio + VIA_REG_CURSOR_MODE); temp 762 drivers/video/fbdev/via/viafbdev.c u32 temp, xx, yy, bg_color = 0, fg_color = 0, temp 777 drivers/video/fbdev/via/viafbdev.c temp = (cursor->hot.x << 16) + cursor->hot.y; temp 778 drivers/video/fbdev/via/viafbdev.c writel(temp, engine + VIA_REG_CURSOR_ORG); temp 784 drivers/video/fbdev/via/viafbdev.c temp = yy & 0xFFFF; temp 785 drivers/video/fbdev/via/viafbdev.c temp |= (xx << 16); temp 786 drivers/video/fbdev/via/viafbdev.c writel(temp, engine + VIA_REG_CURSOR_POS); temp 800 drivers/video/fbdev/via/viafbdev.c temp = readl(engine + VIA_REG_CURSOR_MODE); temp 802 drivers/video/fbdev/via/viafbdev.c temp |= 0x2; temp 804 drivers/video/fbdev/via/viafbdev.c temp &= ~0x2; temp 806 drivers/video/fbdev/via/viafbdev.c writel(temp, engine + VIA_REG_CURSOR_MODE); temp 1794 drivers/video/hdmi.c const u8 *temp; temp 1820 drivers/video/hdmi.c temp = ptr + 2; temp 1822 drivers/video/hdmi.c x_lsb = *temp++; temp 1823 drivers/video/hdmi.c x_msb = *temp++; temp 1825 drivers/video/hdmi.c y_lsb = *temp++; temp 1826 drivers/video/hdmi.c y_msb = *temp++; temp 1273 drivers/vme/bridges/vme_ca91cx42.c struct list_head *pos, *temp; temp 1277 drivers/vme/bridges/vme_ca91cx42.c list_for_each_safe(pos, temp, &list->entries) { temp 1901 drivers/vme/bridges/vme_tsi148.c struct list_head *pos, *temp; temp 1907 drivers/vme/bridges/vme_tsi148.c list_for_each_safe(pos, temp, &list->entries) { temp 215 drivers/w1/masters/ds2482.c int temp = -1; temp 220 drivers/w1/masters/ds2482.c temp = i2c_smbus_read_byte(pdev->client); temp 221 drivers/w1/masters/ds2482.c } while ((temp >= 0) && (temp & DS2482_REG_STS_1WB) && temp 229 drivers/w1/masters/ds2482.c return temp; temp 334 drivers/w1/slaves/w1_ds2438.c int16_t temp; temp 341 drivers/w1/slaves/w1_ds2438.c if (w1_ds2438_get_temperature(sl, &temp) == 0) { temp 342 drivers/w1/slaves/w1_ds2438.c ret = snprintf(buf, count, "%i\n", temp); temp 2132 fs/ceph/mds_client.c struct dentry *temp; temp 2150 fs/ceph/mds_client.c temp = dentry; temp 2154 fs/ceph/mds_client.c spin_lock(&temp->d_lock); temp 2155 fs/ceph/mds_client.c inode = d_inode(temp); temp 2158 fs/ceph/mds_client.c pos, temp); temp 2159 fs/ceph/mds_client.c } else if (stop_on_nosnap && inode && dentry != temp && temp 2161 fs/ceph/mds_client.c spin_unlock(&temp->d_lock); temp 2165 fs/ceph/mds_client.c pos -= temp->d_name.len; temp 2167 fs/ceph/mds_client.c spin_unlock(&temp->d_lock); temp 2170 fs/ceph/mds_client.c memcpy(path + pos, temp->d_name.name, temp->d_name.len); temp 2172 fs/ceph/mds_client.c spin_unlock(&temp->d_lock); temp 2173 fs/ceph/mds_client.c temp = READ_ONCE(temp->d_parent); temp 2176 fs/ceph/mds_client.c if (IS_ROOT(temp)) temp 2185 fs/ceph/mds_client.c base = ceph_ino(d_inode(temp)); temp 94 fs/cifs/dir.c struct dentry *temp; temp 117 fs/cifs/dir.c for (temp = direntry; !IS_ROOT(temp);) { temp 118 fs/cifs/dir.c namelen += (1 + temp->d_name.len); temp 119 fs/cifs/dir.c temp = temp->d_parent; temp 120 fs/cifs/dir.c if (temp == NULL) { temp 133 fs/cifs/dir.c for (temp = direntry; !IS_ROOT(temp);) { temp 134 fs/cifs/dir.c spin_lock(&temp->d_lock); temp 135 fs/cifs/dir.c namelen -= 1 + temp->d_name.len; temp 137 fs/cifs/dir.c spin_unlock(&temp->d_lock); temp 141 fs/cifs/dir.c strncpy(full_path + namelen + 1, temp->d_name.name, temp 142 fs/cifs/dir.c temp->d_name.len); temp 145 fs/cifs/dir.c spin_unlock(&temp->d_lock); temp 146 fs/cifs/dir.c temp = temp->d_parent; temp 147 fs/cifs/dir.c if (temp == NULL) { temp 247 fs/cifs/misc.c char *temp = (char *) buffer; temp 249 fs/cifs/misc.c memset(temp, 0, 256); /* bigger than MAX_CIFS_HDR_SIZE */ temp 730 fs/cifs/misc.c char *temp; temp 755 fs/cifs/misc.c temp = (char *)ref + le16_to_cpu(ref->DfsPathOffset); temp 756 fs/cifs/misc.c max_len = data_end - temp; temp 757 fs/cifs/misc.c node->path_name = cifs_strndup_from_utf16(temp, max_len, temp 765 fs/cifs/misc.c temp = (char *)ref + le16_to_cpu(ref->NetworkAddressOffset); temp 766 fs/cifs/misc.c max_len = data_end - temp; temp 767 fs/cifs/misc.c node->node_name = cifs_strndup_from_utf16(temp, max_len, temp 580 fs/cifs/smb2transport.c struct mid_q_entry *temp; temp 588 fs/cifs/smb2transport.c temp = mempool_alloc(cifs_mid_poolp, GFP_NOFS); temp 589 fs/cifs/smb2transport.c memset(temp, 0, sizeof(struct mid_q_entry)); temp 590 fs/cifs/smb2transport.c kref_init(&temp->refcount); temp 591 fs/cifs/smb2transport.c temp->mid = le64_to_cpu(shdr->MessageId); temp 592 fs/cifs/smb2transport.c temp->credits = credits > 0 ? credits : 1; temp 593 fs/cifs/smb2transport.c temp->pid = current->pid; temp 594 fs/cifs/smb2transport.c temp->command = shdr->Command; /* Always LE */ temp 595 fs/cifs/smb2transport.c temp->when_alloc = jiffies; temp 596 fs/cifs/smb2transport.c temp->server = server; temp 603 fs/cifs/smb2transport.c temp->creator = current; temp 604 fs/cifs/smb2transport.c temp->callback = cifs_wake_up_task; temp 605 fs/cifs/smb2transport.c temp->callback_data = current; temp 608 fs/cifs/smb2transport.c temp->mid_state = MID_REQUEST_ALLOCATED; temp 610 fs/cifs/smb2transport.c le16_to_cpu(shdr->Command), temp->mid); temp 611 fs/cifs/smb2transport.c return temp; temp 56 fs/cifs/transport.c struct mid_q_entry *temp; temp 63 fs/cifs/transport.c temp = mempool_alloc(cifs_mid_poolp, GFP_NOFS); temp 64 fs/cifs/transport.c memset(temp, 0, sizeof(struct mid_q_entry)); temp 65 fs/cifs/transport.c kref_init(&temp->refcount); temp 66 fs/cifs/transport.c temp->mid = get_mid(smb_buffer); temp 67 fs/cifs/transport.c temp->pid = current->pid; temp 68 fs/cifs/transport.c temp->command = cpu_to_le16(smb_buffer->Command); temp 72 fs/cifs/transport.c temp->when_alloc = jiffies; temp 73 fs/cifs/transport.c temp->server = server; temp 80 fs/cifs/transport.c temp->creator = current; temp 81 fs/cifs/transport.c temp->callback = cifs_wake_up_task; temp 82 fs/cifs/transport.c temp->callback_data = current; temp 85 fs/cifs/transport.c temp->mid_state = MID_REQUEST_ALLOCATED; temp 86 fs/cifs/transport.c return temp; temp 297 fs/d_path.c char temp[64]; temp 301 fs/d_path.c sz = vsnprintf(temp, sizeof(temp), fmt, args) + 1; temp 304 fs/d_path.c if (sz > sizeof(temp) || sz > buflen) temp 308 fs/d_path.c return memcpy(buffer, temp, sz); temp 301 fs/f2fs/data.c fio->type, fio->temp); temp 408 fs/f2fs/data.c enum page_type type, enum temp_type temp) temp 411 fs/f2fs/data.c struct f2fs_bio_info *io = sbi->write_io[btype] + temp; temp 431 fs/f2fs/data.c enum temp_type temp; temp 434 fs/f2fs/data.c for (temp = HOT; temp < NR_TEMP_TYPE; temp++) { temp 437 fs/f2fs/data.c struct f2fs_bio_info *io = sbi->write_io[btype] + temp; temp 444 fs/f2fs/data.c __f2fs_submit_merged_write(sbi, type, temp); temp 604 fs/f2fs/data.c struct f2fs_bio_info *io = sbi->write_io[btype] + fio->temp; temp 1052 fs/f2fs/f2fs.h enum temp_type temp; /* contains HOT/WARM/COLD */ temp 3154 fs/f2fs/f2fs.h enum page_type type, enum temp_type temp); temp 669 fs/f2fs/gc.c .temp = COLD, temp 752 fs/f2fs/gc.c .temp = COLD, temp 947 fs/f2fs/gc.c .temp = COLD, temp 2967 fs/f2fs/segment.c enum page_type type, enum temp_type temp) temp 2971 fs/f2fs/segment.c if (temp == WARM) temp 2973 fs/f2fs/segment.c else if (temp == HOT) temp 2975 fs/f2fs/segment.c else if (temp == COLD) temp 2982 fs/f2fs/segment.c if (temp == WARM) temp 2984 fs/f2fs/segment.c else if (temp == HOT) temp 2986 fs/f2fs/segment.c else if (temp == COLD) temp 2989 fs/f2fs/segment.c if (temp == WARM || temp == HOT) temp 2991 fs/f2fs/segment.c else if (temp == COLD) temp 3065 fs/f2fs/segment.c fio->temp = HOT; temp 3067 fs/f2fs/segment.c fio->temp = WARM; temp 3069 fs/f2fs/segment.c fio->temp = COLD; temp 3136 fs/f2fs/segment.c io = sbi->write_io[fio->type] + fio->temp; temp 3201 fs/f2fs/segment.c .temp = HOT, temp 118 fs/jffs2/summary.c struct jffs2_sum_inode_mem *temp = kmalloc(sizeof(struct jffs2_sum_inode_mem), GFP_KERNEL); temp 120 fs/jffs2/summary.c if (!temp) temp 123 fs/jffs2/summary.c temp->nodetype = ri->nodetype; temp 124 fs/jffs2/summary.c temp->inode = ri->ino; temp 125 fs/jffs2/summary.c temp->version = ri->version; temp 126 fs/jffs2/summary.c temp->offset = cpu_to_je32(ofs); /* relative offset from the beginning of the jeb */ temp 127 fs/jffs2/summary.c temp->totlen = ri->totlen; temp 128 fs/jffs2/summary.c temp->next = NULL; temp 130 fs/jffs2/summary.c return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); temp 136 fs/jffs2/summary.c struct jffs2_sum_dirent_mem *temp = temp 139 fs/jffs2/summary.c if (!temp) temp 142 fs/jffs2/summary.c temp->nodetype = rd->nodetype; temp 143 fs/jffs2/summary.c temp->totlen = rd->totlen; temp 144 fs/jffs2/summary.c temp->offset = cpu_to_je32(ofs); /* relative from the beginning of the jeb */ temp 145 fs/jffs2/summary.c temp->pino = rd->pino; temp 146 fs/jffs2/summary.c temp->version = rd->version; temp 147 fs/jffs2/summary.c temp->ino = rd->ino; temp 148 fs/jffs2/summary.c temp->nsize = rd->nsize; temp 149 fs/jffs2/summary.c temp->type = rd->type; temp 150 fs/jffs2/summary.c temp->next = NULL; temp 152 fs/jffs2/summary.c memcpy(temp->name, rd->name, rd->nsize); temp 154 fs/jffs2/summary.c return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); temp 160 fs/jffs2/summary.c struct jffs2_sum_xattr_mem *temp; temp 162 fs/jffs2/summary.c temp = kmalloc(sizeof(struct jffs2_sum_xattr_mem), GFP_KERNEL); temp 163 fs/jffs2/summary.c if (!temp) temp 166 fs/jffs2/summary.c temp->nodetype = rx->nodetype; temp 167 fs/jffs2/summary.c temp->xid = rx->xid; temp 168 fs/jffs2/summary.c temp->version = rx->version; temp 169 fs/jffs2/summary.c temp->offset = cpu_to_je32(ofs); temp 170 fs/jffs2/summary.c temp->totlen = rx->totlen; temp 171 fs/jffs2/summary.c temp->next = NULL; temp 173 fs/jffs2/summary.c return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); temp 178 fs/jffs2/summary.c struct jffs2_sum_xref_mem *temp; temp 180 fs/jffs2/summary.c temp = kmalloc(sizeof(struct jffs2_sum_xref_mem), GFP_KERNEL); temp 181 fs/jffs2/summary.c if (!temp) temp 184 fs/jffs2/summary.c temp->nodetype = rr->nodetype; temp 185 fs/jffs2/summary.c temp->offset = cpu_to_je32(ofs); temp 186 fs/jffs2/summary.c temp->next = NULL; temp 188 fs/jffs2/summary.c return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); temp 195 fs/jffs2/summary.c union jffs2_sum_mem *temp; temp 201 fs/jffs2/summary.c temp = s->sum_list_head; temp 203 fs/jffs2/summary.c kfree(temp); temp 265 fs/jffs2/summary.c struct jffs2_sum_inode_mem *temp = temp 268 fs/jffs2/summary.c if (!temp) temp 271 fs/jffs2/summary.c temp->nodetype = node->i.nodetype; temp 272 fs/jffs2/summary.c temp->inode = node->i.ino; temp 273 fs/jffs2/summary.c temp->version = node->i.version; temp 274 fs/jffs2/summary.c temp->offset = cpu_to_je32(ofs); temp 275 fs/jffs2/summary.c temp->totlen = node->i.totlen; temp 276 fs/jffs2/summary.c temp->next = NULL; temp 278 fs/jffs2/summary.c return jffs2_sum_add_mem(c->summary, (union jffs2_sum_mem *)temp); temp 282 fs/jffs2/summary.c struct jffs2_sum_dirent_mem *temp = temp 285 fs/jffs2/summary.c if (!temp) temp 288 fs/jffs2/summary.c temp->nodetype = node->d.nodetype; temp 289 fs/jffs2/summary.c temp->totlen = node->d.totlen; temp 290 fs/jffs2/summary.c temp->offset = cpu_to_je32(ofs); temp 291 fs/jffs2/summary.c temp->pino = node->d.pino; temp 292 fs/jffs2/summary.c temp->version = node->d.version; temp 293 fs/jffs2/summary.c temp->ino = node->d.ino; temp 294 fs/jffs2/summary.c temp->nsize = node->d.nsize; temp 295 fs/jffs2/summary.c temp->type = node->d.type; temp 296 fs/jffs2/summary.c temp->next = NULL; temp 300 fs/jffs2/summary.c memcpy(temp->name,node->d.name,node->d.nsize); temp 304 fs/jffs2/summary.c memcpy(temp->name,invecs[1].iov_base,node->d.nsize); temp 312 fs/jffs2/summary.c return jffs2_sum_add_mem(c->summary, (union jffs2_sum_mem *)temp); temp 316 fs/jffs2/summary.c struct jffs2_sum_xattr_mem *temp; temp 317 fs/jffs2/summary.c temp = kmalloc(sizeof(struct jffs2_sum_xattr_mem), GFP_KERNEL); temp 318 fs/jffs2/summary.c if (!temp) temp 321 fs/jffs2/summary.c temp->nodetype = node->x.nodetype; temp 322 fs/jffs2/summary.c temp->xid = node->x.xid; temp 323 fs/jffs2/summary.c temp->version = node->x.version; temp 324 fs/jffs2/summary.c temp->totlen = node->x.totlen; temp 325 fs/jffs2/summary.c temp->offset = cpu_to_je32(ofs); temp 326 fs/jffs2/summary.c temp->next = NULL; temp 328 fs/jffs2/summary.c return jffs2_sum_add_mem(c->summary, (union jffs2_sum_mem *)temp); temp 331 fs/jffs2/summary.c struct jffs2_sum_xref_mem *temp; temp 332 fs/jffs2/summary.c temp = kmalloc(sizeof(struct jffs2_sum_xref_mem), GFP_KERNEL); temp 333 fs/jffs2/summary.c if (!temp) temp 335 fs/jffs2/summary.c temp->nodetype = node->r.nodetype; temp 336 fs/jffs2/summary.c temp->offset = cpu_to_je32(ofs); temp 337 fs/jffs2/summary.c temp->next = NULL; temp 339 fs/jffs2/summary.c return jffs2_sum_add_mem(c->summary, (union jffs2_sum_mem *)temp); temp 678 fs/jffs2/summary.c union jffs2_sum_mem *temp; temp 719 fs/jffs2/summary.c temp = c->summary->sum_list_head; temp 721 fs/jffs2/summary.c switch (je16_to_cpu(temp->u.nodetype)) { temp 725 fs/jffs2/summary.c sino_ptr->nodetype = temp->i.nodetype; temp 726 fs/jffs2/summary.c sino_ptr->inode = temp->i.inode; temp 727 fs/jffs2/summary.c sino_ptr->version = temp->i.version; temp 728 fs/jffs2/summary.c sino_ptr->offset = temp->i.offset; temp 729 fs/jffs2/summary.c sino_ptr->totlen = temp->i.totlen; temp 739 fs/jffs2/summary.c sdrnt_ptr->nodetype = temp->d.nodetype; temp 740 fs/jffs2/summary.c sdrnt_ptr->totlen = temp->d.totlen; temp 741 fs/jffs2/summary.c sdrnt_ptr->offset = temp->d.offset; temp 742 fs/jffs2/summary.c sdrnt_ptr->pino = temp->d.pino; temp 743 fs/jffs2/summary.c sdrnt_ptr->version = temp->d.version; temp 744 fs/jffs2/summary.c sdrnt_ptr->ino = temp->d.ino; temp 745 fs/jffs2/summary.c sdrnt_ptr->nsize = temp->d.nsize; temp 746 fs/jffs2/summary.c sdrnt_ptr->type = temp->d.type; temp 748 fs/jffs2/summary.c memcpy(sdrnt_ptr->name, temp->d.name, temp 749 fs/jffs2/summary.c temp->d.nsize); temp 751 fs/jffs2/summary.c wpage += JFFS2_SUMMARY_DIRENT_SIZE(temp->d.nsize); temp 759 fs/jffs2/summary.c temp = c->summary->sum_list_head; temp 760 fs/jffs2/summary.c sxattr_ptr->nodetype = temp->x.nodetype; temp 761 fs/jffs2/summary.c sxattr_ptr->xid = temp->x.xid; temp 762 fs/jffs2/summary.c sxattr_ptr->version = temp->x.version; temp 763 fs/jffs2/summary.c sxattr_ptr->offset = temp->x.offset; temp 764 fs/jffs2/summary.c sxattr_ptr->totlen = temp->x.totlen; temp 772 fs/jffs2/summary.c temp = c->summary->sum_list_head; temp 773 fs/jffs2/summary.c sxref_ptr->nodetype = temp->r.nodetype; temp 774 fs/jffs2/summary.c sxref_ptr->offset = temp->r.offset; temp 781 fs/jffs2/summary.c if ((je16_to_cpu(temp->u.nodetype) & JFFS2_COMPAT_MASK) temp 784 fs/jffs2/summary.c je16_to_cpu(temp->u.nodetype)); temp 792 fs/jffs2/summary.c c->summary->sum_list_head = temp->u.next; temp 793 fs/jffs2/summary.c kfree(temp); temp 815 fs/jfs/jfs_logmgr.c struct tblock *tblk, *temp; temp 825 fs/jfs/jfs_logmgr.c list_for_each_entry_safe(tblk, temp, &log->cqueue, cqueue) { temp 162 fs/orangefs/devorangefs-req.c struct orangefs_kernel_op_s *op, *temp; temp 192 fs/orangefs/devorangefs-req.c list_for_each_entry_safe(op, temp, &orangefs_request_list, list) { temp 337 fs/overlayfs/copy_up.c struct dentry *temp = NULL; temp 360 fs/overlayfs/copy_up.c temp = ovl_create_temp(indexdir, OVL_CATTR(S_IFDIR | 0)); temp 361 fs/overlayfs/copy_up.c err = PTR_ERR(temp); temp 362 fs/overlayfs/copy_up.c if (IS_ERR(temp)) temp 365 fs/overlayfs/copy_up.c err = ovl_set_upper_fh(upper, temp); temp 373 fs/overlayfs/copy_up.c err = ovl_do_rename(dir, temp, dir, index, 0); temp 378 fs/overlayfs/copy_up.c ovl_cleanup(dir, temp); temp 379 fs/overlayfs/copy_up.c dput(temp); temp 439 fs/overlayfs/copy_up.c static int ovl_copy_up_inode(struct ovl_copy_up_ctx *c, struct dentry *temp) temp 453 fs/overlayfs/copy_up.c upperpath.dentry = temp; temp 461 fs/overlayfs/copy_up.c err = ovl_copy_xattr(c->lowerpath.dentry, temp); temp 473 fs/overlayfs/copy_up.c err = ovl_set_origin(c->dentry, c->lowerpath.dentry, temp); temp 479 fs/overlayfs/copy_up.c err = ovl_check_setxattr(c->dentry, temp, OVL_XATTR_METACOPY, temp 485 fs/overlayfs/copy_up.c inode_lock(temp->d_inode); temp 487 fs/overlayfs/copy_up.c err = ovl_set_size(temp, &c->stat); temp 489 fs/overlayfs/copy_up.c err = ovl_set_attr(temp, &c->stat); temp 490 fs/overlayfs/copy_up.c inode_unlock(temp->d_inode); temp 531 fs/overlayfs/copy_up.c struct dentry *temp, *upper; temp 549 fs/overlayfs/copy_up.c temp = ovl_create_temp(c->workdir, &cattr); temp 552 fs/overlayfs/copy_up.c err = PTR_ERR(temp); temp 553 fs/overlayfs/copy_up.c if (IS_ERR(temp)) temp 556 fs/overlayfs/copy_up.c err = ovl_copy_up_inode(c, temp); temp 561 fs/overlayfs/copy_up.c err = ovl_create_index(c->dentry, c->lowerpath.dentry, temp); temp 571 fs/overlayfs/copy_up.c err = ovl_do_rename(wdir, temp, udir, upper, 0); temp 579 fs/overlayfs/copy_up.c ovl_inode_update(inode, temp); temp 588 fs/overlayfs/copy_up.c ovl_cleanup(wdir, temp); temp 589 fs/overlayfs/copy_up.c dput(temp); temp 597 fs/overlayfs/copy_up.c struct dentry *temp, *upper; temp 605 fs/overlayfs/copy_up.c temp = ovl_do_tmpfile(c->workdir, c->stat.mode); temp 608 fs/overlayfs/copy_up.c if (IS_ERR(temp)) temp 609 fs/overlayfs/copy_up.c return PTR_ERR(temp); temp 611 fs/overlayfs/copy_up.c err = ovl_copy_up_inode(c, temp); temp 620 fs/overlayfs/copy_up.c err = ovl_do_link(temp, udir, upper); temp 630 fs/overlayfs/copy_up.c ovl_inode_update(d_inode(c->dentry), temp); temp 635 fs/overlayfs/copy_up.c dput(temp); temp 47 fs/overlayfs/dir.c struct dentry *temp; temp 54 fs/overlayfs/dir.c temp = lookup_one_len(name, workdir, strlen(name)); temp 55 fs/overlayfs/dir.c if (!IS_ERR(temp) && temp->d_inode) { temp 57 fs/overlayfs/dir.c dput(temp); temp 58 fs/overlayfs/dir.c temp = ERR_PTR(-EIO); temp 61 fs/overlayfs/dir.c return temp; temp 1080 fs/overlayfs/super.c struct dentry *temp; temp 1114 fs/overlayfs/super.c temp = ovl_do_tmpfile(ofs->workdir, S_IFREG | 0); temp 1115 fs/overlayfs/super.c ofs->tmpfile = !IS_ERR(temp); temp 1117 fs/overlayfs/super.c dput(temp); temp 586 fs/reiserfs/bitmap.c int temp; temp 588 fs/reiserfs/bitmap.c temp = (value temp 591 fs/reiserfs/bitmap.c if (temp <= 0 || temp > 100) { temp 595 fs/reiserfs/bitmap.c 100 / temp; temp 1544 fs/xfs/libxfs/xfs_bmap.c xfs_filblks_t temp=0; /* value for da_new calculations */ temp 1758 fs/xfs/libxfs/xfs_bmap.c temp = PREV.br_blockcount - new->br_blockcount; temp 1759 fs/xfs/libxfs/xfs_bmap.c da_new = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(bma->ip, temp), temp 1764 fs/xfs/libxfs/xfs_bmap.c PREV.br_blockcount = temp; temp 1815 fs/xfs/libxfs/xfs_bmap.c temp = PREV.br_blockcount - new->br_blockcount; temp 1816 fs/xfs/libxfs/xfs_bmap.c da_new = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(bma->ip, temp), temp 1821 fs/xfs/libxfs/xfs_bmap.c PREV.br_blockcount = temp; temp 1851 fs/xfs/libxfs/xfs_bmap.c temp = PREV.br_blockcount - new->br_blockcount; temp 1852 fs/xfs/libxfs/xfs_bmap.c da_new = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(bma->ip, temp), temp 1855 fs/xfs/libxfs/xfs_bmap.c PREV.br_blockcount = temp; temp 1892 fs/xfs/libxfs/xfs_bmap.c temp = PREV.br_blockcount - new->br_blockcount; temp 1893 fs/xfs/libxfs/xfs_bmap.c da_new = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(bma->ip, temp), temp 1898 fs/xfs/libxfs/xfs_bmap.c PREV.br_blockcount = temp; temp 2518 fs/xfs/libxfs/xfs_bmap.c xfs_filblks_t temp; /* temp for indirect calculations */ temp 2569 fs/xfs/libxfs/xfs_bmap.c temp = left.br_blockcount + new->br_blockcount + temp 2575 fs/xfs/libxfs/xfs_bmap.c newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), temp 2578 fs/xfs/libxfs/xfs_bmap.c left.br_blockcount = temp; temp 2591 fs/xfs/libxfs/xfs_bmap.c temp = left.br_blockcount + new->br_blockcount; temp 2595 fs/xfs/libxfs/xfs_bmap.c newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), temp 2597 fs/xfs/libxfs/xfs_bmap.c left.br_blockcount = temp; temp 2610 fs/xfs/libxfs/xfs_bmap.c temp = new->br_blockcount + right.br_blockcount; temp 2613 fs/xfs/libxfs/xfs_bmap.c newlen = XFS_FILBLKS_MIN(xfs_bmap_worst_indlen(ip, temp), temp 2617 fs/xfs/libxfs/xfs_bmap.c right.br_blockcount = temp; temp 2885 fs/xfs/libxfs/xfs_bmap.c xfs_extlen_t temp; /* temp for calculations */ temp 2911 fs/xfs/libxfs/xfs_bmap.c div_u64_rem(orig_off, extsz, &temp); temp 2912 fs/xfs/libxfs/xfs_bmap.c if (temp) { temp 2913 fs/xfs/libxfs/xfs_bmap.c align_alen += temp; temp 2914 fs/xfs/libxfs/xfs_bmap.c align_off -= temp; temp 2918 fs/xfs/libxfs/xfs_bmap.c temp = (align_alen % extsz); temp 2919 fs/xfs/libxfs/xfs_bmap.c if (temp) temp 2920 fs/xfs/libxfs/xfs_bmap.c align_alen += extsz - temp; temp 2986 fs/xfs/libxfs/xfs_bmap.c if (rt && (temp = (align_alen % mp->m_sb.sb_rextsize))) { temp 2993 fs/xfs/libxfs/xfs_bmap.c align_alen - temp < orig_alen) temp 2998 fs/xfs/libxfs/xfs_bmap.c if (align_off + temp <= orig_off) { temp 2999 fs/xfs/libxfs/xfs_bmap.c align_alen -= temp; temp 3000 fs/xfs/libxfs/xfs_bmap.c align_off += temp; temp 3005 fs/xfs/libxfs/xfs_bmap.c else if (align_off + align_alen - temp >= orig_end) temp 3006 fs/xfs/libxfs/xfs_bmap.c align_alen -= temp; temp 865 fs/xfs/xfs_bmap_util.c xfs_extlen_t extsz, temp; temp 912 fs/xfs/xfs_bmap_util.c div_u64_rem(startoffset_fsb, extsz, &temp); temp 913 fs/xfs/xfs_bmap_util.c if (temp) temp 914 fs/xfs/xfs_bmap_util.c e += temp; temp 915 fs/xfs/xfs_bmap_util.c div_u64_rem(e, extsz, &temp); temp 916 fs/xfs/xfs_bmap_util.c if (temp) temp 917 fs/xfs/xfs_bmap_util.c e += extsz - temp; temp 545 fs/xfs/xfs_inode.c struct xfs_inode *temp; temp 566 fs/xfs/xfs_inode.c temp = ip0; temp 568 fs/xfs/xfs_inode.c ip1 = temp; temp 3018 fs/xfs/xfs_inode.c struct xfs_inode *temp = i_tab[j]; temp 3020 fs/xfs/xfs_inode.c i_tab[j-1] = temp; temp 12 include/acpi/acpi_lpat.h int temp; temp 26 include/acpi/acpi_lpat.h int temp); temp 40 include/acpi/acpi_lpat.h int temp) temp 1200 include/linux/filter.h u64 temp; /* temp and everything after is not temp 52 include/linux/mfd/abx500.h int temp; temp 284 include/linux/mfd/abx500/ab8500-bm.h int temp; temp 295 include/linux/mfd/abx500/ab8500-bm.h int temp; temp 2559 include/linux/platform_data/cros_ec_commands.h int16_t temp; temp 2588 include/linux/platform_data/cros_ec_commands.h int16_t temp; temp 2732 include/linux/platform_data/cros_ec_commands.h int16_t temp; temp 2738 include/linux/platform_data/cros_ec_commands.h int16_t temp; temp 381 include/linux/power_supply.h int temp, int *table_len); temp 383 include/linux/power_supply.h int ocv, int temp); temp 457 include/linux/thermal.h int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp); temp 526 include/linux/thermal.h struct thermal_zone_device *tz, int *temp) temp 155 include/net/ieee802154_netdev.h u64 temp; temp 157 include/net/ieee802154_netdev.h memcpy(&temp, raw, IEEE802154_ADDR_LEN); temp 158 include/net/ieee802154_netdev.h return (__force __le64)swab64(temp); temp 163 include/net/ieee802154_netdev.h u64 temp = swab64((__force u64)addr); temp 165 include/net/ieee802154_netdev.h memcpy(raw, &temp, IEEE802154_ADDR_LEN); temp 2058 include/net/sctp/structs.h temp:1, /* Is it a temporary association? */ temp 2194 include/net/tcp.h memset(&sock_ops, 0, offsetof(struct bpf_sock_ops_kern, temp)); temp 1517 include/soc/tegra/bpmp-abi.h int32_t temp; temp 66 include/trace/events/f2fs.h #define show_block_temp(temp) \ temp 67 include/trace/events/f2fs.h __print_symbolic(temp, \ temp 1017 include/trace/events/f2fs.h __field(int, temp) temp 1029 include/trace/events/f2fs.h __entry->temp = fio->temp; temp 1040 include/trace/events/f2fs.h show_block_temp(__entry->temp), temp 34 include/trace/events/thermal.h __field(int, temp) temp 41 include/trace/events/thermal.h __entry->temp = tz->temperature; temp 46 include/trace/events/thermal.h __entry->temp) temp 235 lib/decompress_bunzip2.c unsigned char length[MAX_SYMBOLS], temp[MAX_HUFCODE_BITS+1]; temp 309 lib/decompress_bunzip2.c temp[i] = limit[i] = 0; temp 316 lib/decompress_bunzip2.c temp[length[i]]++; temp 325 lib/decompress_bunzip2.c pp += temp[i]; temp 338 lib/decompress_bunzip2.c base[i+1] = pp-(t += temp[i]); temp 342 lib/decompress_bunzip2.c limit[maxLen] = pp+temp[maxLen]-1; temp 632 lib/string_helpers.c char *temp, *pathname; temp 638 lib/string_helpers.c temp = kmalloc(PATH_MAX + 11, GFP_KERNEL); temp 639 lib/string_helpers.c if (!temp) temp 642 lib/string_helpers.c pathname = file_path(file, temp, PATH_MAX + 11); temp 648 lib/string_helpers.c kfree(temp); temp 1276 lib/vsprintf.c char temp[4] __aligned(2); /* hold each IP quad in reverse order */ temp 1277 lib/vsprintf.c int digits = put_dec_trunc8(temp, addr[index]) - temp; temp 1286 lib/vsprintf.c *p++ = temp[digits]; temp 75 lib/xz/xz_dec_bcj.c } temp; temp 403 lib/xz/xz_dec_bcj.c copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); temp 404 lib/xz/xz_dec_bcj.c memcpy(b->out + b->out_pos, s->temp.buf, copy_size); temp 407 lib/xz/xz_dec_bcj.c s->temp.filtered -= copy_size; temp 408 lib/xz/xz_dec_bcj.c s->temp.size -= copy_size; temp 409 lib/xz/xz_dec_bcj.c memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); temp 428 lib/xz/xz_dec_bcj.c if (s->temp.filtered > 0) { temp 430 lib/xz/xz_dec_bcj.c if (s->temp.filtered > 0) temp 449 lib/xz/xz_dec_bcj.c if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { temp 451 lib/xz/xz_dec_bcj.c memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); temp 452 lib/xz/xz_dec_bcj.c b->out_pos += s->temp.size; temp 469 lib/xz/xz_dec_bcj.c s->temp.size = b->out_pos - out_start; temp 470 lib/xz/xz_dec_bcj.c b->out_pos -= s->temp.size; temp 471 lib/xz/xz_dec_bcj.c memcpy(s->temp.buf, b->out + b->out_pos, s->temp.size); temp 478 lib/xz/xz_dec_bcj.c if (b->out_pos + s->temp.size < b->out_size) temp 495 lib/xz/xz_dec_bcj.c b->out = s->temp.buf; temp 496 lib/xz/xz_dec_bcj.c b->out_pos = s->temp.size; temp 497 lib/xz/xz_dec_bcj.c b->out_size = sizeof(s->temp.buf); temp 501 lib/xz/xz_dec_bcj.c s->temp.size = b->out_pos; temp 509 lib/xz/xz_dec_bcj.c bcj_apply(s, s->temp.buf, &s->temp.filtered, s->temp.size); temp 517 lib/xz/xz_dec_bcj.c s->temp.filtered = s->temp.size; temp 520 lib/xz/xz_dec_bcj.c if (s->temp.filtered > 0) temp 568 lib/xz/xz_dec_bcj.c s->temp.filtered = 0; temp 569 lib/xz/xz_dec_bcj.c s->temp.size = 0; temp 275 lib/xz/xz_dec_lzma2.c } temp; temp 852 lib/xz/xz_dec_lzma2.c if (s->temp.size > 0 || s->lzma2.compressed == 0) { temp 853 lib/xz/xz_dec_lzma2.c tmp = 2 * LZMA_IN_REQUIRED - s->temp.size; temp 854 lib/xz/xz_dec_lzma2.c if (tmp > s->lzma2.compressed - s->temp.size) temp 855 lib/xz/xz_dec_lzma2.c tmp = s->lzma2.compressed - s->temp.size; temp 859 lib/xz/xz_dec_lzma2.c memcpy(s->temp.buf + s->temp.size, b->in + b->in_pos, tmp); temp 861 lib/xz/xz_dec_lzma2.c if (s->temp.size + tmp == s->lzma2.compressed) { temp 862 lib/xz/xz_dec_lzma2.c memzero(s->temp.buf + s->temp.size + tmp, temp 863 lib/xz/xz_dec_lzma2.c sizeof(s->temp.buf) temp 864 lib/xz/xz_dec_lzma2.c - s->temp.size - tmp); temp 865 lib/xz/xz_dec_lzma2.c s->rc.in_limit = s->temp.size + tmp; temp 866 lib/xz/xz_dec_lzma2.c } else if (s->temp.size + tmp < LZMA_IN_REQUIRED) { temp 867 lib/xz/xz_dec_lzma2.c s->temp.size += tmp; temp 871 lib/xz/xz_dec_lzma2.c s->rc.in_limit = s->temp.size + tmp - LZMA_IN_REQUIRED; temp 874 lib/xz/xz_dec_lzma2.c s->rc.in = s->temp.buf; temp 877 lib/xz/xz_dec_lzma2.c if (!lzma_main(s) || s->rc.in_pos > s->temp.size + tmp) temp 882 lib/xz/xz_dec_lzma2.c if (s->rc.in_pos < s->temp.size) { temp 883 lib/xz/xz_dec_lzma2.c s->temp.size -= s->rc.in_pos; temp 884 lib/xz/xz_dec_lzma2.c memmove(s->temp.buf, s->temp.buf + s->rc.in_pos, temp 885 lib/xz/xz_dec_lzma2.c s->temp.size); temp 889 lib/xz/xz_dec_lzma2.c b->in_pos += s->rc.in_pos - s->temp.size; temp 890 lib/xz/xz_dec_lzma2.c s->temp.size = 0; temp 919 lib/xz/xz_dec_lzma2.c memcpy(s->temp.buf, b->in + b->in_pos, in_avail); temp 920 lib/xz/xz_dec_lzma2.c s->temp.size = in_avail; temp 1088 lib/xz/xz_dec_lzma2.c && s->temp.size temp 1165 lib/xz/xz_dec_lzma2.c s->temp.size = 0; temp 129 lib/xz/xz_dec_stream.c } temp; temp 160 lib/xz/xz_dec_stream.c b->in_size - b->in_pos, s->temp.size - s->temp.pos); temp 162 lib/xz/xz_dec_stream.c memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); temp 164 lib/xz/xz_dec_stream.c s->temp.pos += copy_size; temp 166 lib/xz/xz_dec_stream.c if (s->temp.pos == s->temp.size) { temp 167 lib/xz/xz_dec_stream.c s->temp.pos = 0; temp 389 lib/xz/xz_dec_stream.c if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) temp 392 lib/xz/xz_dec_stream.c if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) temp 393 lib/xz/xz_dec_stream.c != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2)) temp 396 lib/xz/xz_dec_stream.c if (s->temp.buf[HEADER_MAGIC_SIZE] != 0) temp 405 lib/xz/xz_dec_stream.c s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1]; temp 424 lib/xz/xz_dec_stream.c if (!memeq(s->temp.buf + 10, FOOTER_MAGIC, FOOTER_MAGIC_SIZE)) temp 427 lib/xz/xz_dec_stream.c if (xz_crc32(s->temp.buf + 4, 6, 0) != get_le32(s->temp.buf)) temp 435 lib/xz/xz_dec_stream.c if ((s->index.size >> 2) != get_le32(s->temp.buf + 4)) temp 438 lib/xz/xz_dec_stream.c if (s->temp.buf[8] != 0 || s->temp.buf[9] != s->check_type) temp 457 lib/xz/xz_dec_stream.c s->temp.size -= 4; temp 458 lib/xz/xz_dec_stream.c if (xz_crc32(s->temp.buf, s->temp.size, 0) temp 459 lib/xz/xz_dec_stream.c != get_le32(s->temp.buf + s->temp.size)) temp 462 lib/xz/xz_dec_stream.c s->temp.pos = 2; temp 469 lib/xz/xz_dec_stream.c if (s->temp.buf[1] & 0x3E) temp 471 lib/xz/xz_dec_stream.c if (s->temp.buf[1] & 0x3F) temp 476 lib/xz/xz_dec_stream.c if (s->temp.buf[1] & 0x40) { temp 477 lib/xz/xz_dec_stream.c if (dec_vli(s, s->temp.buf, &s->temp.pos, s->temp.size) temp 487 lib/xz/xz_dec_stream.c if (s->temp.buf[1] & 0x80) { temp 488 lib/xz/xz_dec_stream.c if (dec_vli(s, s->temp.buf, &s->temp.pos, s->temp.size) temp 499 lib/xz/xz_dec_stream.c s->bcj_active = s->temp.buf[1] & 0x01; temp 501 lib/xz/xz_dec_stream.c if (s->temp.size - s->temp.pos < 2) temp 504 lib/xz/xz_dec_stream.c ret = xz_dec_bcj_reset(s->bcj, s->temp.buf[s->temp.pos++]); temp 512 lib/xz/xz_dec_stream.c if (s->temp.buf[s->temp.pos++] != 0x00) temp 518 lib/xz/xz_dec_stream.c if (s->temp.size - s->temp.pos < 2) temp 522 lib/xz/xz_dec_stream.c if (s->temp.buf[s->temp.pos++] != 0x21) temp 526 lib/xz/xz_dec_stream.c if (s->temp.buf[s->temp.pos++] != 0x01) temp 530 lib/xz/xz_dec_stream.c if (s->temp.size - s->temp.pos < 1) temp 533 lib/xz/xz_dec_stream.c ret = xz_dec_lzma2_reset(s->lzma2, s->temp.buf[s->temp.pos++]); temp 538 lib/xz/xz_dec_stream.c while (s->temp.pos < s->temp.size) temp 539 lib/xz/xz_dec_stream.c if (s->temp.buf[s->temp.pos++] != 0x00) temp 542 lib/xz/xz_dec_stream.c s->temp.pos = 0; temp 607 lib/xz/xz_dec_stream.c s->temp.size = s->block_header.size; temp 608 lib/xz/xz_dec_stream.c s->temp.pos = 0; temp 709 lib/xz/xz_dec_stream.c s->temp.size = STREAM_HEADER_SIZE; temp 824 lib/xz/xz_dec_stream.c s->temp.pos = 0; temp 825 lib/xz/xz_dec_stream.c s->temp.size = STREAM_HEADER_SIZE; temp 969 lib/zstd/decompress.c size_t temp = (offset == 3) ? seqState->prevOffset[0] - 1 : seqState->prevOffset[offset]; temp 970 lib/zstd/decompress.c temp += !temp; /* 0 is not valid; input is corrupted; force offset to 1 */ temp 974 lib/zstd/decompress.c seqState->prevOffset[0] = offset = temp; temp 1210 lib/zstd/decompress.c size_t temp = (offset == 3) ? seqState->prevOffset[0] - 1 : seqState->prevOffset[offset]; temp 1211 lib/zstd/decompress.c temp += !temp; /* 0 is not valid; input is corrupted; force offset to 1 */ temp 1215 lib/zstd/decompress.c seqState->prevOffset[0] = offset = temp; temp 67 mm/dmapool.c unsigned temp; temp 76 mm/dmapool.c temp = scnprintf(next, size, "poolinfo - 0.1\n"); temp 77 mm/dmapool.c size -= temp; temp 78 mm/dmapool.c next += temp; temp 93 mm/dmapool.c temp = scnprintf(next, size, "%-16s %4u %4zu %4zu %2u\n", temp 97 mm/dmapool.c size -= temp; temp 98 mm/dmapool.c next += temp; temp 177 mm/kasan/quarantine.c struct qlist_head temp = QLIST_INIT; temp 192 mm/kasan/quarantine.c qlist_move_all(q, &temp); temp 195 mm/kasan/quarantine.c WRITE_ONCE(quarantine_size, quarantine_size + temp.bytes); temp 196 mm/kasan/quarantine.c qlist_move_all(&temp, &global_quarantine[quarantine_tail]); temp 245 net/8021q/vlanproc.c struct rtnl_link_stats64 temp; temp 253 net/8021q/vlanproc.c stats = dev_get_stats(vlandev, &temp); temp 2441 net/bridge/br_multicast.c struct br_mcast_stats temp; temp 2446 net/bridge/br_multicast.c memcpy(&temp, &cpu_stats->mstats, sizeof(temp)); temp 2449 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.igmp_v1queries, temp.igmp_v1queries); temp 2450 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.igmp_v2queries, temp.igmp_v2queries); temp 2451 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.igmp_v3queries, temp.igmp_v3queries); temp 2452 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.igmp_leaves, temp.igmp_leaves); temp 2453 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.igmp_v1reports, temp.igmp_v1reports); temp 2454 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.igmp_v2reports, temp.igmp_v2reports); temp 2455 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.igmp_v3reports, temp.igmp_v3reports); temp 2456 net/bridge/br_multicast.c tdst.igmp_parse_errors += temp.igmp_parse_errors; temp 2458 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.mld_v1queries, temp.mld_v1queries); temp 2459 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.mld_v2queries, temp.mld_v2queries); temp 2460 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.mld_leaves, temp.mld_leaves); temp 2461 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.mld_v1reports, temp.mld_v1reports); temp 2462 net/bridge/br_multicast.c mcast_stats_add_dir(tdst.mld_v2reports, temp.mld_v2reports); temp 2463 net/bridge/br_multicast.c tdst.mld_parse_errors += temp.mld_parse_errors; temp 2559 net/ceph/osdmap.c struct ceph_osds *temp) temp 2564 net/ceph/osdmap.c ceph_osds_init(temp); temp 2574 net/ceph/osdmap.c temp->osds[temp->size++] = CRUSH_ITEM_NONE; temp 2576 net/ceph/osdmap.c temp->osds[temp->size++] = pg->pg_temp.osds[i]; temp 2581 net/ceph/osdmap.c for (i = 0; i < temp->size; i++) { temp 2582 net/ceph/osdmap.c if (temp->osds[i] != CRUSH_ITEM_NONE) { temp 2583 net/ceph/osdmap.c temp->primary = temp->osds[i]; temp 2592 net/ceph/osdmap.c temp->primary = pg->primary_temp.osd; temp 1089 net/core/drop_monitor.c struct dm_hw_stat_delta *new_stat, *temp; temp 1113 net/core/drop_monitor.c list_for_each_entry_safe(new_stat, temp, &hw_stats_list, list) { temp 8030 net/core/filter.c temp)); \ temp 8047 net/core/filter.c temp)); \ temp 80 net/core/net-procfs.c struct rtnl_link_stats64 temp; temp 81 net/core/net-procfs.c const struct rtnl_link_stats64 *stats = dev_get_stats(dev, &temp); temp 558 net/core/net-sysfs.c struct rtnl_link_stats64 temp; temp 559 net/core/net-sysfs.c const struct rtnl_link_stats64 *stats = dev_get_stats(dev, &temp); temp 3237 net/ipv6/addrconf.c struct in6_addr temp; temp 3263 net/ipv6/addrconf.c temp = *address; temp 3264 net/ipv6/addrconf.c temp.s6_addr32[2] = (__force __be32)digest[0]; temp 3265 net/ipv6/addrconf.c temp.s6_addr32[3] = (__force __be32)digest[1]; temp 3269 net/ipv6/addrconf.c if (ipv6_reserved_interfaceid(temp)) { temp 3276 net/ipv6/addrconf.c *address = temp; temp 49 net/ipv6/netfilter/ip6t_hbh.c unsigned int temp; temp 101 net/ipv6/netfilter/ip6t_hbh.c for (temp = 0; temp < optinfo->optsnr; temp++) { temp 111 net/ipv6/netfilter/ip6t_hbh.c if (*tp != (optinfo->opts[temp] & 0xFF00) >> 8) { temp 113 net/ipv6/netfilter/ip6t_hbh.c (optinfo->opts[temp] & 0xFF00) >> 8); temp 130 net/ipv6/netfilter/ip6t_hbh.c spec_len = optinfo->opts[temp] & 0x00FF; temp 148 net/ipv6/netfilter/ip6t_hbh.c temp < optinfo->optsnr - 1) { temp 155 net/ipv6/netfilter/ip6t_hbh.c if (temp == optinfo->optsnr) temp 30 net/ipv6/netfilter/ip6t_ipv6header.c unsigned int temp; temp 43 net/ipv6/netfilter/ip6t_ipv6header.c temp = 0; temp 52 net/ipv6/netfilter/ip6t_ipv6header.c temp |= MASK_NONE; temp 60 net/ipv6/netfilter/ip6t_ipv6header.c temp |= MASK_ESP; temp 81 net/ipv6/netfilter/ip6t_ipv6header.c temp |= MASK_HOPOPTS; temp 84 net/ipv6/netfilter/ip6t_ipv6header.c temp |= MASK_ROUTING; temp 87 net/ipv6/netfilter/ip6t_ipv6header.c temp |= MASK_FRAGMENT; temp 90 net/ipv6/netfilter/ip6t_ipv6header.c temp |= MASK_AH; temp 93 net/ipv6/netfilter/ip6t_ipv6header.c temp |= MASK_DSTOPTS; temp 107 net/ipv6/netfilter/ip6t_ipv6header.c temp |= MASK_PROTO; temp 110 net/ipv6/netfilter/ip6t_ipv6header.c return !((temp ^ info->matchflags ^ info->invflags) temp 114 net/ipv6/netfilter/ip6t_ipv6header.c return temp != info->matchflags; temp 116 net/ipv6/netfilter/ip6t_ipv6header.c return temp == info->matchflags; temp 41 net/ipv6/netfilter/ip6t_rt.c unsigned int temp; temp 127 net/ipv6/netfilter/ip6t_rt.c for (temp = 0; temp 128 net/ipv6/netfilter/ip6t_rt.c temp < (unsigned int)((hdrlen - 8) / 16); temp 129 net/ipv6/netfilter/ip6t_rt.c temp++) { temp 133 net/ipv6/netfilter/ip6t_rt.c + temp * sizeof(_addr), temp 143 net/ipv6/netfilter/ip6t_rt.c pr_debug("i=%d temp=%d;\n", i, temp); temp 162 net/ipv6/netfilter/ip6t_rt.c for (temp = 0; temp < rtinfo->addrnr; temp++) { temp 166 net/ipv6/netfilter/ip6t_rt.c + temp * sizeof(_addr), temp 174 net/ipv6/netfilter/ip6t_rt.c if (!ipv6_addr_equal(ap, &rtinfo->addrs[temp])) temp 177 net/ipv6/netfilter/ip6t_rt.c pr_debug("temp=%d #%d\n", temp, rtinfo->addrnr); temp 178 net/ipv6/netfilter/ip6t_rt.c if (temp == rtinfo->addrnr && temp 179 net/ipv6/netfilter/ip6t_rt.c temp == (unsigned int)((hdrlen - 8) / 16)) temp 269 net/openvswitch/vport.c struct rtnl_link_stats64 temp; temp 271 net/openvswitch/vport.c dev_stats = dev_get_stats(vport->dev, &temp); temp 158 net/sched/sch_choke.c struct flow_keys temp; temp 165 net/sched/sch_choke.c skb_flow_dissect_flow_keys(skb1, &temp, 0); temp 166 net/sched/sch_choke.c make_flow_keys_digest(&choke_skb_cb(skb1)->keys, &temp); temp 171 net/sched/sch_choke.c skb_flow_dissect_flow_keys(skb2, &temp, 0); temp 172 net/sched/sch_choke.c make_flow_keys_digest(&choke_skb_cb(skb2)->keys, &temp); temp 315 net/sctp/associola.c struct list_head *pos, *temp; temp 373 net/sctp/associola.c list_for_each_safe(pos, temp, &asoc->peer.transport_addr_list) { temp 730 net/sctp/associola.c struct list_head *temp; temp 733 net/sctp/associola.c list_for_each_safe(pos, temp, &asoc->peer.transport_addr_list) { temp 765 net/sctp/associola.c struct sctp_transport *temp; temp 768 net/sctp/associola.c list_for_each_entry_safe(t, temp, &asoc->peer.transport_addr_list, temp 1104 net/sctp/associola.c struct list_head *pos, *temp; temp 1118 net/sctp/associola.c list_for_each_safe(pos, temp, &asoc->peer.transport_addr_list) { temp 120 net/sctp/bind_addr.c struct sctp_sockaddr_entry *addr, *temp; temp 123 net/sctp/bind_addr.c list_for_each_entry_safe(addr, temp, &bp->address_list, list) { temp 175 net/sctp/bind_addr.c struct sctp_sockaddr_entry *addr, *temp; temp 181 net/sctp/bind_addr.c list_for_each_entry_safe(addr, temp, &bp->address_list, list) { temp 75 net/sctp/chunk.c struct list_head *pos, *temp; temp 84 net/sctp/chunk.c list_for_each_safe(pos, temp, &msg->chunks) { temp 155 net/sctp/chunk.c struct list_head *pos, *temp; temp 291 net/sctp/chunk.c list_for_each_safe(pos, temp, &msg->chunks) { temp 160 net/sctp/endpointola.c if (asoc->temp) temp 937 net/sctp/input.c if (t->asoc->temp) temp 965 net/sctp/input.c if (t->asoc->temp) temp 79 net/sctp/ipv6.c struct sctp_sockaddr_entry *temp; temp 99 net/sctp/ipv6.c list_for_each_entry_safe(addr, temp, temp 208 net/sctp/outqueue.c struct list_head *lchunk, *temp; temp 224 net/sctp/outqueue.c list_for_each_safe(lchunk, temp, &q->sacked) { temp 233 net/sctp/outqueue.c list_for_each_safe(lchunk, temp, &q->retransmit) { temp 242 net/sctp/outqueue.c list_for_each_safe(lchunk, temp, &q->abandoned) { temp 345 net/sctp/outqueue.c struct sctp_chunk *chk, *temp; temp 347 net/sctp/outqueue.c list_for_each_entry_safe(chk, temp, queue, transmitted_list) { temp 385 net/sctp/outqueue.c struct sctp_chunk *chk, *temp; temp 389 net/sctp/outqueue.c list_for_each_entry_safe(chk, temp, &q->out_chunk_list, list) { temp 1227 net/sctp/outqueue.c struct list_head *lchunk, *transport_list, *temp; temp 1336 net/sctp/outqueue.c list_for_each_safe(lchunk, temp, &q->sacked) { temp 1795 net/sctp/outqueue.c struct list_head *lchunk, *temp; temp 1830 net/sctp/outqueue.c list_for_each_safe(lchunk, temp, &q->abandoned) { temp 122 net/sctp/protocol.c struct list_head *pos, *temp; temp 124 net/sctp/protocol.c list_for_each_safe(pos, temp, &net->sctp.local_addr_list) { temp 621 net/sctp/protocol.c struct sctp_sockaddr_entry *addrw, *temp; temp 626 net/sctp/protocol.c list_for_each_entry_safe(addrw, temp, &net->sctp.addr_waitq, list) { temp 681 net/sctp/protocol.c struct sctp_sockaddr_entry *temp; temp 685 net/sctp/protocol.c list_for_each_entry_safe(addrw, temp, &net->sctp.addr_waitq, list) { temp 774 net/sctp/protocol.c struct sctp_sockaddr_entry *temp; temp 793 net/sctp/protocol.c list_for_each_entry_safe(addr, temp, temp 1596 net/sctp/sm_make_chunk.c asoc->temp = 1; temp 2316 net/sctp/sm_make_chunk.c struct list_head *pos, *temp; temp 2380 net/sctp/sm_make_chunk.c list_for_each_safe(pos, temp, &asoc->peer.transport_addr_list) { temp 2453 net/sctp/sm_make_chunk.c if (!asoc->temp && sctp_assoc_set_id(asoc, gfp)) temp 2471 net/sctp/sm_make_chunk.c list_for_each_safe(pos, temp, &asoc->peer.transport_addr_list) { temp 926 net/sctp/sm_sideeffect.c (!asoc->temp) && (sk->sk_shutdown != SHUTDOWN_MASK)) temp 1006 net/sctp/sm_sideeffect.c struct list_head *temp; temp 1009 net/sctp/sm_sideeffect.c list_for_each_safe(pos, temp, &asoc->peer.transport_addr_list) { temp 2180 net/sctp/sm_statefuns.c new_asoc->temp = 1; temp 1490 net/sctp/socket.c struct list_head *pos, *temp; temp 1506 net/sctp/socket.c list_for_each_safe(pos, temp, &ep->asocs) { temp 6170 net/sctp/socket.c union sctp_addr temp; temp 6192 net/sctp/socket.c memcpy(&temp, &from->ipaddr, sizeof(temp)); temp 6194 net/sctp/socket.c ->addr_to_user(sp, &temp); temp 6197 net/sctp/socket.c if (copy_to_user(to, &temp, addrlen)) temp 6217 net/sctp/socket.c union sctp_addr temp; temp 6234 net/sctp/socket.c memcpy(&temp, &addr->a, sizeof(temp)); temp 6235 net/sctp/socket.c if (!temp.v4.sin_port) temp 6236 net/sctp/socket.c temp.v4.sin_port = htons(port); temp 6239 net/sctp/socket.c ->addr_to_user(sctp_sk(sk), &temp); temp 6245 net/sctp/socket.c memcpy(to, &temp, addrlen); temp 6267 net/sctp/socket.c union sctp_addr temp; temp 6327 net/sctp/socket.c memcpy(&temp, &addr->a, sizeof(temp)); temp 6329 net/sctp/socket.c ->addr_to_user(sp, &temp); temp 6334 net/sctp/socket.c memcpy(buf, &temp, addrlen); temp 33 net/sctp/stream.c struct sctp_chunk *ch, *temp; temp 40 net/sctp/stream.c list_for_each_entry_safe(ch, temp, &outq->out_chunk_list, list) { temp 1000 net/sctp/stream.c LIST_HEAD(temp); temp 1012 net/sctp/stream.c list_splice_init(&asoc->outqueue.out_chunk_list, &temp); temp 1014 net/sctp/stream.c list_splice_init(&temp, &asoc->outqueue.out_chunk_list); temp 832 net/sctp/stream_interleave.c struct sk_buff_head temp; temp 848 net/sctp/stream_interleave.c skb_queue_head_init(&temp); temp 849 net/sctp/stream_interleave.c __skb_queue_tail(&temp, sctp_event2skb(event)); temp 857 net/sctp/stream_interleave.c skb_queue_head_init(&temp); temp 858 net/sctp/stream_interleave.c __skb_queue_tail(&temp, sctp_event2skb(event)); temp 864 net/sctp/stream_interleave.c sctp_enqueue_event(ulpq, &temp); temp 938 net/sctp/stream_interleave.c struct sk_buff_head temp; temp 944 net/sctp/stream_interleave.c skb_queue_head_init(&temp); temp 945 net/sctp/stream_interleave.c __skb_queue_tail(&temp, sctp_event2skb(event)); temp 946 net/sctp/stream_interleave.c sctp_enqueue_event(ulpq, &temp); temp 955 net/sctp/stream_interleave.c skb_queue_head_init(&temp); temp 956 net/sctp/stream_interleave.c __skb_queue_tail(&temp, sctp_event2skb(event)); temp 957 net/sctp/stream_interleave.c sctp_enqueue_event(ulpq, &temp); temp 1019 net/sctp/stream_interleave.c struct sk_buff_head temp; temp 1023 net/sctp/stream_interleave.c skb_queue_head_init(&temp); temp 1042 net/sctp/stream_interleave.c __skb_queue_tail(&temp, pos); temp 1053 net/sctp/stream_interleave.c __skb_queue_tail(&temp, pos); temp 1060 net/sctp/stream_interleave.c sctp_enqueue_event(ulpq, &temp); temp 1114 net/sctp/stream_interleave.c struct list_head *lchunk, *temp; temp 1125 net/sctp/stream_interleave.c list_for_each_safe(lchunk, temp, &q->abandoned) { temp 1301 net/sctp/stream_interleave.c struct sk_buff_head temp; temp 1303 net/sctp/stream_interleave.c skb_queue_head_init(&temp); temp 1304 net/sctp/stream_interleave.c __skb_queue_tail(&temp, sctp_event2skb(event)); temp 1305 net/sctp/stream_interleave.c return sctp_ulpq_tail_event(ulpq, &temp); temp 1330 net/sctp/stream_interleave.c struct sk_buff_head temp; temp 1332 net/sctp/stream_interleave.c skb_queue_head_init(&temp); temp 1333 net/sctp/stream_interleave.c __skb_queue_tail(&temp, sctp_event2skb(event)); temp 1334 net/sctp/stream_interleave.c return sctp_enqueue_event(ulpq, &temp); temp 88 net/sctp/ulpqueue.c struct sk_buff_head temp; temp 106 net/sctp/ulpqueue.c skb_queue_head_init(&temp); temp 107 net/sctp/ulpqueue.c __skb_queue_tail(&temp, sctp_event2skb(event)); temp 118 net/sctp/ulpqueue.c sctp_ulpq_tail_event(ulpq, &temp); temp 725 net/sctp/ulpqueue.c struct sk_buff_head temp; temp 727 net/sctp/ulpqueue.c skb_queue_head_init(&temp); temp 728 net/sctp/ulpqueue.c __skb_queue_tail(&temp, sctp_event2skb(event)); temp 738 net/sctp/ulpqueue.c sctp_ulpq_tail_event(ulpq, &temp); temp 881 net/sctp/ulpqueue.c struct sk_buff_head temp; temp 888 net/sctp/ulpqueue.c skb_queue_head_init(&temp); temp 913 net/sctp/ulpqueue.c __skb_queue_tail(&temp, pos); temp 927 net/sctp/ulpqueue.c __skb_queue_tail(&temp, pos); temp 938 net/sctp/ulpqueue.c sctp_ulpq_tail_event(ulpq, &temp); temp 1064 net/sctp/ulpqueue.c struct sk_buff_head temp; temp 1066 net/sctp/ulpqueue.c skb_queue_head_init(&temp); temp 1067 net/sctp/ulpqueue.c __skb_queue_tail(&temp, sctp_event2skb(event)); temp 1068 net/sctp/ulpqueue.c sctp_ulpq_tail_event(ulpq, &temp); temp 243 net/smc/smc_cdc.h union smc_host_cursor temp, old; temp 248 net/smc/smc_cdc.h temp.count = ntohl(net.count); temp 249 net/smc/smc_cdc.h temp.wrap = ntohs(net.wrap); temp 250 net/smc/smc_cdc.h if ((old.wrap > temp.wrap) && temp.wrap) temp 252 net/smc/smc_cdc.h if ((old.wrap == temp.wrap) && temp 253 net/smc/smc_cdc.h (old.count > temp.count)) temp 255 net/smc/smc_cdc.h smc_curs_copy(local, &temp, conn); temp 276 net/smc/smc_cdc.h union smc_host_cursor temp; temp 278 net/smc/smc_cdc.h temp.wrap = peer->prod.wrap; temp 279 net/smc/smc_cdc.h temp.count = peer->prod.count; temp 280 net/smc/smc_cdc.h smc_curs_copy(&local->prod, &temp, conn); temp 282 net/smc/smc_cdc.h temp.wrap = peer->cons.wrap; temp 283 net/smc/smc_cdc.h temp.count = peer->cons.count; temp 284 net/smc/smc_cdc.h smc_curs_copy(&local->cons, &temp, conn); temp 1067 net/sunrpc/xprtrdma/verbs.c bool temp) temp 1088 net/sunrpc/xprtrdma/verbs.c rep->rr_temp = temp; temp 1496 net/sunrpc/xprtrdma/verbs.c void rpcrdma_post_recvs(struct rpcrdma_xprt *r_xprt, bool temp) temp 1511 net/sunrpc/xprtrdma/verbs.c if (!temp) temp 1523 net/sunrpc/xprtrdma/verbs.c rep = rpcrdma_rep_create(r_xprt, temp); temp 479 net/sunrpc/xprtrdma/xprt_rdma.h void rpcrdma_post_recvs(struct rpcrdma_xprt *r_xprt, bool temp); temp 184 net/tipc/msg.h u32 temp = msg->hdr[a]; temp 187 net/tipc/msg.h msg->hdr[b] = temp; temp 134 net/tls/tls_device.c struct tls_record_info *info, *temp; temp 136 net/tls/tls_device.c list_for_each_entry_safe(info, temp, &offload_ctx->records_list, list) { temp 147 net/tls/tls_device.c struct tls_record_info *info, *temp; temp 162 net/tls/tls_device.c list_for_each_entry_safe(info, temp, &ctx->records_list, list) { temp 1548 samples/mic/mpssd/mpssd.c char *map, *temp, log_buf[17] = {'\0'}; temp 1570 samples/mic/mpssd/mpssd.c temp = strstr(map, "__log_buf"); temp 1571 samples/mic/mpssd/mpssd.c if (!temp) { temp 1577 samples/mic/mpssd/mpssd.c strncpy(log_buf, temp - 19, 16); temp 1580 samples/mic/mpssd/mpssd.c temp = strstr(map, "log_buf_len"); temp 1581 samples/mic/mpssd/mpssd.c if (!temp) { temp 1587 samples/mic/mpssd/mpssd.c strncpy(log_buf, temp - 19, 16); temp 364 scripts/gcc-plugins/latent_entropy_plugin.c tree temp; temp 368 scripts/gcc-plugins/latent_entropy_plugin.c temp = create_var(long_unsigned_type_node, "temp_latent_entropy"); temp 373 scripts/gcc-plugins/latent_entropy_plugin.c assign = gimple_build_assign(temp, latent_entropy_decl); temp 379 scripts/gcc-plugins/latent_entropy_plugin.c assign = create_assign(op, temp, temp, local_entropy); temp 384 scripts/gcc-plugins/latent_entropy_plugin.c assign = gimple_build_assign(latent_entropy_decl, temp); temp 436 scripts/kconfig/lxdialog/util.c int i, temp; temp 442 scripts/kconfig/lxdialog/util.c temp = strspn(label, " "); temp 443 scripts/kconfig/lxdialog/util.c label += temp; temp 446 scripts/kconfig/lxdialog/util.c for (i = 0; i < temp; i++) temp 457 scripts/kconfig/lxdialog/util.c wmove(win, y, x + temp + 1); temp 154 scripts/kconfig/nconf.gui.c float temp; temp 168 scripts/kconfig/nconf.gui.c temp = (width - length) / 2; temp 169 scripts/kconfig/nconf.gui.c x = startx + (int)temp; temp 599 security/device_cgroup.c char temp[12]; /* 11 + 1 characters needed for a u32 */ temp 657 security/device_cgroup.c memset(temp, 0, sizeof(temp)); temp 658 security/device_cgroup.c for (count = 0; count < sizeof(temp) - 1; count++) { temp 659 security/device_cgroup.c temp[count] = *b; temp 664 security/device_cgroup.c rc = kstrtou32(temp, 10, &ex.major); temp 679 security/device_cgroup.c memset(temp, 0, sizeof(temp)); temp 680 security/device_cgroup.c for (count = 0; count < sizeof(temp) - 1; count++) { temp 681 security/device_cgroup.c temp[count] = *b; temp 686 security/device_cgroup.c rc = kstrtou32(temp, 10, &ex.minor); temp 44 security/integrity/evm/evm_secfs.c char temp[80]; temp 50 security/integrity/evm/evm_secfs.c sprintf(temp, "%d", (evm_initialized & ~EVM_SETUP_COMPLETE)); temp 51 security/integrity/evm/evm_secfs.c rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); temp 131 security/integrity/evm/evm_secfs.c char *temp; temp 146 security/integrity/evm/evm_secfs.c temp = kmalloc(size + 1, GFP_KERNEL); temp 147 security/integrity/evm/evm_secfs.c if (!temp) { temp 153 security/integrity/evm/evm_secfs.c sprintf(temp + offset, "%s\n", xattr->name); temp 158 security/integrity/evm/evm_secfs.c rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); temp 160 security/integrity/evm/evm_secfs.c kfree(temp); temp 120 security/lockdown/lockdown.c char temp[80]; temp 130 security/lockdown/lockdown.c offset += sprintf(temp+offset, "[%s] ", label); temp 132 security/lockdown/lockdown.c offset += sprintf(temp+offset, "%s ", label); temp 138 security/lockdown/lockdown.c temp[offset-1] = '\n'; temp 140 security/lockdown/lockdown.c return simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); temp 280 security/selinux/ss/avtab.c struct avtab_node *cur, *temp; temp 288 security/selinux/ss/avtab.c temp = cur; temp 290 security/selinux/ss/avtab.c if (temp->key.specified & AVTAB_XPERMS) temp 292 security/selinux/ss/avtab.c temp->datum.u.xperms); temp 293 security/selinux/ss/avtab.c kmem_cache_free(avtab_node_cachep, temp); temp 329 security/selinux/ss/ebitmap.c struct ebitmap_node *n, *temp; temp 336 security/selinux/ss/ebitmap.c temp = n; temp 338 security/selinux/ss/ebitmap.c kmem_cache_free(ebitmap_node_cachep, temp); temp 102 security/selinux/ss/hashtab.c struct hashtab_node *cur, *temp; temp 110 security/selinux/ss/hashtab.c temp = cur; temp 112 security/selinux/ss/hashtab.c kmem_cache_free(hashtab_node_cachep, temp); temp 1562 security/smack/smackfs.c char temp[80]; temp 1568 security/smack/smackfs.c sprintf(temp, "%d", smk_cipso_doi_value); temp 1569 security/smack/smackfs.c rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); temp 1586 security/smack/smackfs.c char temp[80]; temp 1592 security/smack/smackfs.c if (count >= sizeof(temp) || count == 0) temp 1595 security/smack/smackfs.c if (copy_from_user(temp, buf, count) != 0) temp 1598 security/smack/smackfs.c temp[count] = '\0'; temp 1600 security/smack/smackfs.c if (sscanf(temp, "%d", &i) != 1) temp 1628 security/smack/smackfs.c char temp[80]; temp 1634 security/smack/smackfs.c sprintf(temp, "%d", smack_cipso_direct); temp 1635 security/smack/smackfs.c rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); temp 1653 security/smack/smackfs.c char temp[80]; temp 1659 security/smack/smackfs.c if (count >= sizeof(temp) || count == 0) temp 1662 security/smack/smackfs.c if (copy_from_user(temp, buf, count) != 0) temp 1665 security/smack/smackfs.c temp[count] = '\0'; temp 1667 security/smack/smackfs.c if (sscanf(temp, "%d", &i) != 1) temp 1706 security/smack/smackfs.c char temp[80]; temp 1712 security/smack/smackfs.c sprintf(temp, "%d", smack_cipso_mapped); temp 1713 security/smack/smackfs.c rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); temp 1731 security/smack/smackfs.c char temp[80]; temp 1737 security/smack/smackfs.c if (count >= sizeof(temp) || count == 0) temp 1740 security/smack/smackfs.c if (copy_from_user(temp, buf, count) != 0) temp 1743 security/smack/smackfs.c temp[count] = '\0'; temp 1745 security/smack/smackfs.c if (sscanf(temp, "%d", &i) != 1) temp 2134 security/smack/smackfs.c char temp[32]; temp 2140 security/smack/smackfs.c sprintf(temp, "%d\n", log_policy); temp 2141 security/smack/smackfs.c rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); temp 2157 security/smack/smackfs.c char temp[32]; temp 2163 security/smack/smackfs.c if (count >= sizeof(temp) || count == 0) temp 2166 security/smack/smackfs.c if (copy_from_user(temp, buf, count) != 0) temp 2169 security/smack/smackfs.c temp[count] = '\0'; temp 2171 security/smack/smackfs.c if (sscanf(temp, "%d", &i) != 1) temp 2777 security/smack/smackfs.c char temp[32]; temp 2783 security/smack/smackfs.c sprintf(temp, "%d\n", smack_ptrace_rule); temp 2784 security/smack/smackfs.c rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); temp 2798 security/smack/smackfs.c char temp[32]; temp 2804 security/smack/smackfs.c if (*ppos != 0 || count >= sizeof(temp) || count == 0) temp 2807 security/smack/smackfs.c if (copy_from_user(temp, buf, count) != 0) temp 2810 security/smack/smackfs.c temp[count] = '\0'; temp 2812 security/smack/smackfs.c if (sscanf(temp, "%d", &i) != 1) temp 902 sound/drivers/vx/vx_mixer.c struct snd_kcontrol_new temp; temp 910 sound/drivers/vx/vx_mixer.c temp = vx_control_output_level; temp 911 sound/drivers/vx/vx_mixer.c temp.index = i; temp 912 sound/drivers/vx/vx_mixer.c temp.tlv.p = chip->hw->output_level_db_scale; temp 913 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) temp 920 sound/drivers/vx/vx_mixer.c temp = vx_control_audio_gain; temp 921 sound/drivers/vx/vx_mixer.c temp.index = i; temp 922 sound/drivers/vx/vx_mixer.c temp.name = "PCM Playback Volume"; temp 923 sound/drivers/vx/vx_mixer.c temp.private_value = val; temp 924 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) temp 926 sound/drivers/vx/vx_mixer.c temp = vx_control_output_switch; temp 927 sound/drivers/vx/vx_mixer.c temp.index = i; temp 928 sound/drivers/vx/vx_mixer.c temp.private_value = val; temp 929 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) temp 931 sound/drivers/vx/vx_mixer.c temp = vx_control_monitor_gain; temp 932 sound/drivers/vx/vx_mixer.c temp.index = i; temp 933 sound/drivers/vx/vx_mixer.c temp.private_value = val; temp 934 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) temp 936 sound/drivers/vx/vx_mixer.c temp = vx_control_monitor_switch; temp 937 sound/drivers/vx/vx_mixer.c temp.index = i; temp 938 sound/drivers/vx/vx_mixer.c temp.private_value = val; temp 939 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) temp 943 sound/drivers/vx/vx_mixer.c temp = vx_control_audio_gain; temp 944 sound/drivers/vx/vx_mixer.c temp.index = i; temp 945 sound/drivers/vx/vx_mixer.c temp.name = "PCM Capture Volume"; temp 946 sound/drivers/vx/vx_mixer.c temp.private_value = (i * 2) | (1 << 8); temp 947 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) temp 968 sound/drivers/vx/vx_mixer.c temp = vx_control_saturation; temp 969 sound/drivers/vx/vx_mixer.c temp.index = i; temp 970 sound/drivers/vx/vx_mixer.c temp.private_value = val; temp 971 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) temp 975 sound/drivers/vx/vx_mixer.c temp = vx_control_vu_meter; temp 976 sound/drivers/vx/vx_mixer.c temp.index = i; temp 977 sound/drivers/vx/vx_mixer.c temp.name = name; temp 978 sound/drivers/vx/vx_mixer.c temp.private_value = val; temp 979 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) temp 982 sound/drivers/vx/vx_mixer.c temp = vx_control_peak_meter; temp 983 sound/drivers/vx/vx_mixer.c temp.index = i; temp 984 sound/drivers/vx/vx_mixer.c temp.name = name; temp 985 sound/drivers/vx/vx_mixer.c temp.private_value = val; temp 986 sound/drivers/vx/vx_mixer.c if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) temp 223 sound/isa/sb/emu8000_callback.c unsigned int temp; temp 273 sound/isa/sb/emu8000_callback.c temp = vp->reg.parm.chorus; temp 274 sound/isa/sb/emu8000_callback.c temp += (int)chan->control[MIDI_CTL_E3_CHORUS_DEPTH] * 9 / 10; temp 275 sound/isa/sb/emu8000_callback.c LIMITMAX(temp, 255); temp 276 sound/isa/sb/emu8000_callback.c temp = (temp <<24) | (unsigned int)addr; temp 277 sound/isa/sb/emu8000_callback.c EMU8000_CSL_WRITE(hw, ch, temp); temp 281 sound/isa/sb/emu8000_callback.c temp = vp->reg.parm.filterQ; temp 282 sound/isa/sb/emu8000_callback.c temp = (temp<<28) | (unsigned int)addr; temp 283 sound/isa/sb/emu8000_callback.c EMU8000_CCCA_WRITE(hw, ch, temp); temp 290 sound/isa/sb/emu8000_callback.c temp = vp->vtarget << 16; temp 291 sound/isa/sb/emu8000_callback.c EMU8000_VTFT_WRITE(hw, ch, temp | vp->ftarget); temp 292 sound/isa/sb/emu8000_callback.c EMU8000_CVCF_WRITE(hw, ch, temp | 0xff00); temp 304 sound/isa/sb/emu8000_callback.c unsigned int temp; temp 310 sound/isa/sb/emu8000_callback.c temp = vp->reg.parm.reverb; temp 311 sound/isa/sb/emu8000_callback.c temp += (int)vp->chan->control[MIDI_CTL_E1_REVERB_DEPTH] * 9 / 10; temp 312 sound/isa/sb/emu8000_callback.c LIMITMAX(temp, 255); temp 313 sound/isa/sb/emu8000_callback.c temp = (temp << 8) | (vp->ptarget << 16) | vp->aaux; temp 314 sound/isa/sb/emu8000_callback.c EMU8000_PTRX_WRITE(hw, ch, temp); temp 361 sound/isa/sb/emu8000_callback.c unsigned int temp; temp 363 sound/isa/sb/emu8000_callback.c temp = ((unsigned int)vp->apan<<24) | ((unsigned int)vp->reg.loopstart - 1); temp 364 sound/isa/sb/emu8000_callback.c EMU8000_PSST_WRITE(hw, vp->ch, temp); temp 272 sound/isa/sb/emu8000_pcm.c unsigned int temp; temp 303 sound/isa/sb/emu8000_pcm.c temp = rec->panning[ch]; temp 304 sound/isa/sb/emu8000_pcm.c temp = (temp <<24) | ((unsigned int)rec->loop_start[ch] - 1); temp 305 sound/isa/sb/emu8000_pcm.c EMU8000_PSST_WRITE(hw, ch, temp); temp 307 sound/isa/sb/emu8000_pcm.c temp = 0; // chorus temp 308 sound/isa/sb/emu8000_pcm.c temp = (temp << 24) | ((unsigned int)rec->loop_start[ch] + rec->buf_size - 1); temp 309 sound/isa/sb/emu8000_pcm.c EMU8000_CSL_WRITE(hw, ch, temp); temp 311 sound/isa/sb/emu8000_pcm.c temp = 0; // filterQ temp 312 sound/isa/sb/emu8000_pcm.c temp = (temp << 28) | ((unsigned int)rec->loop_start[ch] - 1); temp 313 sound/isa/sb/emu8000_pcm.c EMU8000_CCCA_WRITE(hw, ch, temp); temp 326 sound/isa/sb/emu8000_pcm.c unsigned int temp, aux; temp 336 sound/isa/sb/emu8000_pcm.c temp = 0; // reverb temp 341 sound/isa/sb/emu8000_pcm.c temp = (temp << 8) | (pt << 16) | aux; temp 342 sound/isa/sb/emu8000_pcm.c EMU8000_PTRX_WRITE(hw, ch, temp); temp 1969 sound/pci/ali5451/ali5451.c unsigned char temp; temp 1981 sound/pci/ali5451/ali5451.c pci_read_config_byte(pci_dev, 0x59, &temp); temp 1982 sound/pci/ali5451/ali5451.c temp |= 0x80; temp 1983 sound/pci/ali5451/ali5451.c pci_write_config_byte(pci_dev, 0x59, temp); temp 1986 sound/pci/ali5451/ali5451.c pci_read_config_byte(pci_dev, 0xb8, &temp); temp 1987 sound/pci/ali5451/ali5451.c temp |= 0x20; temp 1988 sound/pci/ali5451/ali5451.c pci_write_config_byte(pci_dev, 0xB8, temp); temp 1262 sound/pci/asihpi/hpi6205.c u32 temp; temp 1295 sound/pci/asihpi/hpi6205.c temp = C6205_HDCR_WARMRESET; temp 1296 sound/pci/asihpi/hpi6205.c iowrite32(temp, phw->prHDCR); temp 1300 sound/pci/asihpi/hpi6205.c temp = ioread32(phw->prHSR); temp 1301 sound/pci/asihpi/hpi6205.c if ((temp & (C6205_HSR_CFGERR | C6205_HSR_EEREAD)) != temp 1304 sound/pci/asihpi/hpi6205.c temp |= 0x04; temp 1306 sound/pci/asihpi/hpi6205.c iowrite32(temp, phw->prHSR); temp 1309 sound/pci/asihpi/hpi6205.c temp = ioread32(phw->prHDCR); temp 1310 sound/pci/asihpi/hpi6205.c if (!(temp & C6205_HDCR_PCIBOOT)) temp 1315 sound/pci/asihpi/hpi6205.c temp = 3; temp 1316 sound/pci/asihpi/hpi6205.c iowrite32(temp, phw->prDSPP); temp 1317 sound/pci/asihpi/hpi6205.c if ((temp | C6205_DSPP_MAP1) != ioread32(phw->prDSPP)) temp 1319 sound/pci/asihpi/hpi6205.c temp = 2; temp 1320 sound/pci/asihpi/hpi6205.c iowrite32(temp, phw->prDSPP); temp 1321 sound/pci/asihpi/hpi6205.c if ((temp | C6205_DSPP_MAP1) != ioread32(phw->prDSPP)) temp 1323 sound/pci/asihpi/hpi6205.c temp = 1; temp 1324 sound/pci/asihpi/hpi6205.c iowrite32(temp, phw->prDSPP); temp 1325 sound/pci/asihpi/hpi6205.c if ((temp | C6205_DSPP_MAP1) != ioread32(phw->prDSPP)) temp 1328 sound/pci/asihpi/hpi6205.c temp = 0; temp 1329 sound/pci/asihpi/hpi6205.c iowrite32(temp, phw->prDSPP); temp 1330 sound/pci/asihpi/hpi6205.c if ((temp | C6205_DSPP_MAP1) != ioread32(phw->prDSPP)) temp 1494 sound/pci/asihpi/hpi6205.c temp = ioread32(phw->prHSR); temp 1495 sound/pci/asihpi/hpi6205.c temp &= ~(u32)C6205_HSR_INTAM; temp 1496 sound/pci/asihpi/hpi6205.c iowrite32(temp, phw->prHSR); temp 1499 sound/pci/asihpi/hpi6205.c temp = ioread32(phw->prHDCR); temp 1500 sound/pci/asihpi/hpi6205.c temp |= (u32)C6205_HDCR_DSPINT; temp 1501 sound/pci/asihpi/hpi6205.c iowrite32(temp, phw->prHDCR); temp 157 sound/pci/au88x0/au88x0_core.c int addr, temp; temp 163 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_MIX_ENIN + addr); temp 164 sound/pci/au88x0/au88x0_core.c return ((temp >> (mixin & 3)) & 1); temp 171 sound/pci/au88x0/au88x0_core.c int temp; temp 174 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_MIX_VOL_B + (mix << 2)); temp 175 sound/pci/au88x0/au88x0_core.c if ((temp != 0x80) || (vol == 0x80)) temp 185 sound/pci/au88x0/au88x0_core.c int temp; temp 190 sound/pci/au88x0/au88x0_core.c temp = temp 193 sound/pci/au88x0/au88x0_core.c if ((temp != 0x80) || (vol == 0x80)) temp 203 sound/pci/au88x0/au88x0_core.c int temp, addr; temp 210 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_MIX_ENIN + addr); temp 212 sound/pci/au88x0/au88x0_core.c temp |= (1 << (mixin & 3)); temp 214 sound/pci/au88x0/au88x0_core.c temp &= ~(1 << (mixin & 3)); temp 222 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_MIX_ENIN + addr, temp); temp 261 sound/pci/au88x0/au88x0_core.c int temp, lifeboat = 0, prev; temp 263 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_MIXER_SR); temp 264 sound/pci/au88x0/au88x0_core.c if ((temp & (1 << ch)) == 0) { temp 270 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, prev); temp 271 sound/pci/au88x0/au88x0_core.c while (temp & 0x10) { temp 272 sound/pci/au88x0/au88x0_core.c prev = VORTEX_MIXER_RTBASE + ((temp & 0xf) << 2); temp 273 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, prev); temp 281 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_MIXER_RTBASE + ((temp & 0xf) << 2), mix); temp 282 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, prev, (temp & 0xf) | 0x10); temp 464 sound/pci/au88x0/au88x0_core.c int temp; temp 466 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_SRC_SOURCE); temp 468 sound/pci/au88x0/au88x0_core.c temp |= 1 << src; temp 470 sound/pci/au88x0/au88x0_core.c temp &= ~(1 << src); temp 471 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_SRC_SOURCE, temp); temp 477 sound/pci/au88x0/au88x0_core.c int temp, lifeboat = 0; temp 481 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_SRC_CONVRATIO + (src << 2)); temp 487 sound/pci/au88x0/au88x0_core.c while (temp != ratio); temp 488 sound/pci/au88x0/au88x0_core.c return temp; temp 494 sound/pci/au88x0/au88x0_core.c int temp; temp 498 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_SRC_U0 + (src << 2)); temp 499 sound/pci/au88x0/au88x0_core.c if (temp & 0x200) temp 501 sound/pci/au88x0/au88x0_core.c temp & ~0x200L); temp 507 sound/pci/au88x0/au88x0_core.c int temp, a; temp 516 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_SRC_U0 + (src << 2)); temp 517 sound/pci/au88x0/au88x0_core.c if (((temp >> 4) & 0xf) != a) temp 519 sound/pci/au88x0/au88x0_core.c (temp & 0xf) | ((a & 0xf) << 4)); temp 657 sound/pci/au88x0/au88x0_core.c int temp, lifeboat = 0, prev; temp 660 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_SRCBLOCK_SR); temp 661 sound/pci/au88x0/au88x0_core.c if ((temp & (1 << ch)) == 0) { temp 667 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, prev); temp 669 sound/pci/au88x0/au88x0_core.c while (temp & 0x10) { temp 670 sound/pci/au88x0/au88x0_core.c prev = VORTEX_SRC_RTBASE + ((temp & 0xf) << 2); /*esp12 */ temp 672 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, prev); temp 680 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_SRC_RTBASE + ((temp & 0xf) << 2), src); temp 682 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, prev, (temp & 0xf) | 0x10); temp 799 sound/pci/au88x0/au88x0_core.c int temp, lifeboat = 0; temp 808 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2)); temp 815 sound/pci/au88x0/au88x0_core.c while (temp & FIFO_RDONLY); temp 820 sound/pci/au88x0/au88x0_core.c if ((temp & FIFO_VALID) == 0) { temp 824 sound/pci/au88x0/au88x0_core.c temp = (this_4 & 0x1f) << 0xb; temp 826 sound/pci/au88x0/au88x0_core.c temp = (this_4 & 0x3f) << 0xc; temp 828 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xfffffffd) | ((stereo & 1) << 1); temp 829 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xfffffff3) | ((priority & 3) << 2); temp 830 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xffffffef) | ((valid & 1) << 4); temp 831 sound/pci/au88x0/au88x0_core.c temp |= FIFO_U1; temp 832 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xffffffdf) | ((empty & 1) << 5); temp 834 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xfffbffff) | ((f & 1) << 0x12); temp 837 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xf7ffffff) | ((f & 1) << 0x1b); temp 838 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xefffffff) | ((f & 1) << 0x1c); temp 841 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xfeffffff) | ((f & 1) << 0x18); temp 842 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xfdffffff) | ((f & 1) << 0x19); temp 846 sound/pci/au88x0/au88x0_core.c if (temp & FIFO_VALID) { temp 848 sound/pci/au88x0/au88x0_core.c temp = ((f & 1) << 0x12) | (temp & 0xfffbffef); temp 851 sound/pci/au88x0/au88x0_core.c temp = temp 852 sound/pci/au88x0/au88x0_core.c ((f & 1) << 0x1b) | (temp & 0xe7ffffef) | FIFO_BITS; temp 855 sound/pci/au88x0/au88x0_core.c temp = temp 856 sound/pci/au88x0/au88x0_core.c ((f & 1) << 0x18) | (temp & 0xfcffffef) | FIFO_BITS; temp 862 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2), temp); temp 900 sound/pci/au88x0/au88x0_core.c int temp = 0, lifeboat = 0; temp 904 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2)); temp 911 sound/pci/au88x0/au88x0_core.c while (temp & FIFO_RDONLY); temp 914 sound/pci/au88x0/au88x0_core.c if ((temp & FIFO_VALID) == 0) { temp 917 sound/pci/au88x0/au88x0_core.c temp = (this_4 & 0x1f) << 0xb; temp 919 sound/pci/au88x0/au88x0_core.c temp = (this_4 & 0x3f) << 0xc; temp 921 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xfffffffd) | ((ctrl & 1) << 1); temp 922 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xfffffff3) | ((priority & 3) << 2); temp 923 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xffffffef) | ((valid & 1) << 4); temp 924 sound/pci/au88x0/au88x0_core.c temp |= FIFO_U1; temp 925 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xffffffdf) | ((empty & 1) << 5); temp 927 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xfffbffff) | ((f & 1) << 0x12); temp 930 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xf7ffffff) | ((f & 1) << 0x1b); temp 931 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xefffffff) | ((f & 1) << 0x1c); temp 934 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xfeffffff) | ((f & 1) << 0x18); temp 935 sound/pci/au88x0/au88x0_core.c temp = (temp & 0xfdffffff) | ((f & 1) << 0x19); temp 939 sound/pci/au88x0/au88x0_core.c if (temp & FIFO_VALID) { temp 941 sound/pci/au88x0/au88x0_core.c temp = ((f & 1) << 0x12) | (temp & 0xfffbffef); temp 944 sound/pci/au88x0/au88x0_core.c temp = temp 945 sound/pci/au88x0/au88x0_core.c ((f & 1) << 0x1b) | (temp & 0xe7ffffef) | FIFO_BITS; temp 948 sound/pci/au88x0/au88x0_core.c temp = temp 949 sound/pci/au88x0/au88x0_core.c ((f & 1) << 0x18) | (temp & 0xfcffffef) | FIFO_BITS; temp 955 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2), temp); temp 1248 sound/pci/au88x0/au88x0_core.c int temp, page, delta; temp 1250 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_ADBDMA_STAT + (adbdma << 2)); temp 1251 sound/pci/au88x0/au88x0_core.c page = (temp & ADB_SUBBUF_MASK) >> ADB_SUBBUF_SHIFT; temp 1260 sound/pci/au88x0/au88x0_core.c + (temp & (dma->period_bytes - 1)); temp 1490 sound/pci/au88x0/au88x0_core.c int temp; temp 1491 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_WTDMA_STAT + (wtdma << 2)); temp 1492 sound/pci/au88x0/au88x0_core.c *subbuf = (temp >> WT_SUBBUF_SHIFT) & WT_SUBBUF_MASK; temp 1493 sound/pci/au88x0/au88x0_core.c *pos = temp & POS_MASK; temp 1505 sound/pci/au88x0/au88x0_core.c int temp; temp 1507 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_WTDMA_STAT + (wtdma << 2)); temp 1508 sound/pci/au88x0/au88x0_core.c temp = (dma->period_virt * dma->period_bytes) + (temp & (dma->period_bytes - 1)); temp 1509 sound/pci/au88x0/au88x0_core.c return temp; temp 1632 sound/pci/au88x0/au88x0_core.c int temp, prev, lifeboat = 0; temp 1648 sound/pci/au88x0/au88x0_core.c temp = temp 1651 sound/pci/au88x0/au88x0_core.c if (temp == ADB_MASK) { temp 1660 sound/pci/au88x0/au88x0_core.c prev = temp; temp 1661 sound/pci/au88x0/au88x0_core.c temp = temp 1663 sound/pci/au88x0/au88x0_core.c VORTEX_ADB_RTBASE + (temp << 2)) & ADB_MASK; temp 1671 sound/pci/au88x0/au88x0_core.c while (temp != ADB_MASK); temp 1679 sound/pci/au88x0/au88x0_core.c int temp, lifeboat = 0, prev; temp 1682 sound/pci/au88x0/au88x0_core.c temp = temp 1685 sound/pci/au88x0/au88x0_core.c if (temp == (route0 & ADB_MASK)) { temp 1686 sound/pci/au88x0/au88x0_core.c temp = temp 1689 sound/pci/au88x0/au88x0_core.c if ((temp & ADB_MASK) == ADB_MASK) temp 1692 sound/pci/au88x0/au88x0_core.c temp); temp 1696 sound/pci/au88x0/au88x0_core.c prev = temp; temp 1697 sound/pci/au88x0/au88x0_core.c temp = temp 1700 sound/pci/au88x0/au88x0_core.c if (((lifeboat++) > ADB_MASK) || (temp == ADB_MASK)) { temp 1707 sound/pci/au88x0/au88x0_core.c while (temp != (route0 & ADB_MASK)); temp 1708 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_ADB_RTBASE + (temp << 2)); temp 1709 sound/pci/au88x0/au88x0_core.c if ((temp & ADB_MASK) == route1) temp 1710 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_ADB_RTBASE + (temp << 2)); temp 1712 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_ADB_RTBASE + (prev << 2), temp); temp 33 sound/pci/au88x0/au88x0_mpu401.c int temp, mode; temp 41 sound/pci/au88x0/au88x0_mpu401.c temp = temp 44 sound/pci/au88x0/au88x0_mpu401.c hwwrite(vortex->mmio, VORTEX_CTRL, temp); temp 47 sound/pci/au88x0/au88x0_mpu401.c temp = temp 50 sound/pci/au88x0/au88x0_mpu401.c hwwrite(vortex->mmio, VORTEX_CTRL, temp); temp 54 sound/pci/au88x0/au88x0_mpu401.c temp = hwread(vortex->mmio, VORTEX_CTRL2) & 0xffff00cf; temp 55 sound/pci/au88x0/au88x0_mpu401.c temp |= (MIDI_CLOCK_DIV << 8) | ((mode >> 24) & 0xff) << 4; temp 56 sound/pci/au88x0/au88x0_mpu401.c hwwrite(vortex->mmio, VORTEX_CTRL2, temp); temp 60 sound/pci/au88x0/au88x0_mpu401.c temp = hwread(vortex->mmio, VORTEX_MIDI_DATA); temp 61 sound/pci/au88x0/au88x0_mpu401.c if (temp != MPU401_ACK /*0xfe */ ) { temp 71 sound/pci/au88x0/au88x0_mpu401.c if ((temp = temp 77 sound/pci/au88x0/au88x0_mpu401.c return temp; temp 81 sound/pci/au88x0/au88x0_mpu401.c if ((temp = temp 88 sound/pci/au88x0/au88x0_mpu401.c return temp; temp 30 sound/pci/au88x0/au88x0_synth.c int temp; temp 33 sound/pci/au88x0/au88x0_synth.c temp = hwread(vortex->mmio, WT_STEREO(wt)); temp 34 sound/pci/au88x0/au88x0_synth.c temp = (temp & 0xfe) | (stereo & 1); temp 36 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_STEREO(wt), temp); temp 42 sound/pci/au88x0/au88x0_synth.c int temp; temp 45 sound/pci/au88x0/au88x0_synth.c temp = hwread(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0)); temp 47 sound/pci/au88x0/au88x0_synth.c temp |= (1 << (wt & 0x1f)); temp 49 sound/pci/au88x0/au88x0_synth.c temp &= ~(1 << (wt & 0x1f)); temp 50 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0), temp); temp 57 sound/pci/au88x0/au88x0_synth.c int temp; temp 80 sound/pci/au88x0/au88x0_synth.c temp = hwread(vortex->mmio, WT_PARM(wt, 3)); temp 81 sound/pci/au88x0/au88x0_synth.c dev_dbg(vortex->card->dev, "WT PARM3: %x\n", temp); temp 642 sound/pci/au88x0/au88x0_xtalk.c u32 temp; temp 644 sound/pci/au88x0/au88x0_xtalk.c temp = (hwread(vortex->mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000; temp 645 sound/pci/au88x0/au88x0_xtalk.c temp = (temp & 0xffffff07) | ((sr & 0x1f) << 3); temp 646 sound/pci/au88x0/au88x0_xtalk.c hwwrite(vortex->mmio, 0x24660, temp); temp 658 sound/pci/au88x0/au88x0_xtalk.c u32 temp; temp 660 sound/pci/au88x0/au88x0_xtalk.c temp = (hwread(vortex->mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000; temp 661 sound/pci/au88x0/au88x0_xtalk.c temp |= 1; temp 662 sound/pci/au88x0/au88x0_xtalk.c hwwrite(vortex->mmio, 0x24660, temp); temp 668 sound/pci/au88x0/au88x0_xtalk.c u32 temp; temp 670 sound/pci/au88x0/au88x0_xtalk.c temp = (hwread(vortex->mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000; temp 671 sound/pci/au88x0/au88x0_xtalk.c temp &= 0xfffffffe; temp 672 sound/pci/au88x0/au88x0_xtalk.c hwwrite(vortex->mmio, 0x24660, temp); temp 1822 sound/pci/cs46xx/dsp_spos.c u32 temp; temp 1831 sound/pci/cs46xx/dsp_spos.c temp = ( address << 16 ) | ( address & 0x0000FFFF); /* offset 0 <-- address2 : address1 */ temp 1833 sound/pci/cs46xx/dsp_spos.c snd_cs46xx_poke(chip,( SPIOWRITE_SCB_ADDR << 2), temp); temp 1844 sound/pci/cs46xx/dsp_spos.c temp = snd_cs46xx_peek(chip,((SPIOWRITE_SCB_ADDR + 6) << 2)); temp 1845 sound/pci/cs46xx/dsp_spos.c if (temp == 0x00000000) temp 1387 sound/pci/cs46xx/dsp_spos_scb_lib.c u32 temp = snd_cs46xx_peek (chip,pcm_channel->pcm_reader_scb->address << 2); temp 1388 sound/pci/cs46xx/dsp_spos_scb_lib.c temp &= ~DMA_RQ_C1_SOURCE_SIZE_MASK; temp 1392 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_SOURCE_MOD1024; temp 1395 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_SOURCE_MOD512; temp 1398 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_SOURCE_MOD256; temp 1401 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_SOURCE_MOD128; temp 1404 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_SOURCE_MOD64; temp 1407 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_SOURCE_MOD32; temp 1410 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_SOURCE_MOD16; temp 1418 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_cs46xx_poke (chip,pcm_channel->pcm_reader_scb->address << 2,temp); temp 1426 sound/pci/cs46xx/dsp_spos_scb_lib.c u32 temp = snd_cs46xx_peek (chip,WRITEBACK_SCB_ADDR << 2); temp 1427 sound/pci/cs46xx/dsp_spos_scb_lib.c temp &= ~DMA_RQ_C1_DEST_SIZE_MASK; temp 1431 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_DEST_MOD1024; temp 1434 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_DEST_MOD512; temp 1437 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_DEST_MOD256; temp 1440 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_DEST_MOD128; temp 1443 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_DEST_MOD64; temp 1446 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_DEST_MOD32; temp 1449 sound/pci/cs46xx/dsp_spos_scb_lib.c temp |= DMA_RQ_C1_DEST_MOD16; temp 1457 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_cs46xx_poke (chip,WRITEBACK_SCB_ADDR << 2,temp); temp 309 sound/pci/emu10k1/emu10k1_callback.c unsigned int temp; temp 339 sound/pci/emu10k1/emu10k1_callback.c temp = FXBUS_MIDI_LEFT | (FXBUS_MIDI_RIGHT << 8) | temp 341 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, A_FXRT1, ch, temp); temp 343 sound/pci/emu10k1/emu10k1_callback.c temp = (FXBUS_MIDI_LEFT << 16) | (FXBUS_MIDI_RIGHT << 20) | temp 345 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, FXRT, ch, temp); temp 368 sound/pci/emu10k1/emu10k1_callback.c temp = (unsigned int)vp->acutoff << 8 | (unsigned char)vp->avol; temp 369 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, IFATN, vp->ch, temp); temp 386 sound/pci/emu10k1/emu10k1_callback.c temp = vp->reg.parm.reverb; temp 387 sound/pci/emu10k1/emu10k1_callback.c temp += (int)vp->chan->control[MIDI_CTL_E1_REVERB_DEPTH] * 9 / 10; temp 388 sound/pci/emu10k1/emu10k1_callback.c LIMITMAX(temp, 255); temp 390 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, PSST, vp->ch, (temp << 24) | addr); temp 394 sound/pci/emu10k1/emu10k1_callback.c temp = vp->reg.parm.chorus; temp 395 sound/pci/emu10k1/emu10k1_callback.c temp += (int)chan->control[MIDI_CTL_E3_CHORUS_DEPTH] * 9 / 10; temp 396 sound/pci/emu10k1/emu10k1_callback.c LIMITMAX(temp, 255); temp 397 sound/pci/emu10k1/emu10k1_callback.c temp = (temp <<24) | addr; temp 398 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, DSL, ch, temp); temp 405 sound/pci/emu10k1/emu10k1_callback.c temp = (hw->silent_page.addr << hw->address_mode) | (hw->address_mode ? MAP_PTI_MASK1 : MAP_PTI_MASK0); temp 406 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, MAPA, ch, temp); temp 407 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, MAPB, ch, temp); temp 426 sound/pci/emu10k1/emu10k1_callback.c temp = ((unsigned int)hw->silent_page.addr << hw_address_mode) | (hw->address_mode ? MAP_PTI_MASK1 : MAP_PTI_MASK0); temp 427 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, MAPA, ch, temp); temp 428 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, MAPB, ch, temp); temp 440 sound/pci/emu10k1/emu10k1_callback.c temp = vp->reg.parm.filterQ; temp 441 sound/pci/emu10k1/emu10k1_callback.c temp = (temp<<28) | addr; temp 443 sound/pci/emu10k1/emu10k1_callback.c temp |= CCCA_INTERPROM_0; temp 446 sound/pci/emu10k1/emu10k1_callback.c temp |= shift << 25; temp 449 sound/pci/emu10k1/emu10k1_callback.c temp |= CCCA_8BITSELECT; temp 450 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, CCCA, ch, temp); temp 453 sound/pci/emu10k1/emu10k1_callback.c temp = (unsigned int)vp->vtarget << 16; temp 454 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, VTFT, ch, temp | vp->ftarget); temp 455 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, CVCF, ch, temp | 0xff00); temp 465 sound/pci/emu10k1/emu10k1_callback.c unsigned int temp, ptarget; temp 481 sound/pci/emu10k1/emu10k1_callback.c temp = ptarget | (vp->apan << 8) | vp->aaux; temp 482 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, PTRX, vp->ch, temp); temp 568 sound/pci/emu10k1/memory.c int page, nextofs, end_offset, temp, temp1; temp 577 sound/pci/emu10k1/memory.c temp = nextofs - offset; temp 579 sound/pci/emu10k1/memory.c if (temp1 < temp) temp 580 sound/pci/emu10k1/memory.c temp = temp1; temp 583 sound/pci/emu10k1/memory.c memset(ptr, 0, temp); temp 598 sound/pci/emu10k1/memory.c int page, nextofs, end_offset, temp, temp1; temp 607 sound/pci/emu10k1/memory.c temp = nextofs - offset; temp 609 sound/pci/emu10k1/memory.c if (temp1 < temp) temp 610 sound/pci/emu10k1/memory.c temp = temp1; temp 612 sound/pci/emu10k1/memory.c if (ptr && copy_from_user(ptr, data, temp)) temp 615 sound/pci/emu10k1/memory.c data += temp; temp 521 sound/pci/ens1370.c unsigned int temp, i, orig, r; temp 524 sound/pci/ens1370.c temp = orig = snd_es1371_wait_src_ready(ensoniq); temp 527 sound/pci/ens1370.c r = temp & (ES_1371_SRC_DISABLE | ES_1371_DIS_P1 | temp 533 sound/pci/ens1370.c temp = snd_es1371_wait_src_ready(ensoniq); temp 535 sound/pci/ens1370.c if ((temp & 0x00870000) != 0x00010000) { temp 538 sound/pci/ens1370.c temp = inl(ES_REG(ensoniq, 1371_SMPRATE)); temp 539 sound/pci/ens1370.c if ((temp & 0x00870000) == 0x00010000) temp 550 sound/pci/ens1370.c return temp; temp 60 sound/pci/hda/hda_generic.c const struct snd_kcontrol_new *temp) temp 65 sound/pci/hda/hda_generic.c *knew = *temp; temp 330 sound/pci/hda/hda_generic.h const struct snd_kcontrol_new *temp); temp 837 sound/pci/hda/patch_sigmatel.c const struct snd_kcontrol_new *temp; temp 839 sound/pci/hda/patch_sigmatel.c temp = &abeep_mute_ctl; temp 841 sound/pci/hda/patch_sigmatel.c temp = &dbeep_mute_ctl; temp 843 sound/pci/hda/patch_sigmatel.c "Beep Playback Switch", temp); temp 112 sound/pci/ice1712/ak4xxx.c int snd_ice1712_akm4xxx_init(struct snd_akm4xxx *ak, const struct snd_akm4xxx *temp, temp 125 sound/pci/ice1712/ak4xxx.c *ak = *temp; temp 1339 sound/pci/ice1712/aureon.c int temp, temp2; temp 1340 sound/pci/ice1712/aureon.c temp2 = temp = wm_get(ice, WM_DAC_CTRL2); temp 1342 sound/pci/ice1712/aureon.c temp |= 0xf; temp 1344 sound/pci/ice1712/aureon.c temp &= ~0xf; temp 1345 sound/pci/ice1712/aureon.c if (temp != temp2) { temp 1346 sound/pci/ice1712/aureon.c wm_put(ice, WM_DAC_CTRL2, temp); temp 1371 sound/pci/ice1712/aureon.c int temp, temp2; temp 1374 sound/pci/ice1712/aureon.c temp2 = temp = wm_get(ice, WM_MASTER); temp 1377 sound/pci/ice1712/aureon.c temp |= 0x8; temp 1379 sound/pci/ice1712/aureon.c temp &= ~0x8; temp 1381 sound/pci/ice1712/aureon.c if (temp != temp2) { temp 1382 sound/pci/ice1712/aureon.c wm_put(ice, WM_MASTER, temp); temp 690 sound/pci/ice1712/phase.c int temp, temp2; temp 691 sound/pci/ice1712/phase.c temp = wm_get(ice, WM_DAC_CTRL2); temp 692 sound/pci/ice1712/phase.c temp2 = temp; temp 694 sound/pci/ice1712/phase.c temp |= 0xf; temp 696 sound/pci/ice1712/phase.c temp &= ~0xf; temp 697 sound/pci/ice1712/phase.c if (temp != temp2) { temp 698 sound/pci/ice1712/phase.c wm_put(ice, WM_DAC_CTRL2, temp); temp 727 sound/pci/ice1712/phase.c int temp, temp2; temp 730 sound/pci/ice1712/phase.c temp = wm_get(ice, WM_MASTER); temp 731 sound/pci/ice1712/phase.c temp2 = temp; temp 734 sound/pci/ice1712/phase.c temp |= 0x8; temp 736 sound/pci/ice1712/phase.c temp &= ~0x8; temp 738 sound/pci/ice1712/phase.c if (temp != temp2) { temp 739 sound/pci/ice1712/phase.c wm_put(ice, WM_MASTER, temp); temp 927 sound/pci/lx6464es/lx_core.c u32 temp; temp 930 sound/pci/lx6464es/lx_core.c while ((temp = lx_plx_reg_read(chip, ePLX_L2PCIDB))) { temp 932 sound/pci/lx6464es/lx_core.c irqcs |= temp; temp 933 sound/pci/lx6464es/lx_core.c lx_plx_reg_write(chip, ePLX_L2PCIDB, temp); temp 1110 sound/pci/mixart/mixart_mixer.c struct snd_kcontrol_new temp; temp 1114 sound/pci/mixart/mixart_mixer.c temp = mixart_control_analog_level; temp 1115 sound/pci/mixart/mixart_mixer.c temp.name = "Master Playback Volume"; temp 1116 sound/pci/mixart/mixart_mixer.c temp.private_value = 0; /* playback */ temp 1117 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) temp 1125 sound/pci/mixart/mixart_mixer.c temp = mixart_control_analog_level; temp 1126 sound/pci/mixart/mixart_mixer.c temp.name = "Master Capture Volume"; temp 1127 sound/pci/mixart/mixart_mixer.c temp.private_value = 1; /* capture */ temp 1128 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) temp 1132 sound/pci/mixart/mixart_mixer.c temp = snd_mixart_pcm_vol; temp 1133 sound/pci/mixart/mixart_mixer.c temp.name = "PCM Playback Volume"; temp 1134 sound/pci/mixart/mixart_mixer.c temp.count = MIXART_PLAYBACK_STREAMS; temp 1135 sound/pci/mixart/mixart_mixer.c temp.private_value = 0; /* playback analog */ temp 1136 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) temp 1139 sound/pci/mixart/mixart_mixer.c temp.name = "PCM Capture Volume"; temp 1140 sound/pci/mixart/mixart_mixer.c temp.count = 1; temp 1141 sound/pci/mixart/mixart_mixer.c temp.private_value = MIXART_VOL_REC_MASK; /* capture analog */ temp 1142 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) temp 1146 sound/pci/mixart/mixart_mixer.c temp.name = "AES Playback Volume"; temp 1147 sound/pci/mixart/mixart_mixer.c temp.count = MIXART_PLAYBACK_STREAMS; temp 1148 sound/pci/mixart/mixart_mixer.c temp.private_value = MIXART_VOL_AES_MASK; /* playback AES/EBU */ temp 1149 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) temp 1152 sound/pci/mixart/mixart_mixer.c temp.name = "AES Capture Volume"; temp 1153 sound/pci/mixart/mixart_mixer.c temp.count = 0; temp 1154 sound/pci/mixart/mixart_mixer.c temp.private_value = MIXART_VOL_REC_MASK | MIXART_VOL_AES_MASK; /* capture AES/EBU */ temp 1155 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) temp 1158 sound/pci/mixart/mixart_mixer.c temp = mixart_control_pcm_switch; temp 1159 sound/pci/mixart/mixart_mixer.c temp.name = "PCM Playback Switch"; temp 1160 sound/pci/mixart/mixart_mixer.c temp.private_value = 0; /* playback analog */ temp 1161 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) temp 1165 sound/pci/mixart/mixart_mixer.c temp.name = "AES Playback Switch"; temp 1166 sound/pci/mixart/mixart_mixer.c temp.private_value = MIXART_VOL_AES_MASK; /* playback AES/EBU */ temp 1167 sound/pci/mixart/mixart_mixer.c if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) temp 1351 sound/pci/nm256/nm256.c void __iomem *temp; temp 1356 sound/pci/nm256/nm256.c temp = ioremap_nocache(chip->buffer_addr + chip->buffer_end - 0x400, 16); temp 1357 sound/pci/nm256/nm256.c if (temp == NULL) { temp 1363 sound/pci/nm256/nm256.c sig = readl(temp); temp 1365 sound/pci/nm256/nm256.c u32 pointer = readl(temp + 4); temp 1375 sound/pci/nm256/nm256.c iounmap(temp); temp 1385 sound/pci/nm256/nm256.c iounmap(temp); temp 627 sound/pci/pcxhr/pcxhr_mix22.c unsigned char temp = 0; temp 633 sound/pci/pcxhr/pcxhr_mix22.c temp <<= 1; temp 635 sound/pci/pcxhr/pcxhr_mix22.c temp |= 1; temp 638 sound/pci/pcxhr/pcxhr_mix22.c chip->chip_idx, aes_idx, temp); temp 639 sound/pci/pcxhr/pcxhr_mix22.c *aes_bits = temp; temp 855 sound/pci/pcxhr/pcxhr_mixer.c unsigned char temp; temp 898 sound/pci/pcxhr/pcxhr_mixer.c temp = (unsigned char)rmh.stat[1]; temp 900 sound/pci/pcxhr/pcxhr_mixer.c temp = 0; temp 903 sound/pci/pcxhr/pcxhr_mixer.c temp <<= 1; temp 905 sound/pci/pcxhr/pcxhr_mixer.c temp |= 1; temp 909 sound/pci/pcxhr/pcxhr_mixer.c chip->chip_idx, aes_idx, temp); temp 910 sound/pci/pcxhr/pcxhr_mixer.c *aes_bits = temp; temp 1111 sound/pci/pcxhr/pcxhr_mixer.c struct snd_kcontrol_new temp; temp 1116 sound/pci/pcxhr/pcxhr_mixer.c temp = pcxhr_control_analog_level; temp 1117 sound/pci/pcxhr/pcxhr_mixer.c temp.name = "Master Playback Volume"; temp 1118 sound/pci/pcxhr/pcxhr_mixer.c temp.private_value = 0; /* playback */ temp 1120 sound/pci/pcxhr/pcxhr_mixer.c temp.tlv.p = db_scale_a_hr222_playback; temp 1122 sound/pci/pcxhr/pcxhr_mixer.c temp.tlv.p = db_scale_analog_playback; temp 1124 sound/pci/pcxhr/pcxhr_mixer.c snd_ctl_new1(&temp, chip)); temp 1135 sound/pci/pcxhr/pcxhr_mixer.c temp = snd_pcxhr_pcm_vol; temp 1136 sound/pci/pcxhr/pcxhr_mixer.c temp.name = "PCM Playback Volume"; temp 1137 sound/pci/pcxhr/pcxhr_mixer.c temp.count = PCXHR_PLAYBACK_STREAMS; temp 1138 sound/pci/pcxhr/pcxhr_mixer.c temp.private_value = 0; /* playback */ temp 1140 sound/pci/pcxhr/pcxhr_mixer.c snd_ctl_new1(&temp, chip)); temp 1164 sound/pci/pcxhr/pcxhr_mixer.c temp = pcxhr_control_analog_level; temp 1165 sound/pci/pcxhr/pcxhr_mixer.c temp.name = "Line Capture Volume"; temp 1166 sound/pci/pcxhr/pcxhr_mixer.c temp.private_value = 1; /* capture */ temp 1168 sound/pci/pcxhr/pcxhr_mixer.c temp.tlv.p = db_scale_a_hr222_capture; temp 1170 sound/pci/pcxhr/pcxhr_mixer.c temp.tlv.p = db_scale_analog_capture; temp 1173 sound/pci/pcxhr/pcxhr_mixer.c snd_ctl_new1(&temp, chip)); temp 1177 sound/pci/pcxhr/pcxhr_mixer.c temp = snd_pcxhr_pcm_vol; temp 1178 sound/pci/pcxhr/pcxhr_mixer.c temp.name = "PCM Capture Volume"; temp 1179 sound/pci/pcxhr/pcxhr_mixer.c temp.count = 1; temp 1180 sound/pci/pcxhr/pcxhr_mixer.c temp.private_value = 1; /* capture */ temp 1183 sound/pci/pcxhr/pcxhr_mixer.c snd_ctl_new1(&temp, chip)); temp 1398 sound/pci/trident/trident_main.c unsigned int temp; temp 1504 sound/pci/trident/trident_main.c temp = inl(TRID_REG(trident, T4D_LFO_GC_CIR)); temp 1505 sound/pci/trident/trident_main.c temp &= ~(1<<19); temp 1506 sound/pci/trident/trident_main.c outl(temp, TRID_REG(trident, T4D_LFO_GC_CIR)); temp 1507 sound/pci/trident/trident_main.c temp = inl(TRID_REG(trident, SI_SERIAL_INTF_CTRL)); temp 1508 sound/pci/trident/trident_main.c temp |= SPDIF_EN; temp 1509 sound/pci/trident/trident_main.c outl(temp, TRID_REG(trident, SI_SERIAL_INTF_CTRL)); temp 1935 sound/pci/trident/trident_main.c unsigned int temp; temp 1944 sound/pci/trident/trident_main.c temp = inl(TRID_REG(trident, SI_SERIAL_INTF_CTRL)); temp 1946 sound/pci/trident/trident_main.c temp |= SPDIF_EN; temp 1948 sound/pci/trident/trident_main.c temp &= ~SPDIF_EN; temp 1950 sound/pci/trident/trident_main.c outl(temp, TRID_REG(trident, SI_SERIAL_INTF_CTRL)); temp 2333 sound/pci/trident/trident_main.c unsigned int temp; temp 2335 sound/pci/trident/trident_main.c temp = inl(TRID_REG(trident, SI_SERIAL_INTF_CTRL)) & ~SPDIF_EN; temp 2337 sound/pci/trident/trident_main.c temp |= SPDIF_EN; temp 2338 sound/pci/trident/trident_main.c outl(temp, TRID_REG(trident, SI_SERIAL_INTF_CTRL)); temp 216 sound/pci/ymfpci/ymfpci.h __le32 temp; temp 869 sound/soc/sprd/sprd-mcdt.c struct sprd_mcdt_chan *temp, *chan = NULL; temp 873 sound/soc/sprd/sprd-mcdt.c list_for_each_entry(temp, &sprd_mcdt_chan_list, list) { temp 874 sound/soc/sprd/sprd-mcdt.c if (temp->type == type && temp->id == channel) { temp 875 sound/soc/sprd/sprd-mcdt.c chan = temp; temp 895 sound/soc/sprd/sprd-mcdt.c struct sprd_mcdt_chan *temp; temp 902 sound/soc/sprd/sprd-mcdt.c list_for_each_entry(temp, &sprd_mcdt_chan_list, list) { temp 903 sound/soc/sprd/sprd-mcdt.c if (temp == chan) { temp 979 sound/soc/sprd/sprd-mcdt.c struct sprd_mcdt_chan *chan, *temp; temp 983 sound/soc/sprd/sprd-mcdt.c list_for_each_entry_safe(chan, temp, &sprd_mcdt_chan_list, list) temp 898 sound/usb/quirks.c u8 temp[12]; temp 907 sound/usb/quirks.c 0x01, 0x22, 0x0100, 0x0085, &temp, 0x0003); temp 291 tools/iio/iio_utils.c struct iio_channel_info temp; temp 297 tools/iio/iio_utils.c temp = ci_array[y + 1]; temp 299 tools/iio/iio_utils.c ci_array[y] = temp; temp 661 tools/iio/iio_utils.c char *temp = malloc(strlen(basedir) + strlen(filename) + 2); temp 663 tools/iio/iio_utils.c if (!temp) temp 666 tools/iio/iio_utils.c ret = sprintf(temp, "%s/%s", basedir, filename); temp 670 tools/iio/iio_utils.c sysfsfp = fopen(temp, "w"); temp 673 tools/iio/iio_utils.c fprintf(stderr, "failed to open %s\n", temp); temp 691 tools/iio/iio_utils.c sysfsfp = fopen(temp, "r"); temp 694 tools/iio/iio_utils.c fprintf(stderr, "failed to open %s\n", temp); temp 720 tools/iio/iio_utils.c free(temp); temp 757 tools/iio/iio_utils.c char *temp = malloc(strlen(basedir) + strlen(filename) + 2); temp 759 tools/iio/iio_utils.c if (!temp) { temp 764 tools/iio/iio_utils.c ret = sprintf(temp, "%s/%s", basedir, filename); temp 768 tools/iio/iio_utils.c sysfsfp = fopen(temp, "w"); temp 771 tools/iio/iio_utils.c fprintf(stderr, "Could not open %s\n", temp); temp 789 tools/iio/iio_utils.c sysfsfp = fopen(temp, "r"); temp 796 tools/iio/iio_utils.c if (fscanf(sysfsfp, "%s", temp) != 1) { temp 809 tools/iio/iio_utils.c if (strcmp(temp, val) != 0) { temp 812 tools/iio/iio_utils.c "Should be %s written to %s/%s\n", temp, val, temp 819 tools/iio/iio_utils.c free(temp); temp 864 tools/iio/iio_utils.c char *temp = malloc(strlen(basedir) + strlen(filename) + 2); temp 866 tools/iio/iio_utils.c if (!temp) { temp 871 tools/iio/iio_utils.c ret = sprintf(temp, "%s/%s", basedir, filename); temp 875 tools/iio/iio_utils.c sysfsfp = fopen(temp, "r"); temp 894 tools/iio/iio_utils.c free(temp); temp 911 tools/iio/iio_utils.c char *temp = malloc(strlen(basedir) + strlen(filename) + 2); temp 913 tools/iio/iio_utils.c if (!temp) { temp 918 tools/iio/iio_utils.c ret = sprintf(temp, "%s/%s", basedir, filename); temp 922 tools/iio/iio_utils.c sysfsfp = fopen(temp, "r"); temp 941 tools/iio/iio_utils.c free(temp); temp 958 tools/iio/iio_utils.c char *temp = malloc(strlen(basedir) + strlen(filename) + 2); temp 960 tools/iio/iio_utils.c if (!temp) { temp 965 tools/iio/iio_utils.c ret = sprintf(temp, "%s/%s", basedir, filename); temp 969 tools/iio/iio_utils.c sysfsfp = fopen(temp, "r"); temp 988 tools/iio/iio_utils.c free(temp); temp 110 tools/lib/traceevent/event-plugin.c char **temp = list; temp 119 tools/lib/traceevent/event-plugin.c list = temp; temp 3090 tools/perf/builtin-script.c char *temp; temp 3130 tools/perf/builtin-script.c temp = strchr(script_dirent->d_name, '.'); temp 3132 tools/perf/builtin-script.c (temp - script_dirent->d_name) + 1, temp 181 tools/perf/util/evlist.c struct evsel *evsel, *temp; temp 183 tools/perf/util/evlist.c __evlist__for_each_entry_safe(list, temp, evsel) { temp 297 tools/perf/util/genelf_debug.c unsigned int temp; temp 303 tools/perf/util/genelf_debug.c temp = (ent->lineno - last_line) - default_debug_line_header.line_base; temp 305 tools/perf/util/genelf_debug.c if (temp >= default_debug_line_header.line_range) temp 318 tools/perf/util/genelf_debug.c unsigned long opcode = temp + temp 798 tools/perf/util/parse-events.c struct parse_events_term *term, *temp; temp 808 tools/perf/util/parse-events.c list_for_each_entry_safe(term, temp, evt_head_config, list) temp 2662 tools/perf/util/parse-events.c struct parse_events_term *temp, temp 2671 tools/perf/util/parse-events.c *term = *temp; temp 2699 tools/perf/util/parse-events.c struct parse_events_term temp = { temp 2708 tools/perf/util/parse-events.c return new_term(term, &temp, NULL, num); temp 2718 tools/perf/util/parse-events.c struct parse_events_term temp = { temp 2726 tools/perf/util/parse-events.c return new_term(term, &temp, str, 0); temp 2733 tools/perf/util/parse-events.c struct parse_events_term temp = { temp 2742 tools/perf/util/parse-events.c return new_term(term, &temp, (char *) sym->symbol, 0); temp 2748 tools/perf/util/parse-events.c struct parse_events_term temp = { temp 2756 tools/perf/util/parse-events.c return new_term(new, &temp, term->val.str, term->val.num); temp 1335 tools/perf/util/symbol-elf.c bool temp) temp 1339 tools/perf/util/symbol-elf.c if (temp) temp 492 tools/perf/util/trace-event-info.c int fd, bool temp) temp 508 tools/perf/util/trace-event-info.c tdata->temp = temp; temp 511 tools/perf/util/trace-event-info.c if (temp) { temp 561 tools/perf/util/trace-event-info.c if (temp) { temp 578 tools/perf/util/trace-event-info.c if (tdata->temp) { temp 58 tools/perf/util/trace-event.h bool temp; temp 63 tools/perf/util/trace-event.h int fd, bool temp); temp 55 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c struct timespec temp; temp 57 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c temp.tv_sec = end.tv_sec - start.tv_sec - 1; temp 58 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c temp.tv_nsec = 1000000000 + end.tv_nsec - start.tv_nsec; temp 60 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c temp.tv_sec = end.tv_sec - start.tv_sec; temp 61 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c temp.tv_nsec = end.tv_nsec - start.tv_nsec; temp 63 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c return (temp.tv_sec * 1000000) + (temp.tv_nsec / 1000); temp 78 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c char *temp; temp 84 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c temp = malloc(sizeof(char) * (n+1)); temp 88 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c snprintf(temp, n+1, " %s", s); temp 89 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c strcpy(s, temp); temp 90 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c free(temp); temp 16 tools/testing/selftests/android/ion/ipcsocket.c int ret, temp = 1; temp 32 tools/testing/selftests/android/ion/ipcsocket.c (char *)&temp, sizeof(int)) < 0) { temp 98 tools/testing/selftests/net/tcp_mmap.c unsigned long temp = htotal; temp 102 tools/testing/selftests/net/tcp_mmap.c temp ^= *(unsigned long *)zone; temp 103 tools/testing/selftests/net/tcp_mmap.c temp ^= *(unsigned long *)(zone + sizeof(long)); temp 104 tools/testing/selftests/net/tcp_mmap.c temp ^= *(unsigned long *)(zone + 2*sizeof(long)); temp 105 tools/testing/selftests/net/tcp_mmap.c temp ^= *(unsigned long *)(zone + 3*sizeof(long)); temp 106 tools/testing/selftests/net/tcp_mmap.c temp ^= *(unsigned long *)(zone + 4*sizeof(long)); temp 107 tools/testing/selftests/net/tcp_mmap.c temp ^= *(unsigned long *)(zone + 5*sizeof(long)); temp 108 tools/testing/selftests/net/tcp_mmap.c temp ^= *(unsigned long *)(zone + 6*sizeof(long)); temp 109 tools/testing/selftests/net/tcp_mmap.c temp ^= *(unsigned long *)(zone + 7*sizeof(long)); temp 114 tools/testing/selftests/net/tcp_mmap.c temp ^= *(unsigned char *)zone; temp 118 tools/testing/selftests/net/tcp_mmap.c htotal = temp; temp 70 tools/testing/selftests/size/get_size.c unsigned long long temp; temp 75 tools/testing/selftests/size/get_size.c temp = num; temp 76 tools/testing/selftests/size/get_size.c temp = (temp * units)/1024; temp 77 tools/testing/selftests/size/get_size.c num = temp; temp 189 tools/thermal/tmon/sysfs.c tzi->tp[tp_id].temp = temp_ulong; temp 502 tools/thermal/tmon/sysfs.c &trec[next_thermal_record].temp[i]); temp 505 tools/thermal/tmon/sysfs.c trec[next_thermal_record].temp[i] / 1000); temp 188 tools/thermal/tmon/tmon.c ptdata.tzi[i].tp[j].temp); temp 227 tools/thermal/tmon/tmon.c double yk = 0.0, temp; /* controller output */ temp 251 tools/thermal/tmon/tmon.c temp = strtod(optarg, NULL); temp 252 tools/thermal/tmon/tmon.c if (temp < 0) { temp 256 tools/thermal/tmon/tmon.c target_temp_user = temp; temp 331 tools/thermal/tmon/tmon.c controller_handler(trec[0].temp[target_tz_index] / 1000, temp 43 tools/thermal/tmon/tmon.h unsigned long temp[MAX_NR_TZONE]; temp 65 tools/thermal/tmon/tmon.h unsigned long temp; temp 555 tools/thermal/tmon/tui.c x = ptdata.tzi[tz].tp[j].temp / 1000; temp 560 tools/thermal/tmon/tui.c tz, j, ptdata.tzi[tz].tp[j].temp); temp 583 tools/thermal/tmon/tui.c int temp = trec[cur_thermal_record].temp[i] / 1000; temp 590 tools/thermal/tmon/tui.c ptdata.tzi[i].instance, temp); temp 591 tools/thermal/tmon/tui.c draw_hbar(thermal_data_window, y, TDATA_LEFT, temp, ACS_RARROW, temp 1104 virt/kvm/arm/vgic/vgic-its.c struct its_ite *ite, *temp; temp 1111 virt/kvm/arm/vgic/vgic-its.c list_for_each_entry_safe(ite, temp, &device->itt_head, ite_list) temp 1123 virt/kvm/arm/vgic/vgic-its.c struct its_device *cur, *temp; temp 1125 virt/kvm/arm/vgic/vgic-its.c list_for_each_entry_safe(cur, temp, &its->device_list, dev_list) temp 1132 virt/kvm/arm/vgic/vgic-its.c struct its_collection *cur, *temp; temp 1134 virt/kvm/arm/vgic/vgic-its.c list_for_each_entry_safe(cur, temp, &its->collection_list, coll_list)