Searched refs:temp1 (Results 1 - 25 of 36) sorted by relevance

12

/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c77 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 Dsmm665.c474 SMM665_ATTR(temp1, input, SMM665_MISC16_ADC_DATA_INT_TEMP);
475 SMM665_ATTR(temp1, min, SMM665_MISC16_ADC_DATA_INT_TEMP);
476 SMM665_ATTR(temp1, max, SMM665_MISC16_ADC_DATA_INT_TEMP);
477 SMM665_ATTR(temp1, lcrit, SMM665_MISC16_ADC_DATA_INT_TEMP);
478 SMM665_ATTR(temp1, crit, SMM665_MISC16_ADC_DATA_INT_TEMP);
479 SMM665_ATTR(temp1, crit_alarm, SMM665_FAULT_TEMP);
H A Dw83791d.c238 /* for temp1 which is 8-bit resolution, LSB = 1 degree Celsius */
304 s8 temp1[3]; /* current, over, thyst */ member in struct:w83791d_data
941 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[attr->index]));
959 data->temp1[nr] = TEMP1_TO_REG(val);
960 w83791d_write(client, W83791D_REG_TEMP1[nr], data->temp1[nr]);
1603 data->temp1[i] = w83791d_read(client,
1678 dev_dbg(dev, "temp1[%d] is: 0x%02x\n", i, (u8) data->temp1[i]);
H A Dw83792d.c246 /* for temp1 */
289 u8 temp1[3]; /* current, over, thyst */ member in struct:w83792d_data
513 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[nr]));
531 data->temp1[nr] = TEMP1_TO_REG(val);
533 data->temp1[nr]);
1547 data->temp1[i] = w83792d_read_value(client,
1648 dev_dbg(dev, "temp1[%d] is: 0x%x\n", i, data->temp1[i]);
/drivers/char/
H A Dnwflash.c325 int temp, temp1; local
411 if ((temp1 = *(volatile unsigned int *) pWritePtr) != 0xFFFFFFFF) {
413 pWritePtr, temp1);
/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_cmdpkt.c286 u16 temp1, temp2; local
288 temp1 = ptemp[i] & 0x0000FFFF;
290 ptemp[i] = (temp1 << 16) | temp2;
/drivers/staging/rtl8192u/
H A Dr819xU_cmdpkt.c448 u16 temp1, temp2; local
450 temp1 = ptemp[i] & 0x0000FFFF;
452 ptemp[i] = (temp1 << 16) | temp2;
/drivers/usb/host/
H A Dehci-hub.c872 u32 temp, temp1, status; local
936 temp1 = ehci_readl(ehci, hostpc_reg);
937 ehci_writel(ehci, temp1 & ~HOSTPC_PHCD,
1097 temp1 = ehci_readl(ehci, hostpc_reg);
1098 status |= ehci_port_speed(ehci, temp1);
1179 temp1 = ehci_readl(ehci, hostpc_reg);
1180 ehci_writel(ehci, temp1 | HOSTPC_PHCD,
1182 temp1 = ehci_readl(ehci, hostpc_reg);
1184 wIndex, (temp1 & HOSTPC_PHCD) ?
/drivers/w1/masters/
H A Dds2482.c483 int temp1; local
509 temp1 = i2c_smbus_read_byte(client);
510 if (temp1 != (DS2482_REG_STS_LL | DS2482_REG_STS_RST)) {
512 "0x%02X - not a DS2482\n", temp1);
/drivers/pci/hotplug/
H A Dcpqphp_nvram.c146 u8 temp1, temp2, temp3, temp4, temp5, temp6; local
149 temp1 = readb(rom_start + 0xffea + 0);
155 if ((temp1 == 'C') &&
H A Dcpqphp_core.c101 u8 temp1, temp2, temp3, temp4; local
107 temp1 = readb(fp);
111 if (temp1 == '_' &&
H A Dcpqphp_pci.c57 u8 temp1, temp2, temp3, temp4; local
63 temp1 = readb(fp + SIG0);
67 if (temp1 == '$' &&
/drivers/video/fbdev/sis/
H A Dinit.c1014 unsigned char cr5f, temp1, temp2; local
1033 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8;
1036 if((!temp1) || (temp2)) {
1052 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8;
1053 switch(temp1) {
1689 unsigned short temp, temp1, temp2; local
1695 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00);
1698 SiS_SetReg(SiS_Pr->SiS_P3d4,0x00,temp1);
1746 unsigned short temp1 = 0, temp2 = 0;
1750 temp1
2231 unsigned short temp1, temp2; local
2291 unsigned short temp1, temp2; local
3133 unsigned char temp1, temp2, temp3; local
[all...]
H A Dinit301.c386 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 Dsis_main.c2507 u8 temp1, temp2; local
2521 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25);
2529 if(temp2 != temp1) temp1 = temp2;
2531 if((temp1 >= 0x22) && (temp1 <= 0x50)) {
2533 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e);
2534 if((temp1 & 0x03) != 0x03) {
2545 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x10);
2546 if(!(temp1
[all...]
/drivers/macintosh/
H A Dwindfarm_pm72.c310 s32 temp0, power0, temp1, power1, t_max = 0; local
330 err = read_one_cpu_vals(1, &temp1, &power1);
338 t_max = max(t_max, max(temp0, temp1));
345 temp = max(temp0, temp1);
H A Dtherm_pm72.c923 s32 temp0, power0, temp1, power1; local
932 rc = do_read_one_cpu_values(state1, &temp1, &power1);
939 temp_combi = max(temp0, temp1);
/drivers/media/dvb-frontends/
H A Dmb86a16.c659 unsigned char temp1, temp2, temp3; local
675 if (mb86a16_read(state, 0x49, &temp1) != 2)
678 afcen = (temp1 & 0x04) >> 2;
680 if (mb86a16_read(state, 0x2a, &temp1) != 2)
682 afcexen = (temp1 & 0x20) >> 5;
708 if (mb86a16_read(state, 0x22, &temp1) != 2)
715 R = (temp1 & 0xe0) >> 5;
716 M = ((temp1 & 0x1f) << 12) + (temp2 << 4) + (temp3 >> 4);
/drivers/staging/xgifb/
H A Dvb_setmode.c1406 unsigned long temp, temp1, temp2, temp3, push3; local
1541 temp1 = (temp << 18) / tempbx;
1546 temp1 += 1;
1548 temp2 = temp1;
1592 temp1 = tempcx << 16;
1594 tempax = (unsigned short) (temp1 / tempbx);
1600 temp1 = pVBInfo->VGAHDE << 16;
1602 temp1 /= temp3;
1604 temp1 -= 1;
1606 temp3 = (temp3 & 0xffff0000) + (temp1
2397 unsigned short temp1, temp2; local
2482 unsigned short tempax, tempbx, temp1, temp2, modeflag = 0, tempcx, local
[all...]
H A Dvb_init.c406 unsigned char temp, temp1, temp2, temp3, j, k; local
442 temp1 = temp & 0x03;
443 temp2 |= temp1;
447 temp1 = temp & 0x0F;
450 xgifb_reg_set(P3d4, 0x45, temp1); /* CR45 */
1190 unsigned char i, temp = 0, temp1; local
1290 temp1 = xgifb_reg_get(pVBInfo->P3d4, 0x7B);
/drivers/net/irda/
H A Dvia-ircc.h789 __u8 temp, temp1, temp2; local
792 temp1 = (ReadReg(iobase, I_CF_H_1) & 0xfc);
796 temp1 |= temp2;
798 WriteReg(iobase, I_CF_H_1, temp1);
/drivers/thermal/ti-soc-thermal/
H A Dti-bandgap.c983 u32 temp1, temp2, reg1, reg2; local
1006 temp1 = ti_bandgap_readl(bgp, reg1);
1007 temp1 &= tsr->bgap_dtemp_mask;
1013 ret = ti_bandgap_adc_to_mcelsius(bgp, temp1, &t1);
/drivers/net/ethernet/icplus/
H A Dipg.c999 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/video/fbdev/
H A Dpm3fb.c1235 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))
/drivers/platform/x86/
H A Dhdaps.c460 static DEVICE_ATTR(temp1, 0444, hdaps_temp1_show, NULL);

Completed in 833 milliseconds

12