/drivers/media/dvb/b2c2/ |
H A D | flexcop-sram.c | 239 u8 tmp1, tmp2; 245 tmp2 = 0xa5; 248 sram_write(adapter, addr, &tmp2, 1); 251 tmp2 = 0; 254 sram_read(adapter, addr, &tmp2, 1); 255 sram_read(adapter, addr, &tmp2, 1); 257 dprintk("%s: wrote 0xa5, read 0x%2x\n", __func__, tmp2); 259 if (tmp2 != 0xa5) 262 tmp2 = 0x5a; 265 sram_write(adapter, addr, &tmp2, [all...] |
/drivers/media/dvb/frontends/ |
H A D | ec100.c | 84 u8 tmp, tmp2; local 114 tmp2 = 0x55; 118 tmp2 = 0x64; 123 tmp2 = 0x72; 129 ret = ec100_write_reg(state, 0x1c, tmp2); 207 u8 tmp, tmp2; local 215 ret = ec100_read_reg(state, 0x66, &tmp2); 219 ber2 = (tmp2 << 8) | tmp;
|
H A D | tda1004x.c | 1125 int tmp2; local 1141 tmp2 = tda1004x_read_byte(state, TDA1004X_UNCOR); 1142 if (tmp2 < 0) 1144 tmp2 &= 0x7f; 1145 if ((tmp2 < tmp) || (tmp2 == 0))
|
/drivers/watchdog/ |
H A D | booke_wdt.c | 63 unsigned long tmp2 = ppc_tb_freq; local 68 tmp2 = tmp2 / 5 * 2; 70 do_div(tmp, tmp2);
|
/drivers/cpufreq/ |
H A D | gx-suspmod.c | 341 u8 tmp1, tmp2; local 356 tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2); 362 tmp_freq = gx_validate_speed(policy->max, &tmp1, &tmp2); 382 u8 tmp1, tmp2; local 390 tmp_freq = gx_validate_speed(target_freq, &tmp1, &tmp2); 393 tmp_freq = gx_validate_speed(tmp_freq, &tmp1, &tmp2); 397 tmp_freq = gx_validate_speed(tmp_freq, &tmp1, &tmp2);
|
/drivers/ide/ |
H A D | aec62xx.c | 91 u8 tmp0 = 0, tmp1 = 0, tmp2 = 0; local 103 tmp2 = 0x00; 107 tmp2 = ((ultra_conf << (2*drive->dn)) | (tmp1 & ~(3 << (2*drive->dn)))); 108 pci_write_config_byte(dev, 0x54, tmp2); 118 u8 tmp1 = 0, tmp2 = 0; local 132 tmp2 = ((ultra_conf << (4*unit)) | (tmp1 & ~(7 << (4*unit)))); 133 pci_write_config_byte(dev, (0x44|hwif->channel), tmp2);
|
/drivers/mtd/devices/ |
H A D | docprobe.c | 85 unsigned char tmp2; local 106 tmp2 = ReadDOC(window, DOCControl); 201 WriteDOC(tmp2, window, DOCControl); 210 WriteDOC(tmp2, window, DOCControl);
|
H A D | doc2000.c | 478 int tmp1, tmp2, retval; local 488 tmp2 = ReadDOC(doc2->virtadr, AliasResolution); 489 if (tmp1 != tmp2) 493 tmp2 = ReadDOC(doc2->virtadr, AliasResolution); 494 if (tmp2 == (tmp1 + 1) % 0xff)
|
H A D | doc2001.c | 286 int tmp1, tmp2, retval; local 297 tmp2 = ReadDOC(doc2->virtadr, AliasResolution); 298 if (tmp1 != tmp2) 302 tmp2 = ReadDOC(doc2->virtadr, AliasResolution); 303 if (tmp2 == (tmp1+1) % 0xff)
|
H A D | doc2001plus.c | 409 int tmp1, tmp2, retval; local 420 tmp2 = ReadDOC(doc2->virtadr, Mplus_AliasResolution); 421 if (tmp1 != tmp2) 425 tmp2 = ReadDOC(doc2->virtadr, Mplus_AliasResolution); 426 if (tmp2 == (tmp1+1) % 0xff)
|
/drivers/staging/iio/adc/ |
H A D | adt7410.c | 513 long tmp1, tmp2; local 532 ret = strict_strtol(pos, 10, &tmp2); 535 tmp2 = (tmp2 / 78125) * 78125; 540 ret = strict_strtol(pos, 10, &tmp2); 543 tmp2 = (tmp2 / 625) * 625; 554 (tmp2 & ADT7410_T16_VALUE_FLOAT_MASK); 561 (tmp2 & ADT7410_T13_VALUE_FLOAT_MASK);
|
H A D | adt7310.c | 545 long tmp1, tmp2; local 564 ret = strict_strtol(pos, 10, &tmp2); 567 tmp2 = (tmp2 / 78125) * 78125; 572 ret = strict_strtol(pos, 10, &tmp2); 575 tmp2 = (tmp2 / 625) * 625; 586 (tmp2 & ADT7310_T16_VALUE_FLOAT_MASK); 593 (tmp2 & ADT7310_T13_VALUE_FLOAT_MASK);
|
/drivers/net/ |
H A D | mii.c | 170 u32 advert2 = 0, tmp2 = 0; local 185 tmp2 = advert2 & ~(ADVERTISE_1000HALF | ADVERTISE_1000FULL); 190 tmp2 |= 196 if ((mii->supports_gmii) && (advert2 != tmp2)) 197 mii->mdio_write(dev, mii->phy_id, MII_CTRL1000, tmp2);
|
/drivers/video/i810/ |
H A D | i810_accel.c | 438 u32 tmp1, tmp2; local 447 tmp2 = i810_readl(IRING + 8, mmio) & ~RBUFFER_START_MASK; 449 i810_writel(IRING + 8, mmio, tmp2 | tmp1); 453 tmp2 = (par->iring.size - I810_PAGESIZE) & RBUFFER_SIZE_MASK; 454 i810_writel(IRING + 12, mmio, tmp1 | tmp2);
|
H A D | i810_main.c | 231 u32 tmp1, tmp2; local 235 tmp2 = i810_readl(DCLK_2D, mmio); 236 tmp2 &= ~MN_MASK; 237 i810_writel(DCLK_2D, mmio, tmp1 | tmp2); 240 tmp2 = i810_readl(DCLK_0DS, mmio); 241 tmp2 &= ~(P_OR << 16); 242 i810_writel(DCLK_0DS, mmio, (tmp1 << 16) | tmp2); 462 u32 tmp1, tmp2; local 466 tmp2 = i810_readl(DCLK_2D, mmio); 468 tmp2 482 u32 tmp1, tmp2; local [all...] |
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw.c | 367 u32 opcode, new, old, tmp1, tmp2; local 426 tmp2 = cur[2]; 427 if ((tmp1 ^ tmp2) & 3) {
|
/drivers/usb/serial/ |
H A D | whiteheat.c | 577 struct list_head *tmp2; local 589 list_for_each_safe(tmp, tmp2, &info->rx_urbs_free) { 597 list_for_each_safe(tmp, tmp2, &info->tx_urbs_free) { 666 struct list_head *tmp2; local 676 list_for_each_safe(tmp, tmp2, &info->rx_urbs_submitted) { 685 list_for_each_safe(tmp, tmp2, &info->rx_urb_q) 687 list_for_each_safe(tmp, tmp2, &info->tx_urbs_submitted) { 1349 struct list_head *tmp2; local 1353 list_for_each_safe(tmp, tmp2, &info->rx_urbs_free) { 1362 list_for_each_safe(tmp, tmp2, 1415 struct list_head *tmp2; local [all...] |
/drivers/gpu/drm/ |
H A D | drm_modes.c | 172 int tmp1, tmp2; local 182 tmp2 = (vdisplay_rnd + 2 * vmargin + CVT_MIN_V_PORCH) * 2 + 184 hperiod = tmp1 * 2 / (tmp2 * vfieldrate); 238 int tmp1, tmp2; local 242 tmp2 = vdisplay_rnd + 2 * vmargin; 243 hperiod = tmp1 / (tmp2 * vfieldrate); 332 unsigned int tmp1, tmp2; local 378 tmp2 = (vdisplay_rnd + 2 * top_margin + GTF_MIN_V_PORCH) * 380 hfreq_est = (tmp2 * 1000 * vfieldrate_rqd) / tmp1;
|
/drivers/gpu/drm/nouveau/ |
H A D | nv40_fifo.c | 81 uint32_t fc = NV40_RAMFC(chid), tmp, tmp2; local 92 tmp2 = nv_rd32(dev, 0x2058) & 0xFFF; 93 tmp2 |= (tmp & 0x30000000); 94 nv_wr32(dev, 0x2058, tmp2);
|
/drivers/net/ethernet/amd/ |
H A D | am79c961a.c | 105 register unsigned int tmp asm("r2"), tmp2 asm("r3"); 108 : "+r" (buf), "=&r" (tmp), "=&r" (tmp2)); 117 : "+r" (offset), "=&r" (tmp), "=&r" (tmp2)); 143 register unsigned int tmp asm("r2"), tmp2 asm("r3"), tmp3; 152 : "=&r" (offset), "=&r" (buf), "=r" (tmp), "=r" (tmp2), "=r" (tmp3)
|
H A D | sun3lance.c | 314 unsigned short tmp1, tmp2; local 329 tmp2 = ioaddr_probe[1]; 336 ioaddr_probe[1] = tmp2;
|
/drivers/net/wireless/b43/ |
H A D | phy_lp.c | 220 u16 tmp, tmp2; local 350 tmp2 = (tmp & 0x03E0) >> 5; 351 tmp2 |= tmp2 << 5; 352 b43_phy_write(dev, B43_LPPHY_4C3, tmp2); 354 tmp2 = (tmp & 0x1F00) >> 8; 355 tmp2 |= tmp2 << 5; 356 b43_phy_write(dev, B43_LPPHY_4C4, tmp2); 358 tmp2 1719 int prod, ipwr, qpwr, prod_msb, q_msb, tmp1, tmp2, tmp3, tmp4, ret; local 2434 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8, tmp9; local 2527 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6; local [all...] |
/drivers/video/aty/ |
H A D | mach64_ct.c | 284 u8 tmp, tmp2; local 316 tmp2 = par->clk_wr_offset << 1; 318 tmp &= ~(0x03U << tmp2); 319 tmp |= ((pll->ct.vclk_post_div & 0x03U) << tmp2);
|
H A D | radeon_pm.c | 1432 u32 tmp, tmp2; local 1441 tmp2 = INREG(PAD_CTLR_STRENGTH); 1442 if (tmp != tmp2) { 1443 tmp = tmp2; 2210 u32 tmp, tmp2; 2405 tmp2 = INREG(TMDS_TRANSMITTER_CNTL); 2411 OUTREG(TMDS_TRANSMITTER_CNTL, tmp2); 2487 tmp2 = INREG(FP_GEN_CNTL); 2495 tmp2 &= ~2; 2496 tmp2 | [all...] |
/drivers/target/iscsi/ |
H A D | iscsi_target_parameters.c | 1026 char *tmp1 = NULL, *tmp2 = NULL; local 1045 tmp2 = strchr(acceptor_values, ','); 1046 if (tmp2) 1047 *tmp2 = '\0'; 1051 if (tmp2) 1052 *tmp2 = ','; 1056 if (tmp2) 1057 *tmp2 = ','; 1060 if (tmp2) 1061 *tmp2 [all...] |