/drivers/staging/cxt1e1/ |
H A D | sbecrc.c | 94 u_int32_t temp1, temp2, crc; local 122 temp1 = (crc >> 8) & 0x00FFFFFFL; 124 crc = temp1 ^ temp2;
|
/drivers/media/dvb/dvb-usb/ |
H A D | af9005-fe.c | 77 u8 temp0, temp1; local 81 if ((ret = af9005_read_ofdm_register(d, reghi, &temp1))) 85 *value = ((u16) (temp1 & 0x03) << 8) + (u16) temp0; 88 *value = ((u16) (temp1 & 0x0C) << 6) + (u16) temp0; 91 *value = ((u16) (temp1 & 0x30) << 4) + (u16) temp0; 94 *value = ((u16) (temp1 & 0xC0) << 2) + (u16) temp0; 141 u8 temp, temp0, temp1, temp2; local 168 &temp1); 171 loc_abort_count = ((u16) temp1 << 8) + temp0; 181 &temp1); 241 u8 temp, temp0, temp1, temp2; local 544 u8 temp0, temp1, temp2, temp3, buf[4]; local 820 u8 temp, temp0 = 0, temp1 = 0, temp2 = 0; local 1108 u8 temp, temp0, temp1, temp2; local [all...] |
/drivers/hwmon/ |
H A D | smm665.c | 477 SMM665_ATTR(temp1, input, SMM665_MISC16_ADC_DATA_INT_TEMP); 478 SMM665_ATTR(temp1, min, SMM665_MISC16_ADC_DATA_INT_TEMP); 479 SMM665_ATTR(temp1, max, SMM665_MISC16_ADC_DATA_INT_TEMP); 480 SMM665_ATTR(temp1, lcrit, SMM665_MISC16_ADC_DATA_INT_TEMP); 481 SMM665_ATTR(temp1, crit, SMM665_MISC16_ADC_DATA_INT_TEMP); 482 SMM665_ATTR(temp1, crit_alarm, SMM665_FAULT_TEMP);
|
H A D | w83792d.c | 245 /* for temp1 */ 289 u8 temp1[3]; /* current, over, thyst */ member in struct:w83792d_data 514 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[nr])); 532 data->temp1[nr] = TEMP1_TO_REG(val); 534 data->temp1[nr]); 774 u8 temp1 = 0, temp2 = 0; local 786 temp1 = ((data->chassis_clear) << 7) & 0x80; 789 w83792d_write_value(client, W83792D_REG_CHASSIS_CLR, temp1 | temp2); 1605 data->temp1[i] = w83792d_read_value(client, 1708 dev_dbg(dev, "temp1[ [all...] |
H A D | w83791d.c | 237 /* for temp1 which is 8-bit resolution, LSB = 1 degree Celsius */ 307 s8 temp1[3]; /* current, over, thyst */ member in struct:w83791d_data 944 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[attr->index])); 962 data->temp1[nr] = TEMP1_TO_REG(val); 963 w83791d_write(client, W83791D_REG_TEMP1[nr], data->temp1[nr]); 1608 data->temp1[i] = w83791d_read(client, 1683 dev_dbg(dev, "temp1[%d] is: 0x%02x\n", i, (u8) data->temp1[i]);
|
/drivers/char/ |
H A D | nwflash.c | 334 int temp, temp1; local 425 if ((temp1 = *(volatile unsigned int *) pWritePtr) != 0xFFFFFFFF) { 427 pWritePtr, temp1);
|
/drivers/staging/xgifb/ |
H A D | vb_init.c | 449 unsigned char temp, temp1, temp2, temp3, i, j, k; local 463 temp1 = ((temp >> (2 * j)) & 0x03) << 2; 464 temp2 |= temp1; 478 temp1 = ((temp >> (2 * j)) & 0x03) << 2; 479 temp2 |= temp1; 497 temp1 = (temp >> (2 * j)) & 0x03; 498 temp2 |= temp1; 520 temp1 = (temp >> (2 * j)) & 0x03; 521 temp2 |= temp1; 529 temp1 1474 unsigned char i, temp = 0, temp1; local [all...] |
H A D | vb_setmode.c | 2532 unsigned long temp, temp1, temp2, temp3, push3; local 2704 temp1 = (temp << 18) / tempbx; 2709 temp1 += 1; 2711 temp2 = temp1; 2755 temp1 = tempcx << 16; 2757 tempax = (unsigned short) (temp1 / tempbx); 2763 temp1 = pVBInfo->VGAHDE << 16; 2765 temp1 /= temp3; 2767 temp1 -= 1; 2769 temp3 = (temp3 & 0xffff0000) + (temp1 3777 unsigned short temp1, temp2; local 3870 unsigned short tempax, tempbx, temp1, temp2, modeflag = 0, tempcx, local [all...] |
/drivers/w1/masters/ |
H A D | ds2482.c | 446 int temp1; local 472 temp1 = i2c_smbus_read_byte(client); 473 if (temp1 != (DS2482_REG_STS_LL | DS2482_REG_STS_RST)) { 475 "0x%02X - not a DS2482\n", temp1);
|
/drivers/usb/host/ |
H A D | ehci-hub.c | 670 u32 temp, temp1, status; local 737 temp1 = ehci_readl(ehci, hostpc_reg); 738 ehci_writel(ehci, temp1 & ~HOSTPC_PHCD, 910 temp1 = ehci_readl(ehci, hostpc_reg); 911 status |= ehci_port_speed(ehci, temp1); 993 temp1 = ehci_readl(ehci, hostpc_reg); 994 ehci_writel(ehci, temp1 | HOSTPC_PHCD, 996 temp1 = ehci_readl(ehci, hostpc_reg); 998 wIndex, (temp1 & HOSTPC_PHCD) ?
|
/drivers/pci/hotplug/ |
H A D | cpqphp_nvram.c | 147 u8 temp1, temp2, temp3, temp4, temp5, temp6; local 150 temp1 = readb(rom_start + 0xffea + 0); 156 if ((temp1 == 'C') &&
|
H A D | cpqphp_core.c | 101 u8 temp1, temp2, temp3, temp4; local 107 temp1 = readb(fp); 111 if (temp1 == '_' &&
|
/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_cmdpkt.c | 315 u16 temp1, temp2; local 317 temp1 = ptemp[i] & 0x0000FFFF; 319 ptemp[i] = (temp1 << 16) | temp2;
|
/drivers/staging/rtl8192u/ |
H A D | r819xU_cmdpkt.c | 643 u16 temp1, temp2; local 645 temp1 = ptemp[i]&0x0000FFFF; 647 ptemp[i] = (temp1<<16)|temp2;
|
/drivers/video/sis/ |
H A D | init.c | 1013 unsigned char cr5f, temp1, temp2; local 1032 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; 1035 if((!temp1) || (temp2)) { 1051 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; 1052 switch(temp1) { 1688 unsigned short temp, temp1, temp2; local 1694 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); 1697 SiS_SetReg(SiS_Pr->SiS_P3d4,0x00,temp1); 1745 unsigned short temp1 = 0, temp2 = 0; 1749 temp1 2230 unsigned short temp1, temp2; local 2290 unsigned short temp1, temp2; local 3131 unsigned char temp1, temp2, temp3; local [all...] |
H A D | init301.c | 386 unsigned short temp1, temp2; local 390 temp1 = (SiS_Pr->SiS_VBInfo & SetInSlaveMode) >> 8; 392 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x31,temp2,temp1); 404 unsigned short temp,temp1; local 409 temp1 = SISGETROMW(0x23b); 410 if(temp1 & temp) return true; 420 unsigned short temp,temp1; local 425 temp1 = SISGETROMW(0x23d); 426 if(temp1 & temp) return true; 1208 unsigned short temp, temp1, resinf local 3015 unsigned short temp1=0, modeflag=0, tempcx=0; local 4239 unsigned short temp1, pushax=0; local 7273 unsigned short temp, temp1, resinfo = 0; local 8210 unsigned char temp, temp1; local 8375 unsigned short temp,temp1; local 9949 unsigned short index,temp,temp1,romptr=0; local 9992 unsigned short index,temp,temp1,romptr=0; local 10354 unsigned short romptr, temp1, temp2; local [all...] |
H A D | sis_main.c | 2525 u8 temp1, temp2; local 2539 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25); 2547 if(temp2 != temp1) temp1 = temp2; 2549 if((temp1 >= 0x22) && (temp1 <= 0x50)) { 2551 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e); 2552 if((temp1 & 0x03) != 0x03) { 2563 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x10); 2564 if(!(temp1 [all...] |
/drivers/staging/winbond/ |
H A D | phy_calibration.c | 695 s32 temp1, temp2; local 840 temp1 = (41943040/cos_2b)*cos_b; 848 tx_cal_flt_b[0] = _floor(temp1/(32768+a_2)); 851 tx_cal_flt_b[3] = _floor(temp1/(32768-a_2)); 1121 s32 temp1, temp2; local 1246 temp1 = (41943040/cos_2b)*cos_b; 1254 rx_cal_flt_b[0] = _floor(temp1/(32768+a_2)); 1257 rx_cal_flt_b[3] = _floor(temp1/(32768-a_2));
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | dhd_common.c | 510 u32 temp1; local 513 temp1 = get_unaligned_be32(&event->event_type); 515 temp1);
|
/drivers/media/dvb/frontends/ |
H A D | mb86a16.c | 657 unsigned char temp1, temp2, temp3; local 673 if (mb86a16_read(state, 0x49, &temp1) != 2) 676 afcen = (temp1 & 0x04) >> 2; 678 if (mb86a16_read(state, 0x2a, &temp1) != 2) 680 afcexen = (temp1 & 0x20) >> 5; 706 if (mb86a16_read(state, 0x22, &temp1) != 2) 713 R = (temp1 & 0xe0) >> 5; 714 M = ((temp1 & 0x1f) << 12) + (temp2 << 4) + (temp3 >> 4);
|
/drivers/net/irda/ |
H A D | via-ircc.h | 790 __u8 temp, temp1, temp2; local 793 temp1 = (ReadReg(iobase, I_CF_H_1) & 0xfc); 797 temp1 |= temp2; 799 WriteReg(iobase, I_CF_H_1, temp1);
|
/drivers/staging/sep/ |
H A D | sep_crypto.h | 243 u32 temp1[SEP_AES_BLOCK_SIZE_WORDS]; member in struct:sep_aes_internal_context::__anon5370::__anon5372
|
/drivers/net/ethernet/icplus/ |
H A D | ipg.c | 999 u16 temp1; local 1014 temp1 = ipg_r16(IPG_FRAMESLOSTRXERRORS); 1015 sp->stats.rx_errors += temp1; 1016 sp->stats.rx_missed_errors += temp1; 1017 temp1 = ipg_r32(IPG_SINGLECOLFRAMES) + ipg_r32(IPG_MULTICOLFRAMES) + 1020 sp->stats.collisions += temp1; 1023 ipg_r32(IPG_FRAMESWDEFERREDXMT) + temp1 + temp2;
|
/drivers/staging/iio/imu/ |
H A D | adis16400_core.c | 473 temp0, temp1, temp2, enumerator in enum:adis16400_chan 492 [temp1] = { ADIS16350_YTEMP_OUT }, 839 .address = temp1,
|
/drivers/video/ |
H A D | pm3fb.c | 1235 unsigned long tempBypass, i, temp1, temp2; local 1270 temp1 = fb_readl((screen_mem + (i * 1048576))); 1273 if (temp1 == (i * 0x00345678)) 1292 temp1 = 1297 if ((temp1 == (i * 0x00345678)) && (temp2 == 0))
|