Searched refs:tmp1 (Results 1 - 25 of 26) sorted by relevance

12

/drivers/staging/echo/
H A Decho.c338 int tmp, tmp1; local
386 tmp1 = ec->rx_1 >> 15;
387 if (tmp1 > 16383)
388 tmp1 = 16383;
389 if (tmp1 < -16383)
390 tmp1 = -16383;
391 rx = tmp1;
627 int tmp, tmp1; local
643 tmp1 = ec->tx_1 >> 15;
644 if (tmp1 > 3276
[all...]
/drivers/cpufreq/
H A Dgx-suspmod.c346 u8 tmp1, tmp2; local
361 tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2);
367 tmp_freq = gx_validate_speed(policy->max, &tmp1, &tmp2);
387 u8 tmp1, tmp2; local
395 tmp_freq = gx_validate_speed(target_freq, &tmp1, &tmp2);
398 tmp_freq = gx_validate_speed(tmp_freq, &tmp1, &tmp2);
402 tmp_freq = gx_validate_speed(tmp_freq, &tmp1, &tmp2);
H A Ds5pv210-cpufreq.c153 unsigned long tmp, tmp1; local
170 tmp1 = s5pv210_dram_conf[ch].refresh;
172 do_div(tmp1, tmp);
174 __raw_writel(tmp1, reg);
/drivers/ide/
H A Daec62xx.c91 u8 tmp0 = 0, tmp1 = 0, tmp2 = 0; local
102 tmp1 = 0x00;
105 tmp1 = ((0x00 << (2*drive->dn)) | (ultra & ~(3 << (2*drive->dn))));
107 tmp2 = ((ultra_conf << (2*drive->dn)) | (tmp1 & ~(3 << (2*drive->dn))));
118 u8 tmp1 = 0, tmp2 = 0; local
130 tmp1 = ((0x00 << (4*unit)) | (ultra & ~(7 << (4*unit))));
132 tmp2 = ((ultra_conf << (4*unit)) | (tmp1 & ~(7 << (4*unit))));
/drivers/media/dvb/b2c2/
H A Dflexcop-sram.c239 u8 tmp1, tmp2;
246 tmp1 = 0x4f;
249 sram_write(adapter, addr + 4, &tmp1, 1);
263 tmp1 = 0xf4;
266 sram_write(adapter, addr + 4, &tmp1, 1);
/drivers/media/dvb/frontends/
H A Dcxd2820r_core.c177 u8 *gpio, tmp0, tmp1; local
200 tmp1 = 0x00;
210 tmp1 |= (1 << (3 + i));
212 tmp1 |= (0 << (3 + i));
216 tmp1 |= (1 << (0 + i));
218 tmp1 |= (0 << (0 + i));
220 dbg("%s: GPIO i=%d %02x %02x", __func__, i, tmp0, tmp1);
223 dbg("%s: wr gpio=%02x %02x", __func__, tmp0, tmp1);
231 ret = cxd2820r_wr_reg_mask(priv, 0x0008e, tmp1, 0x3f);
/drivers/video/i810/
H A Di810_accel.c438 u32 tmp1, tmp2; local
448 tmp1 = par->iring.physical;
449 i810_writel(IRING + 8, mmio, tmp2 | tmp1);
451 tmp1 = i810_readl(IRING + 12, mmio);
452 tmp1 &= ~RBUFFER_SIZE_MASK;
454 i810_writel(IRING + 12, mmio, tmp1 | tmp2);
H A Di810_main.c231 u32 tmp1, tmp2; local
234 tmp1 = par->regs.M | par->regs.N << 16;
237 i810_writel(DCLK_2D, mmio, tmp1 | tmp2);
239 tmp1 = par->regs.P;
242 i810_writel(DCLK_0DS, mmio, (tmp1 << 16) | tmp2);
462 u32 tmp1, tmp2; local
465 tmp1 = par->hw_state.dclk_2d;
467 tmp1 &= ~MN_MASK;
469 i810_writel(DCLK_2D, mmio, tmp1 | tmp2);
471 tmp1
482 u32 tmp1, tmp2; local
[all...]
/drivers/gpu/drm/
H A Ddrm_modes.c172 int tmp1, tmp2; local
180 tmp1 = HV_FACTOR * 1000000 -
184 hperiod = tmp1 * 2 / (tmp2 * vfieldrate);
186 tmp1 = CVT_MIN_VSYNC_BP * HV_FACTOR / hperiod + 1;
188 if (tmp1 < (vsync + CVT_MIN_V_PORCH))
191 vsyncandback_porch = tmp1;
238 int tmp1, tmp2; local
240 tmp1 = HV_FACTOR * 1000000 -
243 hperiod = tmp1 / (tmp2 * vfieldrate);
332 unsigned int tmp1, tmp local
[all...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.c367 u32 opcode, new, old, tmp1, tmp2; local
425 tmp1 = cur[1];
427 if ((tmp1 ^ tmp2) & 3) {
/drivers/staging/iio/adc/
H A Dadt7310.c545 long tmp1, tmp2; local
552 ret = strict_strtol(buf, 10, &tmp1);
554 if (ret || tmp1 > 127 || tmp1 < -128)
579 if (tmp1 < 0)
580 data = (u16)(-tmp1);
582 data = (u16)tmp1;
588 if (tmp1 < 0)
595 if (tmp1 < 0)
H A Dadt7410.c513 long tmp1, tmp2; local
520 ret = strict_strtol(buf, 10, &tmp1);
522 if (ret || tmp1 > 127 || tmp1 < -128)
547 if (tmp1 < 0)
548 data = (u16)(-tmp1);
550 data = (u16)tmp1;
556 if (tmp1 < 0)
563 if (tmp1 < 0)
/drivers/target/iscsi/
H A Discsi_target_parameters.c1027 char *tmp1 = NULL, *tmp2 = NULL; local
1036 tmp1 = strchr(proposer_values, ',');
1037 if (tmp1)
1038 *tmp1 = '\0';
1042 if (tmp1)
1043 *tmp1 = ',';
1050 if (tmp1)
1051 *tmp1 = ',';
1068 if (tmp1)
1069 *tmp1
[all...]
/drivers/mtd/devices/
H A Ddoc2000.c478 int tmp1, tmp2, retval; local
487 tmp1 = ReadDOC(doc1->virtadr, AliasResolution);
489 if (tmp1 != tmp2)
492 WriteDOC((tmp1 + 1) % 0xff, doc1->virtadr, AliasResolution);
494 if (tmp2 == (tmp1 + 1) % 0xff)
501 WriteDOC(tmp1, doc1->virtadr, AliasResolution);
H A Ddoc2001.c286 int tmp1, tmp2, retval; local
296 tmp1 = ReadDOC(doc1->virtadr, AliasResolution);
298 if (tmp1 != tmp2)
301 WriteDOC((tmp1+1) % 0xff, doc1->virtadr, AliasResolution);
303 if (tmp2 == (tmp1+1) % 0xff)
310 WriteDOC(tmp1, doc1->virtadr, AliasResolution);
H A Ddoc2001plus.c409 int tmp1, tmp2, retval; local
419 tmp1 = ReadDOC(doc1->virtadr, Mplus_AliasResolution);
421 if (tmp1 != tmp2)
424 WriteDOC((tmp1+1) % 0xff, doc1->virtadr, Mplus_AliasResolution);
426 if (tmp2 == (tmp1+1) % 0xff)
433 WriteDOC(tmp1, doc1->virtadr, Mplus_AliasResolution);
/drivers/net/wireless/b43/
H A Dphy_lp.c1719 int prod, ipwr, qpwr, prod_msb, q_msb, tmp1, tmp2, tmp3, tmp4, ret; local
1743 tmp1 = prod_msb - 20;
1745 if (tmp1 >= 0) {
1746 tmp3 = ((prod << (30 - prod_msb)) + (ipwr >> (1 + tmp1))) /
1747 (ipwr >> tmp1);
1749 tmp3 = ((prod << (30 - prod_msb)) + (ipwr << (-1 - tmp1))) /
1750 (ipwr << -tmp1);
2434 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8, tmp9; local
2458 tmp1 = crystal_freq / 1000;
2466 tmp4 = 48 * tmp1;
2527 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6; local
[all...]
H A Dphy_g.c1265 u32 tmp1 = 0, tmp2 = 0; local
1384 tmp1 += b43_phy_read(dev, B43_PHY_LO_LEAKAGE);
1397 tmp1++;
1398 tmp1 >>= 9;
1448 if (tmp1 < tmp2)
/drivers/net/ethernet/amd/
H A Dsun3lance.c314 unsigned short tmp1, tmp2; local
328 tmp1 = ioaddr_probe[0];
335 ioaddr_probe[0] = tmp1;
/drivers/net/ethernet/microchip/
H A Denc28j60.c821 u16 tmp1, tmp2; local
824 tmp1 = tsv[1];
825 tmp1 <<= 8;
826 tmp1 |= tsv[0];
833 " TotByteOnWire: %d\n", tmp1, tsv[2] & 0x0f, tmp2);
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c7089 u16 val = 0, tmp1; local
7113 MDIO_PMA_DEVAD, MDIO_PMA_REG_M8051_MSGOUT_REG, &tmp1);
7116 MDIO_PMA_DEVAD, MDIO_PMA_LASI_RXSTAT, &tmp1);
7118 DP(NETIF_MSG_LINK, "Before rom RX_ALARM(port1): 0x%x\n", tmp1);
7183 bnx2x_cl45_read(bp, phy, MDIO_AN_DEVAD, MDIO_AN_REG_8073_2_5G, &tmp1);
7195 tmp1 |= 1;
7197 tmp1 &= 0xfffe;
7200 tmp1 &= 0xfffe;
7203 bnx2x_cl45_write(bp, phy, MDIO_AN_DEVAD, MDIO_AN_REG_8073_2_5G, tmp1);
7206 bnx2x_cl45_read(bp, phy, MDIO_AN_DEVAD, MDIO_AN_REG_CL37_FC_LD, &tmp1);
8498 u16 cnt, val, tmp1; local
8846 u16 tmp1, val, mod_abs, tmp2; local
[all...]
/drivers/usb/misc/sisusbvga/
H A Dsisusb.c1601 u8 tmp1, tmp2, i, j; local
1605 ret |= READB(ramptr, &tmp1);
1607 if ((tmp1 != 0xaa) || (tmp2 != 0x55)) {
1609 ret |= GETIREG(SISSR, 0x21, &tmp1);
1610 ret |= SETIREGAND(SISSR, 0x21, (tmp1 & 0xfb));
1613 ret |= SETIREG(SISSR, 0x21, tmp1);
1615 ret |= READB(ramptr + 16 + j, &tmp1);
1616 if (tmp1 == j) {
/drivers/net/wireless/b43legacy/
H A Dradio.c1503 u32 tmp1 = 0; local
1634 tmp1 += b43legacy_phy_read(dev, 0x002D);
1643 tmp1++;
1644 tmp1 >>= 9;
1685 if (tmp1 < tmp2)
/drivers/md/
H A Dmd.c936 mdp_super_t *tmp1, *tmp2; local
938 tmp1 = kmalloc(sizeof(*tmp1),GFP_KERNEL);
941 if (!tmp1 || !tmp2) {
947 *tmp1 = *sb1;
953 tmp1->nr_disks = 0;
956 ret = (memcmp(tmp1, tmp2, MD_SB_GENERIC_CONSTANT_WORDS * 4) == 0);
958 kfree(tmp1);
/drivers/scsi/
H A Dncr53c8xx.c3527 ncrcmd opcode, new, old, tmp1, tmp2; local
3567 tmp1 = src[0];
3569 if ((tmp1 & RELOC_MASK) == RELOC_KVAR)
3570 tmp1 = 0;
3577 if ((tmp1 ^ tmp2) & 3) {

Completed in 2821 milliseconds

12