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

12

/linux-master/drivers/acpi/acpica/
H A Ddbtest.c390 union acpi_object *temp1 = NULL; local
405 status = acpi_db_read_from_object(node, ACPI_TYPE_INTEGER, &temp1);
412 ACPI_FORMAT_UINT64(temp1->integer.value));
415 if (temp1->integer.value == value_to_write) {
442 write_value.integer.value = temp1->integer.value;
455 if (temp3->integer.value != temp1->integer.value) {
458 ACPI_FORMAT_UINT64(temp1->integer.value));
462 if (temp1) {
463 acpi_os_free(temp1);
492 union acpi_object *temp1 local
618 union acpi_object *temp1 = NULL; local
708 union acpi_object *temp1 = NULL; local
[all...]
/linux-master/arch/m68k/lib/
H A Dmemset.c39 size_t temp1; local
58 : "=a" (ls), "=d" (temp), "=&d" (temp1)
H A Dmemcpy.c50 size_t temp1; local
69 : "=a" (lfrom), "=a" (lto), "=d" (temp), "=&d" (temp1)
/linux-master/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c64 u8 temp0, temp1; local
68 if ((ret = af9005_read_ofdm_register(d, reghi, &temp1)))
72 *value = ((u16) (temp1 & 0x03) << 8) + (u16) temp0;
75 *value = ((u16) (temp1 & 0x0C) << 6) + (u16) temp0;
78 *value = ((u16) (temp1 & 0x30) << 4) + (u16) temp0;
81 *value = ((u16) (temp1 & 0xC0) << 2) + (u16) temp0;
128 u8 temp, temp0, temp1, temp2; local
155 &temp1);
158 loc_abort_count = ((u16) temp1 << 8) + temp0;
168 &temp1);
228 u8 temp, temp0, temp1, temp2; local
532 u8 temp0, temp1, temp2, temp3, buf[4]; local
808 u8 temp, temp0 = 0, temp1 = 0, temp2 = 0; local
1096 u8 temp, temp0, temp1, temp2; local
[all...]
/linux-master/drivers/ras/amd/atl/
H A Dinternal.h246 u64 temp1, temp2; local
258 temp1 = data & GENMASK_ULL(bit_num - 1, 0);
263 return temp1 | temp2;
275 u64 temp1, temp2; local
284 temp1 = GENMASK_ULL(low_bit - 1, 0) & data;
288 return temp1 | temp2;
/linux-master/arch/loongarch/include/asm/
H A Dstackframe.h42 .macro JUMP_VIRT_ADDR temp1 temp2
43 li.d \temp1, CACHE_BASE
45 or \temp1, \temp1, \temp2 variable
46 jirl zero, \temp1, 0xc variable
/linux-master/arch/parisc/kernel/
H A Dunaligned.c111 unsigned long val = 0, temp1; local
125 : "+r" (val), "+r" (ret), "=&r" (temp1)
139 unsigned long val = 0, temp1, temp2; local
157 : "+r" (val), "+r" (ret), "=&r" (temp1), "=&r" (temp2)
172 unsigned long shift, temp1; local
195 : "+r" (val), "+r" (ret), "+r" (saddr), "=&r" (shift), "=&r" (temp1)
213 : "+r" (val), "+r" (ret), "+r" (saddr), "=&r" (shift), "=&r" (temp1)
229 unsigned long val = regs->gr[frreg], temp1; local
246 : "+r" (ret), "=&r" (temp1)
/linux-master/sound/pci/emu10k1/
H A Dmemory.c573 int page, nextofs, end_offset, temp, temp1; local
583 temp1 = end_offset - offset;
584 if (temp1 < temp)
585 temp = temp1;
603 int page, nextofs, end_offset, temp, temp1; local
613 temp1 = end_offset - offset;
614 if (temp1 < temp)
615 temp = temp1;
/linux-master/drivers/w1/masters/
H A Dds2482.c446 int temp1; local
473 temp1 = i2c_smbus_read_byte(client);
474 if (temp1 != (DS2482_REG_STS_LL | DS2482_REG_STS_RST)) {
476 "0x%02X - not a DS2482\n", temp1);
/linux-master/drivers/char/
H A Dnwflash.c297 int temp, temp1; local
383 if ((temp1 = *(volatile unsigned int *) pWritePtr) != 0xFFFFFFFF) {
385 pWritePtr, temp1);
/linux-master/drivers/usb/host/
H A Dehci-hub.c743 u32 temp, temp1, status; local
818 temp1 = ehci_readl(ehci, hostpc_reg);
819 ehci_writel(ehci, temp1 & ~HOSTPC_PHCD,
988 temp1 = ehci_readl(ehci, hostpc_reg);
989 status |= ehci_port_speed(ehci, temp1);
1070 temp1 = ehci_readl(ehci, hostpc_reg);
1071 ehci_writel(ehci, temp1 | HOSTPC_PHCD,
1073 temp1 = ehci_readl(ehci, hostpc_reg);
1075 wIndex, (temp1 & HOSTPC_PHCD) ?
/linux-master/drivers/pci/hotplug/
H A Dcpqphp_nvram.c132 u8 temp1, temp2, temp3, temp4, temp5, temp6; local
135 temp1 = readb(rom_start + 0xffea + 0);
141 if ((temp1 == 'C') &&
H A Dcpqphp_core.c87 u8 temp1, temp2, temp3, temp4; local
93 temp1 = readb(fp);
97 if (temp1 == '_' &&
H A Dcpqphp_pci.c43 u8 temp1, temp2, temp3, temp4; local
49 temp1 = readb(fp + SIG0);
53 if (temp1 == '$' &&
/linux-master/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
3131 unsigned char temp1, temp2, temp3; local
[all...]
H A Dinit301.c712 unsigned short temp1, temp2; local
716 temp1 = (SiS_Pr->SiS_VBInfo & SetInSlaveMode) >> 8;
718 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x31,temp2,temp1);
730 unsigned short temp,temp1; local
735 temp1 = SISGETROMW(0x23b);
736 if(temp1 & temp) return true;
746 unsigned short temp,temp1; local
751 temp1 = SISGETROMW(0x23d);
752 if(temp1 & temp) return true;
1532 unsigned short temp, temp1, resinf local
3337 unsigned short temp1=0, modeflag=0, tempcx=0; local
4561 unsigned short temp1, pushax=0; local
7593 unsigned short temp, temp1; local
8521 unsigned char temp, temp1; local
8686 unsigned short temp,temp1; local
10258 unsigned short index,temp,temp1,romptr=0; local
10301 unsigned short index,temp,temp1,romptr=0; local
10663 unsigned short romptr, temp1, temp2; local
[all...]
H A Dsis_main.c2528 u8 temp1, temp2; local
2542 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x25);
2550 if(temp2 != temp1) temp1 = temp2;
2552 if((temp1 >= 0x22) && (temp1 <= 0x50)) {
2554 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x0e);
2555 if((temp1 & 0x03) != 0x03) {
2566 temp1 = SiS_GetCH700x(&ivideo->SiS_Pr, 0x10);
2567 if(!(temp1
[all...]
/linux-master/drivers/macintosh/
H A Dwindfarm_pm72.c309 s32 temp0, power0, temp1, power1, t_max = 0; local
329 err = read_one_cpu_vals(1, &temp1, &power1);
337 t_max = max(t_max, max(temp0, temp1));
344 temp = max(temp0, temp1);
/linux-master/drivers/media/dvb-frontends/
H A Dmb86a16.c635 unsigned char temp1, temp2, temp3; local
651 if (mb86a16_read(state, 0x49, &temp1) != 2)
654 afcen = (temp1 & 0x04) >> 2;
656 if (mb86a16_read(state, 0x2a, &temp1) != 2)
658 afcexen = (temp1 & 0x20) >> 5;
684 if (mb86a16_read(state, 0x22, &temp1) != 2)
691 R = (temp1 & 0xe0) >> 5;
692 M = ((temp1 & 0x1f) << 12) + (temp2 << 4) + (temp3 >> 4);
/linux-master/drivers/media/i2c/
H A Dov5640.c1865 u8 temp1, temp2; local
1868 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL0, &temp1);
1871 temp2 = temp1 & 0x0f;
1875 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL1, &temp1);
1878 sysdiv = temp1 >> 4;
1882 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL2, &temp1);
1885 multiplier = temp1;
1887 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL3, &temp1);
1890 prediv = temp1 & 0x0f;
1891 pll_rdiv = ((temp1 >>
1954 u8 temp, temp1; local
[all...]
/linux-master/drivers/thermal/ti-soc-thermal/
H A Dti-bandgap.c685 u32 temp1, temp2, reg1, reg2; local
708 temp1 = ti_bandgap_readl(bgp, reg1);
709 temp1 &= tsr->bgap_dtemp_mask;
715 ret = ti_bandgap_adc_to_mcelsius(bgp, temp1, &t1);
/linux-master/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c982 struct fixed31_32 temp1; local
1015 temp1 = dc_fixpt_mul(two, t3);
1020 dc_fixpt_sub(temp1, temp2)));
1024 dc_fixpt_sub(temp2, temp1)));
1026 temp1 = dc_fixpt_mul(two, t2);
1031 dc_fixpt_add(t, dc_fixpt_sub(t3, temp1))));
1035 temp1 = dc_fixpt_sub(dc_fixpt_one, E2);
1036 temp2 = dc_fixpt_mul(temp1, temp1);
/linux-master/drivers/hwmon/
H A Dw83792d.c233 /* for temp1 */
273 u8 temp1[3]; /* current, over, thyst */ member in struct:w83792d_data
493 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[nr]));
511 data->temp1[nr] = TEMP1_TO_REG(val);
513 data->temp1[nr]);
1522 data->temp1[i] = w83792d_read_value(client,
1623 dev_dbg(dev, "temp1[%d] is: 0x%x\n", i, data->temp1[i]);
H A Dw83791d.c225 /* for temp1 which is 8-bit resolution, LSB = 1 degree Celsius */
288 s8 temp1[3]; /* current, over, thyst */ member in struct:w83791d_data
924 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[attr->index]));
942 data->temp1[nr] = TEMP1_TO_REG(val);
943 w83791d_write(client, W83791D_REG_TEMP1[nr], data->temp1[nr]);
1559 data->temp1[i] = w83791d_read(client,
1634 dev_dbg(dev, "temp1[%d] is: 0x%02x\n", i, (u8) data->temp1[i]);
/linux-master/drivers/video/fbdev/
H A Dpm3fb.c1231 unsigned long tempBypass, i, temp1, temp2; local
1266 temp1 = fb_readl((screen_mem + (i * 1048576)));
1269 if (temp1 == (i * 0x00345678))
1288 temp1 =
1293 if ((temp1 == (i * 0x00345678)) && (temp2 == 0))

Completed in 488 milliseconds

12