val1 112 arch/alpha/kernel/sys_sable.c int port, val1, val2; val1 116 arch/alpha/kernel/sys_sable.c val1 = 0xE0 | (bit - 16); val1 120 arch/alpha/kernel/sys_sable.c val1 = 0xE0 | (bit - 8); val1 124 arch/alpha/kernel/sys_sable.c val1 = 0xE0 | (bit - 0); val1 128 arch/alpha/kernel/sys_sable.c outb(val1, port); /* ack the slave */ val1 58 arch/arm/plat-samsung/adc.c unsigned val1, unsigned val2, val1 238 arch/arm/probes/kprobes/test-core.h #define TEST_RR(code1, reg1, val1, code2, reg2, val2, code3) \ val1 240 arch/arm/probes/kprobes/test-core.h TEST_ARG_REG(reg1, val1) \ val1 246 arch/arm/probes/kprobes/test-core.h #define TEST_RRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ val1 248 arch/arm/probes/kprobes/test-core.h TEST_ARG_REG(reg1, val1) \ val1 255 arch/arm/probes/kprobes/test-core.h #define TEST_RRRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4, reg4, val4) \ val1 257 arch/arm/probes/kprobes/test-core.h TEST_ARG_REG(reg1, val1) \ val1 265 arch/arm/probes/kprobes/test-core.h #define TEST_P(code1, reg1, val1, code2) \ val1 267 arch/arm/probes/kprobes/test-core.h TEST_ARG_PTR(reg1, val1) \ val1 272 arch/arm/probes/kprobes/test-core.h #define TEST_PR(code1, reg1, val1, code2, reg2, val2, code3) \ val1 274 arch/arm/probes/kprobes/test-core.h TEST_ARG_PTR(reg1, val1) \ val1 280 arch/arm/probes/kprobes/test-core.h #define TEST_RP(code1, reg1, val1, code2, reg2, val2, code3) \ val1 282 arch/arm/probes/kprobes/test-core.h TEST_ARG_REG(reg1, val1) \ val1 288 arch/arm/probes/kprobes/test-core.h #define TEST_PRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ val1 290 arch/arm/probes/kprobes/test-core.h TEST_ARG_PTR(reg1, val1) \ val1 297 arch/arm/probes/kprobes/test-core.h #define TEST_RPR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ val1 299 arch/arm/probes/kprobes/test-core.h TEST_ARG_REG(reg1, val1) \ val1 306 arch/arm/probes/kprobes/test-core.h #define TEST_RRP(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ val1 308 arch/arm/probes/kprobes/test-core.h TEST_ARG_REG(reg1, val1) \ val1 315 arch/arm/probes/kprobes/test-core.h #define TEST_BF_P(code1, reg1, val1, code2) \ val1 317 arch/arm/probes/kprobes/test-core.h TEST_ARG_PTR(reg1, val1) \ val1 348 arch/arm/probes/kprobes/test-core.h #define TEST_BF_RR(code1, reg1, val1, code2, reg2, val2, code3) \ val1 350 arch/arm/probes/kprobes/test-core.h TEST_ARG_REG(reg1, val1) \ val1 392 arch/arm/probes/kprobes/test-core.h #define TEST_RRX(code1, reg1, val1, code2, reg2, val2, code3, codex) \ val1 394 arch/arm/probes/kprobes/test-core.h TEST_ARG_REG(reg1, val1) \ val1 26 arch/ia64/include/uapi/asm/intrinsics.h #define ia64_native_set_rr0_to_rr4(val0, val1, val2, val3, val4) \ val1 29 arch/ia64/include/uapi/asm/intrinsics.h ia64_native_set_rr(0x2000000000000000UL, (val1)); \ val1 434 arch/mips/include/asm/octeon/cvmx-sriox-defs.h uint64_t val1:1; val1 482 arch/mips/include/asm/octeon/cvmx-sriox-defs.h uint64_t val1:1; val1 52 arch/powerpc/lib/sstep.c extern int do_stq(unsigned long ea, unsigned long val0, unsigned long val1); val1 54 arch/powerpc/lib/sstep.c extern int do_stqcx(unsigned long ea, unsigned long val0, unsigned long val1, val1 975 arch/powerpc/lib/sstep.c unsigned long val1, unsigned long val2, val1 978 arch/powerpc/lib/sstep.c unsigned long val = val1 + val2; val1 988 arch/powerpc/lib/sstep.c val1 = (unsigned int) val1; val1 992 arch/powerpc/lib/sstep.c if (val < val1 || (carry_in && val == val1)) val1 997 arch/powerpc/lib/sstep.c set_ca32(op, (unsigned int)val < (unsigned int)val1 || val1 998 arch/powerpc/lib/sstep.c (carry_in && (unsigned int)val == (unsigned int)val1)); val1 35 arch/sh/boards/mach-dreamcast/rtc.c unsigned long val1, val2; val1 39 arch/sh/boards/mach-dreamcast/rtc.c val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) | val1 44 arch/sh/boards/mach-dreamcast/rtc.c } while (val1 != val2); val1 47 arch/sh/boards/mach-dreamcast/rtc.c t = (u32)(val1 - TWENTY_YEARS); val1 63 arch/sh/boards/mach-dreamcast/rtc.c unsigned long val1, val2; val1 71 arch/sh/boards/mach-dreamcast/rtc.c val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) | val1 76 arch/sh/boards/mach-dreamcast/rtc.c } while (val1 != val2); val1 111 arch/x86/include/asm/msr.h #define native_rdmsr(msr, val1, val2) \ val1 114 arch/x86/include/asm/msr.h (void)((val1) = (u32)__val); \ val1 181 arch/x86/include/asm/paravirt.h #define rdmsr(msr, val1, val2) \ val1 184 arch/x86/include/asm/paravirt.h val1 = (u32)_l; \ val1 188 arch/x86/include/asm/paravirt.h #define wrmsr(msr, val1, val2) \ val1 190 arch/x86/include/asm/paravirt.h paravirt_write_msr(msr, val1, val2); \ val1 311 drivers/clk/clk-si5341.c u64 *val1, u32 *val2) val1 320 drivers/clk/clk-si5341.c *val1 = ((u64)((r[5] & 0x0f) << 8 | r[4]) << 32) | val1 373 drivers/clk/nxp/clk-lpc32xx.c static inline bool pll_is_valid(u64 val0, u64 val1, u64 min, u64 max) val1 375 drivers/clk/nxp/clk-lpc32xx.c return (val0 >= (val1 * min) && val0 <= (val1 * max)); val1 595 drivers/dma/img-mdc-dma.c u32 val1, val2, done, processed, residue; val1 605 drivers/dma/img-mdc-dma.c val1 = mdc_chan_readl(mchan, MDC_CMDS_PROCESSED) & val1 611 drivers/dma/img-mdc-dma.c } while (val1 != val2); val1 613 drivers/dma/img-mdc-dma.c done = (val1 >> MDC_CMDS_PROCESSED_CMDS_DONE_SHIFT) & val1 615 drivers/dma/img-mdc-dma.c processed = (val1 >> MDC_CMDS_PROCESSED_CMDS_PROCESSED_SHIFT) & val1 222 drivers/extcon/extcon-fsa9480.c int val1, val2; val1 225 drivers/extcon/extcon-fsa9480.c val1 = fsa9480_read_reg(usbsw, FSA9480_REG_DEV_T1); val1 227 drivers/extcon/extcon-fsa9480.c if (val1 < 0 || val2 < 0) { val1 231 drivers/extcon/extcon-fsa9480.c val = val2 << 8 | val1; val1 233 drivers/extcon/extcon-fsa9480.c dev_info(usbsw->dev, "dev1: 0x%x, dev2: 0x%x\n", val1, val2); val1 271 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h uint32_t reg1, uint32_t val1); val1 51 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c #define CRTC_REG_UPDATE_2(reg, field1, val1, field2, val2) \ val1 52 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c CRTC_REG_UPDATE_N(reg, 2, FD(reg##__##field1), val1, FD(reg##__##field2), val2) val1 54 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c #define CRTC_REG_UPDATE_3(reg, field1, val1, field2, val2, field3, val3) \ val1 55 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c CRTC_REG_UPDATE_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3), val3) val1 57 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c #define CRTC_REG_UPDATE_4(reg, field1, val1, field2, val2, field3, val3, field4, val4) \ val1 58 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c CRTC_REG_UPDATE_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3), val3, FD(reg##__##field4), val4) val1 60 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c #define CRTC_REG_UPDATE_5(reg, field1, val1, field2, val2, field3, val3, field4, val4, field5, val5) \ val1 61 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c CRTC_REG_UPDATE_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3), val3, FD(reg##__##field4), val4, FD(reg##__##field5), val5) val1 66 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c #define CRTC_REG_SET_2(reg, field1, val1, field2, val2) \ val1 67 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c CRTC_REG_SET_N(reg, 2, FD(reg##__##field1), val1, FD(reg##__##field2), val2) val1 69 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c #define CRTC_REG_SET_3(reg, field1, val1, field2, val2, field3, val3) \ val1 70 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c CRTC_REG_SET_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3), val3) val1 375 drivers/gpu/drm/i915/intel_sideband.c u32 mbox, u32 *val, u32 *val1, val1 394 drivers/gpu/drm/i915/intel_sideband.c intel_uncore_write_fw(uncore, GEN6_PCODE_DATA1, val1 ? *val1 : 0); val1 408 drivers/gpu/drm/i915/intel_sideband.c if (is_read && val1) val1 409 drivers/gpu/drm/i915/intel_sideband.c *val1 = intel_uncore_read_fw(uncore, GEN6_PCODE_DATA1); val1 418 drivers/gpu/drm/i915/intel_sideband.c u32 *val, u32 *val1) val1 423 drivers/gpu/drm/i915/intel_sideband.c err = __sandybridge_pcode_rw(i915, mbox, val, val1, val1 131 drivers/gpu/drm/i915/intel_sideband.h u32 *val, u32 *val1); val1 340 drivers/gpu/drm/mga/mga_drv.h #define DMA_BLOCK(reg0, val0, reg1, val1, reg2, val2, reg3, val3) \ val1 347 drivers/gpu/drm/mga/mga_drv.h DMA_WRITE(2, val1); \ val1 626 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_WRITE(in, REG_A6XX_HLSQ_DBG_READ_SEL, regs->val1); val1 666 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_WRITE(in, regs->val0, regs->val1); val1 169 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h u32 val1; val1 173 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h { .val0 = _base, .val1 = _type, .registers = _array, \ val1 281 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h .val0 = _sel_reg, .val1 = _sel_val } val1 82 drivers/gpu/drm/radeon/radeon_bios.c uint8_t __iomem *bios, val1, val2; val1 92 drivers/gpu/drm/radeon/radeon_bios.c val1 = readb(&bios[0]); val1 95 drivers/gpu/drm/radeon/radeon_bios.c if (size == 0 || val1 != 0x55 || val2 != 0xaa) { val1 306 drivers/hwmon/adt7475.c int val1, val2; val1 308 drivers/hwmon/adt7475.c val1 = i2c_smbus_read_byte_data(client, reg); val1 309 drivers/hwmon/adt7475.c if (val1 < 0) val1 310 drivers/hwmon/adt7475.c return val1; val1 315 drivers/hwmon/adt7475.c return val1 | (val2 << 8); val1 741 drivers/hwmon/asb100.c int val1, val2; val1 748 drivers/hwmon/asb100.c val1 = i2c_smbus_read_byte_data(client, ASB100_REG_BANK); val1 752 drivers/hwmon/asb100.c if ((!(val1 & 0x07)) && val1 754 drivers/hwmon/asb100.c (((!(val1 & 0x80)) && (val2 != 0x94)) || val1 756 drivers/hwmon/asb100.c ((val1 & 0x80) && (val2 != 0x06)))) { val1 767 drivers/hwmon/asb100.c val1 = i2c_smbus_read_byte_data(client, ASB100_REG_WCHIPID); val1 770 drivers/hwmon/asb100.c if (val1 != 0x31 || val2 != 0x06) val1 848 drivers/hwmon/w83781d.c int i, val1 = 0, id; val1 875 drivers/hwmon/w83781d.c val1 = w83781d_read_value(data, W83781D_REG_I2C_SUBADDR); val1 876 drivers/hwmon/w83781d.c sc_addr[0] = 0x48 + (val1 & 0x07); val1 885 drivers/hwmon/w83781d.c sc_addr[1] = 0x48 + ((val1 >> 4) & 0x07); val1 1086 drivers/hwmon/w83781d.c int val1, val2; val1 1110 drivers/hwmon/w83781d.c val1 = i2c_smbus_read_byte_data(client, W83781D_REG_BANK); val1 1113 drivers/hwmon/w83781d.c if (!(val1 & 0x07) && val1 1114 drivers/hwmon/w83781d.c ((!(val1 & 0x80) && val2 != 0xa3 && val2 != 0xc3) || val1 1115 drivers/hwmon/w83781d.c ((val1 & 0x80) && val2 != 0x5c && val2 != 0x12))) { val1 1124 drivers/hwmon/w83781d.c if ((!(val1 & 0x80) && val2 == 0xa3) || val1 1125 drivers/hwmon/w83781d.c ((val1 & 0x80) && val2 == 0x5c)) { val1 1152 drivers/hwmon/w83781d.c val1 = i2c_smbus_read_byte_data(client, W83781D_REG_WCHIPID); val1 1153 drivers/hwmon/w83781d.c if ((val1 == 0x10 || val1 == 0x11) && vendid == winbond) val1 1155 drivers/hwmon/w83781d.c else if (val1 == 0x30 && vendid == winbond) val1 1157 drivers/hwmon/w83781d.c else if (val1 == 0x40 && vendid == winbond && address == 0x2d) val1 1159 drivers/hwmon/w83781d.c else if (val1 == 0x31) val1 1164 drivers/hwmon/w83781d.c if (val1 <= 0x30 && w83781d_alias_detect(client, val1)) { val1 1309 drivers/hwmon/w83791d.c int val1, val2; val1 1318 drivers/hwmon/w83791d.c val1 = w83791d_read(client, W83791D_REG_BANK); val1 1321 drivers/hwmon/w83791d.c if (!(val1 & 0x07)) { val1 1322 drivers/hwmon/w83791d.c if ((!(val1 & 0x80) && val2 != 0xa3) || val1 1323 drivers/hwmon/w83791d.c ((val1 & 0x80) && val2 != 0x5c)) { val1 1335 drivers/hwmon/w83791d.c val1 = w83791d_read(client, W83791D_REG_BANK) & 0x78; val1 1336 drivers/hwmon/w83791d.c w83791d_write(client, W83791D_REG_BANK, val1 | 0x80); val1 1339 drivers/hwmon/w83791d.c val1 = w83791d_read(client, W83791D_REG_WCHIPID); val1 1341 drivers/hwmon/w83791d.c if (val1 != 0x71 || val2 != 0x5c) val1 1358 drivers/hwmon/w83791d.c int val1; val1 1359 drivers/hwmon/w83791d.c val1 = w83791d_read(client, W83791D_REG_DID_VID4); val1 1361 drivers/hwmon/w83791d.c (val1 >> 5) & 0x07, (val1 >> 1) & 0x0f, val1); val1 238 drivers/hwmon/w83792d.c #define TEMP_ADD_FROM_REG(val1, val2) \ val1 239 drivers/hwmon/w83792d.c ((((val1) & 0x80 ? (val1)-0x100 \ val1 240 drivers/hwmon/w83792d.c : (val1)) * 1000) + ((val2 & 0x80) ? 500 : 0)) val1 1320 drivers/hwmon/w83792d.c int val1, val2; val1 1329 drivers/hwmon/w83792d.c val1 = w83792d_read_value(client, W83792D_REG_BANK); val1 1332 drivers/hwmon/w83792d.c if (!(val1 & 0x07)) { /* is Bank0 */ val1 1333 drivers/hwmon/w83792d.c if ((!(val1 & 0x80) && val2 != 0xa3) || val1 1334 drivers/hwmon/w83792d.c ((val1 & 0x80) && val2 != 0x5c)) val1 1351 drivers/hwmon/w83792d.c val1 = w83792d_read_value(client, W83792D_REG_WCHIPID); val1 1353 drivers/hwmon/w83792d.c if (val1 != 0x7a || val2 != 0x5c) val1 1366 drivers/hwmon/w83792d.c int i, val1, err; val1 1397 drivers/hwmon/w83792d.c val1 = w83792d_read_value(client, W83792D_REG_GPIO_EN); val1 1399 drivers/hwmon/w83792d.c if (!(val1 & 0x40)) { val1 1405 drivers/hwmon/w83792d.c if (!(val1 & 0x20)) { val1 1411 drivers/hwmon/w83792d.c val1 = w83792d_read_value(client, W83792D_REG_PIN); val1 1412 drivers/hwmon/w83792d.c if (val1 & 0x40) { val1 1418 drivers/hwmon/w83792d.c if (val1 & 0x04) { val1 365 drivers/hwtracing/coresight/coresight-etm3x-sysfs.c unsigned long val1, val2; val1 383 drivers/hwtracing/coresight/coresight-etm3x-sysfs.c val1 = config->addr_val[idx]; val1 387 drivers/hwtracing/coresight/coresight-etm3x-sysfs.c return sprintf(buf, "%#lx %#lx\n", val1, val2); val1 395 drivers/hwtracing/coresight/coresight-etm3x-sysfs.c unsigned long val1, val2; val1 399 drivers/hwtracing/coresight/coresight-etm3x-sysfs.c if (sscanf(buf, "%lx %lx", &val1, &val2) != 2) val1 402 drivers/hwtracing/coresight/coresight-etm3x-sysfs.c if (val1 > val2) val1 419 drivers/hwtracing/coresight/coresight-etm3x-sysfs.c config->addr_val[idx] = val1; val1 942 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c unsigned long val1, val2; val1 960 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c val1 = (unsigned long)config->addr_val[idx]; val1 963 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c return scnprintf(buf, PAGE_SIZE, "%#lx %#lx\n", val1, val2); val1 971 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c unsigned long val1, val2; val1 975 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c if (sscanf(buf, "%lx %lx", &val1, &val2) != 2) val1 978 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c if (val1 > val2) val1 996 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->addr_val[idx] = (u64)val1; val1 1696 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c unsigned long val1, val2; val1 1708 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c val1 = config->ctxid_mask0; val1 1711 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c return scnprintf(buf, PAGE_SIZE, "%#lx %#lx\n", val1, val2); val1 1719 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c unsigned long val1, val2, mask; val1 1737 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c if (sscanf(buf, "%lx %lx", &val1, &val2) != 2) val1 1748 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->ctxid_mask0 = val1 & 0xFF; val1 1752 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->ctxid_mask0 = val1 & 0xFFFF; val1 1756 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->ctxid_mask0 = val1 & 0xFFFFFF; val1 1760 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->ctxid_mask0 = val1; val1 1764 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->ctxid_mask0 = val1; val1 1769 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->ctxid_mask0 = val1; val1 1774 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->ctxid_mask0 = val1; val1 1779 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->ctxid_mask0 = val1; val1 1892 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c unsigned long val1, val2; val1 1897 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c val1 = config->vmid_mask0; val1 1900 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c return scnprintf(buf, PAGE_SIZE, "%#lx %#lx\n", val1, val2); val1 1908 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c unsigned long val1, val2, mask; val1 1918 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c if (sscanf(buf, "%lx %lx", &val1, &val2) != 2) val1 1930 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->vmid_mask0 = val1 & 0xFF; val1 1934 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->vmid_mask0 = val1 & 0xFFFF; val1 1938 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->vmid_mask0 = val1 & 0xFFFFFF; val1 1942 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->vmid_mask0 = val1; val1 1946 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->vmid_mask0 = val1; val1 1951 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->vmid_mask0 = val1; val1 1956 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->vmid_mask0 = val1; val1 1961 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c config->vmid_mask0 = val1; val1 156 drivers/iio/adc/mcp3422.c struct iio_chan_spec const *channel, int *val1, val1 167 drivers/iio/adc/mcp3422.c err = mcp3422_read_channel(adc, channel, val1); val1 174 drivers/iio/adc/mcp3422.c *val1 = 0; val1 179 drivers/iio/adc/mcp3422.c *val1 = mcp3422_sample_rates[MCP3422_SAMPLE_RATE(adc->config)]; val1 190 drivers/iio/adc/mcp3422.c struct iio_chan_spec const *channel, int val1, val1 202 drivers/iio/adc/mcp3422.c if (val1 != 0) val1 220 drivers/iio/adc/mcp3422.c switch (val1) { val1 98 drivers/iio/common/hid-sensors/hid-sensor-attributes.c static void split_micro_fraction(unsigned int no, int exp, int *val1, int *val2) val1 102 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = no / divisor; val1 115 drivers/iio/common/hid-sensors/hid-sensor-attributes.c int *val1, int *val2) val1 125 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = sign * value * int_pow(10, exp); val1 128 drivers/iio/common/hid-sensors/hid-sensor-attributes.c split_micro_fraction(value, -exp, val1, val2); val1 129 drivers/iio/common/hid-sensors/hid-sensor-attributes.c if (*val1) val1 130 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = sign * (*val1); val1 136 drivers/iio/common/hid-sensors/hid-sensor-attributes.c static u32 convert_to_vtf_format(int size, int exp, int val1, int val2) val1 142 drivers/iio/common/hid-sensors/hid-sensor-attributes.c if (val1 < 0 || val2 < 0) val1 147 drivers/iio/common/hid-sensors/hid-sensor-attributes.c value = abs(val1) * int_pow(10, -exp); val1 151 drivers/iio/common/hid-sensors/hid-sensor-attributes.c value = abs(val1) / divisor; val1 180 drivers/iio/common/hid-sensors/hid-sensor-attributes.c int *val1, int *val2) val1 189 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = *val2 = 0; val1 193 drivers/iio/common/hid-sensors/hid-sensor-attributes.c simple_div(1000, value, val1, val2); val1 195 drivers/iio/common/hid-sensors/hid-sensor-attributes.c simple_div(1, value, val1, val2); val1 197 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = *val2 = 0; val1 207 drivers/iio/common/hid-sensors/hid-sensor-attributes.c int val1, int val2) val1 212 drivers/iio/common/hid-sensors/hid-sensor-attributes.c if (val1 < 0 || val2 < 0) val1 215 drivers/iio/common/hid-sensors/hid-sensor-attributes.c value = val1 * HZ_PER_MHZ + val2; val1 242 drivers/iio/common/hid-sensors/hid-sensor-attributes.c int *val1, int *val2) val1 252 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = *val2 = 0; val1 257 drivers/iio/common/hid-sensors/hid-sensor-attributes.c val1, val2); val1 265 drivers/iio/common/hid-sensors/hid-sensor-attributes.c int val1, int val2) val1 270 drivers/iio/common/hid-sensors/hid-sensor-attributes.c if (val1 < 0 || val2 < 0) val1 275 drivers/iio/common/hid-sensors/hid-sensor-attributes.c val1, val2); val1 306 drivers/iio/common/hid-sensors/hid-sensor-attributes.c static void adjust_exponent_nano(int *val0, int *val1, int scale0, val1 319 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = 0; val1 329 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = scale1 * int_pow(10, exp); val1 333 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val0 = *val1 = 0; val1 346 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = rem * int_pow(10, 9 - exp) + res; val1 349 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = scale1; val1 355 drivers/iio/common/hid-sensors/hid-sensor-attributes.c int *val0, int *val1) val1 361 drivers/iio/common/hid-sensors/hid-sensor-attributes.c *val1 = 0; val1 368 drivers/iio/common/hid-sensors/hid-sensor-attributes.c adjust_exponent_nano(val0, val1, val1 483 drivers/iio/common/hid-sensors/hid-sensor-attributes.c int val0, val1; val1 486 drivers/iio/common/hid-sensors/hid-sensor-attributes.c ×tamp, &val0, &val1); val1 490 drivers/iio/light/lm3533-als.c u8 val1; val1 511 drivers/iio/light/lm3533-als.c ret = lm3533_als_get_hysteresis(indio_dev, als_attr->val1, val1 515 drivers/iio/light/lm3533-als.c ret = lm3533_als_get_target(indio_dev, als_attr->val1, val1 519 drivers/iio/light/lm3533-als.c ret = lm3533_als_get_threshold(indio_dev, als_attr->val1, val1 523 drivers/iio/light/lm3533-als.c ret = lm3533_als_get_threshold(indio_dev, als_attr->val1, val1 550 drivers/iio/light/lm3533-als.c ret = lm3533_als_set_target(indio_dev, als_attr->val1, val1 554 drivers/iio/light/lm3533-als.c ret = lm3533_als_set_threshold(indio_dev, als_attr->val1, val1 558 drivers/iio/light/lm3533-als.c ret = lm3533_als_set_threshold(indio_dev, als_attr->val1, val1 574 drivers/iio/light/lm3533-als.c .val1 = _val1, \ val1 1004 drivers/infiniband/hw/qib/qib_sd7220.c #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ val1 1005 drivers/infiniband/hw/qib/qib_sd7220.c {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} } val1 65 drivers/input/joystick/walkera0701.c int val1, val2, val3, val4, val5, val6, val7, val8; val1 85 drivers/input/joystick/walkera0701.c val1 = ((w->buf[0] & 7) * 256 + w->buf[1] * 16 + w->buf[2]) >> 2; val1 86 drivers/input/joystick/walkera0701.c val1 *= ((w->buf[0] >> 2) & 2) - 1; /* sign */ val1 105 drivers/input/joystick/walkera0701.c val1, val2, val3, val4, val5, val6, val7, val8, val1 109 drivers/input/joystick/walkera0701.c input_report_abs(w->input_dev, ABS_Y, val1); val1 495 drivers/media/i2c/msp3400-kthreads.c int count, max1, max2, val1, val2, val, i; val1 525 drivers/media/i2c/msp3400-kthreads.c val1 = val2 = 0; val1 552 drivers/media/i2c/msp3400-kthreads.c if (val1 < val) val1 553 drivers/media/i2c/msp3400-kthreads.c val1 = val, max1 = i; val1 453 drivers/media/platform/davinci/dm355_ccdc.c u32 val1 = 0, val2; val1 466 drivers/media/platform/davinci/dm355_ccdc.c val1 = (csc->coeff[i].integer & val1 473 drivers/media/platform/davinci/dm355_ccdc.c val1 |= (((csc->coeff[i].decimal & val1 486 drivers/media/platform/davinci/dm355_ccdc.c val2 |= val1; val1 484 drivers/media/platform/davinci/isif.c u32 val1 = 0, val2 = 0, i; val1 493 drivers/media/platform/davinci/isif.c val1 = (df_csc->csc.coeff[i].integer << val1 503 drivers/media/platform/davinci/isif.c val2 |= val1; val1 218 drivers/media/tuners/qt1010.c u8 i, val1, uninitialized_var(val2); val1 239 drivers/media/tuners/qt1010.c val1 = val2; val1 243 drivers/media/tuners/qt1010.c __func__, reg, val1, val2); val1 244 drivers/media/tuners/qt1010.c } while (val1 != val2); val1 245 drivers/media/tuners/qt1010.c *retval = val1; val1 377 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c u8 val1, val2, val3; val1 382 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c ret = mxl111sf_demod_read_reg(state, V6_RS_AVG_ERRORS_LSB_REG, &val1); val1 392 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c *ber = CALCULATE_BER((val1 | (val2 << 8)), val3); val1 400 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c u8 val1, val2; val1 405 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c ret = mxl111sf_demod_read_reg(state, V6_SNR_RB_LSB_REG, &val1); val1 412 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c *snr = CALCULATE_SNR(val1 | ((val2 & 0x03) << 8)); val1 358 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c u8 val1, val2; val1 366 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c ret = mxl111sf_tuner_read_reg(state, V6_DIG_RF_PWR_LSB_REG, &val1); val1 373 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c *strength = val1 | ((val2 & 0x07) << 8); val1 2914 drivers/media/usb/gspca/ov519.c unsigned char val0, val1; val1 2931 drivers/media/usb/gspca/ov519.c val1 = *pYTable++; val1 2933 drivers/media/usb/gspca/ov519.c val1 &= 0x0f; val1 2934 drivers/media/usb/gspca/ov519.c val0 |= val1 << 4; val1 2938 drivers/media/usb/gspca/ov519.c val1 = *pUVTable++; val1 2940 drivers/media/usb/gspca/ov519.c val1 &= 0x0f; val1 2941 drivers/media/usb/gspca/ov519.c val0 |= val1 << 4; val1 1343 drivers/media/usb/gspca/ov534_9.c u8 val1, val2, val3; val1 1352 drivers/media/usb/gspca/ov534_9.c val1 = matrix[val][0]; val1 1354 drivers/media/usb/gspca/ov534_9.c val3 = val1 + val2; val1 1358 drivers/media/usb/gspca/ov534_9.c sccb_write(gspca_dev, 0x52, val1); val1 1363 drivers/media/usb/gspca/ov534_9.c val1 = sccb_read(gspca_dev, 0x41); /* com16 */ val1 1365 drivers/media/usb/gspca/ov534_9.c sccb_write(gspca_dev, 0x41, val1); val1 858 drivers/misc/sgi-gru/grufault.c gru_dbg(grudev, "op %d, gseg 0x%lx, value1 0x%lx\n", req.op, req.gseg, req.val1); val1 871 drivers/misc/sgi-gru/grufault.c req.val1 < -1 || req.val1 >= GRU_MAX_BLADES || val1 872 drivers/misc/sgi-gru/grufault.c (req.val1 >= 0 && !gru_base[req.val1])) { val1 875 drivers/misc/sgi-gru/grufault.c gts->ts_user_blade_id = req.val1; val1 886 drivers/misc/sgi-gru/grufault.c gts->ts_cch_req_slice = req.val1 & 3; val1 98 drivers/misc/sgi-gru/grulib.h long val1; val1 495 drivers/net/ethernet/broadcom/bnx2.c u32 val1; val1 499 drivers/net/ethernet/broadcom/bnx2.c val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); val1 500 drivers/net/ethernet/broadcom/bnx2.c val1 &= ~BNX2_EMAC_MDIO_MODE_AUTO_POLL; val1 502 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_EMAC_MDIO_MODE, val1); val1 508 drivers/net/ethernet/broadcom/bnx2.c val1 = (bp->phy_addr << 21) | (reg << 16) | val1 511 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_EMAC_MDIO_COMM, val1); val1 516 drivers/net/ethernet/broadcom/bnx2.c val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_COMM); val1 517 drivers/net/ethernet/broadcom/bnx2.c if (!(val1 & BNX2_EMAC_MDIO_COMM_START_BUSY)) { val1 520 drivers/net/ethernet/broadcom/bnx2.c val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_COMM); val1 521 drivers/net/ethernet/broadcom/bnx2.c val1 &= BNX2_EMAC_MDIO_COMM_DATA; val1 527 drivers/net/ethernet/broadcom/bnx2.c if (val1 & BNX2_EMAC_MDIO_COMM_START_BUSY) { val1 532 drivers/net/ethernet/broadcom/bnx2.c *val = val1; val1 537 drivers/net/ethernet/broadcom/bnx2.c val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); val1 538 drivers/net/ethernet/broadcom/bnx2.c val1 |= BNX2_EMAC_MDIO_MODE_AUTO_POLL; val1 540 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_EMAC_MDIO_MODE, val1); val1 552 drivers/net/ethernet/broadcom/bnx2.c u32 val1; val1 556 drivers/net/ethernet/broadcom/bnx2.c val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); val1 557 drivers/net/ethernet/broadcom/bnx2.c val1 &= ~BNX2_EMAC_MDIO_MODE_AUTO_POLL; val1 559 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_EMAC_MDIO_MODE, val1); val1 565 drivers/net/ethernet/broadcom/bnx2.c val1 = (bp->phy_addr << 21) | (reg << 16) | val | val1 568 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_EMAC_MDIO_COMM, val1); val1 573 drivers/net/ethernet/broadcom/bnx2.c val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_COMM); val1 574 drivers/net/ethernet/broadcom/bnx2.c if (!(val1 & BNX2_EMAC_MDIO_COMM_START_BUSY)) { val1 580 drivers/net/ethernet/broadcom/bnx2.c if (val1 & BNX2_EMAC_MDIO_COMM_START_BUSY) val1 586 drivers/net/ethernet/broadcom/bnx2.c val1 = BNX2_RD(bp, BNX2_EMAC_MDIO_MODE); val1 587 drivers/net/ethernet/broadcom/bnx2.c val1 |= BNX2_EMAC_MDIO_MODE_AUTO_POLL; val1 589 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_EMAC_MDIO_MODE, val1); val1 6557 drivers/net/ethernet/broadcom/bnx2.c u32 val1, val2; val1 6559 drivers/net/ethernet/broadcom/bnx2.c pci_read_config_dword(bp->pdev, PCI_COMMAND, &val1); val1 6561 drivers/net/ethernet/broadcom/bnx2.c atomic_read(&bp->intr_sem), val1); val1 6562 drivers/net/ethernet/broadcom/bnx2.c pci_read_config_dword(bp->pdev, bp->pm_cap + PCI_PM_CTRL, &val1); val1 6564 drivers/net/ethernet/broadcom/bnx2.c netdev_err(dev, "DEBUG: PCI_PM[%08x] PCI_MISC_CFG[%08x]\n", val1, val2); val1 7521 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 val1, val2; val1 7526 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, MDIO_PMA_LASI_STAT, &val1); val1 7528 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "8703 LASI status 0x%x\n", val1); val1 7534 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PCS_DEVAD, MDIO_PCS_REG_STATUS, &val1); val1 7535 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "807x PCS status 0x%x->0x%x\n", val2, val1); val1 7538 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, MDIO_PMA_REG_M8051_MSGOUT_REG, &val1); val1 7554 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, MDIO_PMA_REG_STATUS, &val1); val1 7555 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c link_up = ((val1 & 4) == 4); val1 7556 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "PMA_REG_STATUS=0x%x\n", val1); val1 7572 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, MDIO_PMA_REG_STATUS, &val1); val1 7574 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c "an_link_status=0x%x\n", val2, val1, an1000_status); val1 7576 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c link_up = (((val1 & 4) == 4) || (an1000_status & (1<<1))); val1 7624 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_XS_REG_8073_RX_CTRL_PCIE, &val1); val1 7631 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c val1 |= (1<<3); val1 7633 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c val1 &= ~(1<<3); val1 7638 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c val1); val1 7647 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_AN_REG_LP_AUTO_NEG2, &val1); val1 7649 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (val1 & (1<<5)) val1 7652 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (val1 & (1<<7)) val1 7711 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 val1, rx_sd; val1 7715 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_WIS_DEVAD, MDIO_WIS_REG_LASI_STATUS, &val1); val1 7716 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "8705 LASI status 0x%x\n", val1); val1 7719 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_WIS_DEVAD, MDIO_WIS_REG_LASI_STATUS, &val1); val1 7720 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "8705 LASI status 0x%x\n", val1); val1 7726 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, 0xc809, &val1); val1 7728 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, 0xc809, &val1); val1 7730 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "8705 1.c809 val=0x%x\n", val1); val1 7731 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c link_up = ((rx_sd & 0x1) && (val1 & (1<<9)) && ((val1 & (1<<8)) == 0)); val1 8833 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 val1, val2, rx_sd, pcs_status; val1 8845 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, MDIO_PMA_LASI_STAT, &val1); val1 8848 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "8706/8726 LASI status 0x%x--> 0x%x\n", val1, val2); val1 8877 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_LASI_TXSTAT, &val1); val1 8879 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_LASI_TXSTAT, &val1); val1 8880 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (val1 & (1<<0)) val1 9057 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 val1; val1 9062 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c &val1); val1 9063 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (val1 & (1<<15)) { val1 9470 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 rx_alarm_status, lasi_ctrl, val1; val1 9490 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, MDIO_PMA_LASI_STAT, &val1); val1 9492 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "8727 LASI status 0x%x\n", val1); val1 9496 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, MDIO_PMA_REG_M8051_MSGOUT_REG, &val1); val1 9505 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c &val1); val1 9507 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if ((val1 & (1<<8)) == 0) { val1 9528 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_REG_PHY_IDENTIFIER, &val1); val1 9530 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c val1 |= (1<<8); val1 9533 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_REG_PHY_IDENTIFIER, val1); val1 9586 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_LASI_TXSTAT, &val1); val1 9589 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_LASI_TXSTAT, &val1); val1 9591 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (val1 & (1<<0)) { val1 9606 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_REG_8727_PCS_GP, &val1); val1 9611 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c val1 &= ~(3<<10); val1 9613 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c val1 |= (3<<10); val1 9616 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_REG_8727_PCS_GP, val1); val1 10492 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 val, val1, val2; val1 10499 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_AN_DEVAD, 0xFFFA, &val1); val1 11514 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 val1, val2; val1 11518 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, MDIO_PMA_LASI_STAT, &val1); val1 11520 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c val2, val1); val1 11524 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c MDIO_PMA_DEVAD, MDIO_PMA_REG_STATUS, &val1); val1 11526 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c val2, val1); val1 11527 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c link_up = ((val1 & 4) == 4); val1 4483 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 val1, val; val1 4495 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val1 = (val & mask) >> shift; val1 4498 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val1 |= (1 << bp->pf_num); val1 4504 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val |= ((val1 << shift) & mask); val1 4521 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 val1, val; val1 4532 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val1 = (val & mask) >> shift; val1 4535 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val1 &= ~(1 << bp->pf_num); val1 4541 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val |= ((val1 << shift) & mask); val1 4545 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c return val1 != 0; val1 430 drivers/net/ethernet/chelsio/cxgb/pm3393.c t1_tpi_read((mac)->adapter, OFFSET((name)+1), &val1); \ val1 433 drivers/net/ethernet/chelsio/cxgb/pm3393.c ((u64)(val1 & 0xffff) << 16) | \ val1 446 drivers/net/ethernet/chelsio/cxgb/pm3393.c u32 val0, val1, val2, val3; val1 454 drivers/net/ethernet/chelsio/cxgb/pm3393.c pmread(mac, SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_1, &val1); val1 457 drivers/net/ethernet/chelsio/cxgb/pm3393.c ro = ((u64)val0 & 0xffff) | (((u64)val1 & 0xffff) << 16) | val1 261 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c u64 val1, val2; val1 275 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c val1 = t4_read_reg(adap, SGE_STAT_TOTAL_A); val1 276 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c s->wc_success = val1 - val2; val1 101 drivers/net/ethernet/intel/i40e/i40e_hmc.h u32 val1, val2, val3; \ val1 102 drivers/net/ethernet/intel/i40e/i40e_hmc.h val1 = (u32)(upper_32_bits(pa)); \ val1 109 drivers/net/ethernet/intel/i40e/i40e_hmc.h wr32((hw), I40E_PFHMC_SDDATAHIGH, val1); \ val1 1437 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c u32 val = 0, val1 = 0, reg = 0; val1 1510 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c val1 = QLCRD32(adapter, QLC_83XX_PORT3_IFB_THRESHOLD, &err); val1 1515 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c val, val1); val1 99 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c u32 val1; val1 221 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c u32 val1; val1 422 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c qlcnic_ind_wr(adapter, addr, ctr->val1); val1 441 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c if ((data & ctr->val2) == ctr->val1) val1 469 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c data = ctr->val1; val1 486 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c data += ctr->val1; val1 916 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c qlcnic_ind_wr(adapter, poll->addr1, poll->val1); val1 408 drivers/net/phy/micrel.c int val1 = -1; val1 415 drivers/net/phy/micrel.c if (!of_property_read_u32(of_node, field1, &val1)) val1 435 drivers/net/phy/micrel.c if (val1 != -1) val1 436 drivers/net/phy/micrel.c newval = ((newval & 0xfff0) | ((val1 / PS_TO_REG) & 0xf) << 0); val1 2484 drivers/net/wireless/broadcom/b43/phy_lp.c u32 freqref, vco_freq, val1, val2, val3, timeout, timeoutref, count; val1 2521 drivers/net/wireless/broadcom/b43/phy_lp.c val1 = lpphy_qdiv_roundup(crystal_freq, 1000000, 16); val1 2572 drivers/net/wireless/broadcom/b43/phy_lp.c tmp6 = lpphy_qdiv_roundup(100 * val1, val3, 16); val1 2586 drivers/net/wireless/broadcom/b43/phy_lp.c if (val1 == 45) val1 5161 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c u32 msb1, msb2, val1, val2, diff1, diff2; val1 5174 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c val1 = 1 << msb1; val1 5176 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c diff1 = (power - val1); val1 27521 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c u16 mask, val1, val2; val1 27586 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c val1 = RADIO_2055_COUPLE_RX_MASK; val1 27589 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c val1 = RADIO_2055_COUPLE_TX_MASK; val1 27595 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c val1); val1 838 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 val1 = 0x76543210; val1 853 drivers/net/wireless/intel/ipw2x00/ipw2100.c val1); val1 860 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (val1 == data1 && val2 == data2) val1 1407 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 val1, val2; val1 1417 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, IPW2100_CONTROL_REG, &val1); val1 1420 drivers/net/wireless/intel/ipw2x00/ipw2100.c if ((val1 & IPW2100_CONTROL_PHY_OFF) && val1 2421 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c static u32 _rtl92d_phy_get_abs(u32 val1, u32 val2) val1 2425 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c if (val1 >= val2) val1 2426 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c ret = val1 - val2; val1 2428 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c ret = val2 - val1; val1 501 drivers/pci/pcie/aspm.c u32 val1, val2, scale1, scale2; val1 512 drivers/pci/pcie/aspm.c val1 = (upreg->l1ss_cap & PCI_L1SS_CAP_CM_RESTORE_TIME) >> 8; val1 514 drivers/pci/pcie/aspm.c t_common_mode = max(val1, val2); val1 517 drivers/pci/pcie/aspm.c val1 = (upreg->l1ss_cap & PCI_L1SS_CAP_P_PWR_ON_VALUE) >> 19; val1 522 drivers/pci/pcie/aspm.c if (calc_l1ss_pwron(link->pdev, scale1, val1) > val1 524 drivers/pci/pcie/aspm.c link->l1ss.ctl2 |= scale1 | (val1 << 3); val1 525 drivers/pci/pcie/aspm.c t_power_on = calc_l1ss_pwron(link->pdev, scale1, val1); val1 538 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int err, val1, val2; val1 542 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_E4, &val1); val1 553 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c *val = (((val2 << 1) + val1) / tb->scal + 1) * tb->step; val1 583 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int err, val1; val1 587 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV, &val1); val1 591 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c *val = ((val1 & 0x7) / tb->scal + 1) * tb->step; val1 56 drivers/platform/x86/amilo-rfkill.c u8 val1 = blocked ? M7440_RADIO_OFF1 : M7440_RADIO_ON1; val1 59 drivers/platform/x86/amilo-rfkill.c outb(val1, M7440_PORT1); val1 63 drivers/platform/x86/amilo-rfkill.c if (inb(M7440_PORT1) != val1 || inb(M7440_PORT2) != val2) val1 192 drivers/platform/x86/hdaps.c int *val1, int *val2) val1 197 drivers/platform/x86/hdaps.c ret = __hdaps_read_pair(port1, port2, val1, val2); val1 189 drivers/power/supply/axp20x_battery.c int ret = 0, reg, val1; val1 214 drivers/power/supply/axp20x_battery.c &val1); val1 218 drivers/power/supply/axp20x_battery.c if (val1) { val1 223 drivers/power/supply/axp20x_battery.c ret = regmap_read(axp20x_batt->regmap, AXP20X_FG_RES, &val1); val1 231 drivers/power/supply/axp20x_battery.c if ((val1 & AXP209_FG_PERCENT) == 100) val1 239 drivers/power/supply/axp20x_battery.c &val1); val1 243 drivers/power/supply/axp20x_battery.c if (val1 & AXP20X_PWR_OP_BATT_ACTIVATED) { val1 443 drivers/power/supply/axp20x_battery.c int val1 = (min_voltage - 2600000) / 100000; val1 445 drivers/power/supply/axp20x_battery.c if (val1 < 0 || val1 > AXP20X_V_OFF_MASK) val1 449 drivers/power/supply/axp20x_battery.c AXP20X_V_OFF_MASK, val1); val1 270 drivers/regulator/tps6586x-regulator.c uint8_t val1, val2; val1 277 drivers/regulator/tps6586x-regulator.c ret = tps6586x_read(parent, ri->enable_reg[0], &val1); val1 292 drivers/regulator/tps6586x-regulator.c if (!(val1 & (1 << ri->enable_bit[0]))) { val1 198 drivers/scsi/NCR5380.c unsigned int reg1, u8 bit1, u8 val1, val1 206 drivers/scsi/NCR5380.c if ((NCR5380_read(reg1) & bit1) == val1) val1 219 drivers/scsi/NCR5380.c if ((NCR5380_read(reg1) & bit1) == val1) val1 220 drivers/scsi/fnic/fnic_trace.c struct timespec64 val1, val2; val1 222 drivers/scsi/fnic/fnic_trace.c ktime_get_real_ts64(&val1); val1 234 drivers/scsi/fnic/fnic_trace.c (s64)val1.tv_sec, val1.tv_nsec, val1 239 drivers/scsi/fnic/fnic_trace.c (s64)timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_sec, val1 240 drivers/scsi/fnic/fnic_trace.c timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_nsec, val1 241 drivers/scsi/fnic/fnic_trace.c (s64)timespec64_sub(val1, stats->stats_timestamps.last_read_time).tv_sec, val1 242 drivers/scsi/fnic/fnic_trace.c timespec64_sub(val1, stats->stats_timestamps.last_read_time).tv_nsec); val1 244 drivers/scsi/fnic/fnic_trace.c stats->stats_timestamps.last_read_time = val1; val1 406 drivers/scsi/fnic/fnic_trace.c jiffies_to_timespec64(stats->misc_stats.last_isr_time, &val1); val1 431 drivers/scsi/fnic/fnic_trace.c (s64)val1.tv_sec, val1.tv_nsec, val1 1408 drivers/scsi/qla4xxx/ql4_83xx.c u32 val = 0, val1 = 0; val1 1497 drivers/scsi/qla4xxx/ql4_83xx.c &val1); val1 1501 drivers/scsi/qla4xxx/ql4_83xx.c val, val1)); val1 119 drivers/spi/spi-uniphier.c u32 val1, val2; val1 136 drivers/spi/spi-uniphier.c val1 = SSI_CKS_CKPHS | SSI_CKS_CKDLY; val1 141 drivers/spi/spi-uniphier.c val1 = 0; val1 146 drivers/spi/spi-uniphier.c val1 = SSI_CKS_CKINIT | SSI_CKS_CKDLY; val1 151 drivers/spi/spi-uniphier.c val1 = SSI_CKS_CKPHS | SSI_CKS_CKINIT; val1 159 drivers/spi/spi-uniphier.c writel(val1, priv->base + SSI_CKS); val1 162 drivers/spi/spi-uniphier.c val1 = 0; val1 164 drivers/spi/spi-uniphier.c val1 |= FIELD_PREP(SSI_TXWDS_TDTF_MASK, 1); val1 165 drivers/spi/spi-uniphier.c writel(val1, priv->base + SSI_TXWDS); val1 166 drivers/spi/spi-uniphier.c writel(val1, priv->base + SSI_RXWDS); val1 311 drivers/staging/gasket/apex_driver.c u32 val0, val1; val1 371 drivers/staging/gasket/apex_driver.c val1 = gasket_dev_read_32(gasket_dev, APEX_BAR_INDEX, val1 374 drivers/staging/gasket/apex_driver.c "Disallow HW clock gating 0x%x -> 0x%x\n", val0, val1); val1 383 drivers/staging/gasket/apex_driver.c val1 = gasket_dev_read_32(gasket_dev, APEX_BAR_INDEX, val1 386 drivers/staging/gasket/apex_driver.c val0, val1); val1 468 drivers/staging/media/ipu3/ipu3-css.c u32 val1 = imgu_css_gdc_lut[1][i] & IMGU_GDC_LUT_MASK; val1 472 drivers/staging/media/ipu3/ipu3-css.c writel(val0 | (val1 << 16), val1 2101 drivers/staging/rts5208/ms.c u8 val1, val2; val1 2120 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, reg_addr++, &val1); val1 2128 drivers/staging/rts5208/ms.c defect_block = ((u16)val1 << 8) | val2; val1 887 drivers/staging/rts5208/rtsx_card.c u8 mask, val1, val2; val1 891 drivers/staging/rts5208/rtsx_card.c val1 = MS_PARTIAL_POWER_ON; val1 895 drivers/staging/rts5208/rtsx_card.c val1 = SD_PARTIAL_POWER_ON; val1 900 drivers/staging/rts5208/rtsx_card.c rtsx_add_cmd(chip, WRITE_REG_CMD, CARD_PWR_CTL, mask, val1); val1 123 drivers/thermal/ti-soc-thermal/ti-bandgap.c u32 val1, val2; val1 125 drivers/thermal/ti-soc-thermal/ti-bandgap.c val1 = ti_bandgap_readl(bgp, reg); val1 129 drivers/thermal/ti-soc-thermal/ti-bandgap.c if (val1 == val2) val1 130 drivers/thermal/ti-soc-thermal/ti-bandgap.c return val1; val1 1735 drivers/thunderbolt/icm.c u32 val0, val1; val1 1756 drivers/thunderbolt/icm.c ret = pcie2cio_read(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, &val1); val1 1762 drivers/thunderbolt/icm.c state1 = val1 & PHY_PORT_CS1_LINK_STATE_MASK; val1 1774 drivers/thunderbolt/icm.c val1 |= PHY_PORT_CS1_LINK_DISABLE; val1 1775 drivers/thunderbolt/icm.c ret = pcie2cio_write(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, val1); val1 1785 drivers/thunderbolt/icm.c ret = pcie2cio_read(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, &val1); val1 1794 drivers/thunderbolt/icm.c val1 &= ~PHY_PORT_CS1_LINK_DISABLE; val1 1795 drivers/thunderbolt/icm.c return pcie2cio_write(icm, TB_CFG_PORT, port1, PHY_PORT_CS1, val1); val1 250 drivers/watchdog/i6300esb.c u8 val1; val1 268 drivers/watchdog/i6300esb.c pci_read_config_byte(edev->pdev, ESB_LOCK_REG, &val1); val1 269 drivers/watchdog/i6300esb.c if (val1 & ESB_WDT_LOCK) val1 111 fs/ocfs2/ocfs2_trace.h TP_PROTO(int val1, int val2), \ val1 112 fs/ocfs2/ocfs2_trace.h TP_ARGS(val1, val2)) val1 130 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned int val1, int val2), \ val1 131 fs/ocfs2/ocfs2_trace.h TP_ARGS(val1, val2)) val1 149 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned int val1, unsigned int val2), \ val1 150 fs/ocfs2/ocfs2_trace.h TP_ARGS(val1, val2)) val1 168 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long val1, unsigned int val2), \ val1 169 fs/ocfs2/ocfs2_trace.h TP_ARGS(val1, val2)) val1 187 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long val1, int val2), \ val1 188 fs/ocfs2/ocfs2_trace.h TP_ARGS(val1, val2)) val1 206 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long val1, unsigned long long val2), \ val1 207 fs/ocfs2/ocfs2_trace.h TP_ARGS(val1, val2)) val1 229 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long val1, \ val1 231 fs/ocfs2/ocfs2_trace.h TP_ARGS(val1, val2, val3)) val1 253 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long val1, \ val1 255 fs/ocfs2/ocfs2_trace.h TP_ARGS(val1, val2, val3)) val1 629 fs/orangefs/orangefs-sysfs.c int val1, val2; val1 630 fs/orangefs/orangefs-sysfs.c rc = sscanf(buf, "%d %d", &val1, &val2); val1 635 fs/orangefs/orangefs-sysfs.c if ((val1 >= 0) && (val2 >= 0)) { val1 642 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.u.value32[0] = val1; val1 53 fs/ubifs/lprops.c int val1, val2, hpos; val1 58 fs/ubifs/lprops.c val1 = get_heap_comp_val(lprops, cat); val1 64 fs/ubifs/lprops.c if (val2 >= val1) val1 90 fs/ubifs/lprops.c int val1, val2, val3, cpos; val1 92 fs/ubifs/lprops.c val1 = get_heap_comp_val(lprops, cat); val1 98 fs/ubifs/lprops.c if (val1 > val2) { val1 110 fs/ubifs/lprops.c if (val1 <= val2) val1 124 fs/ubifs/lprops.c if (val1 < val2) { val1 144 fs/ubifs/lprops.c if (val1 < val3) { val1 173 fs/ubifs/lprops.c int cpos, val1, val2; val1 182 fs/ubifs/lprops.c val1 = get_heap_comp_val(lprops, cat); val1 184 fs/ubifs/lprops.c if (val1 > val2) { val1 252 include/linux/hid-sensor-hub.h int val1, int val2); val1 254 include/linux/hid-sensor-hub.h int *val1, int *val2); val1 256 include/linux/hid-sensor-hub.h int val1, int val2); val1 258 include/linux/hid-sensor-hub.h int *val1, int *val2); val1 265 include/linux/hid-sensor-hub.h int *val0, int *val1); val1 259 include/linux/mtd/map.h #define map_word_equal(map, val1, val2) \ val1 263 include/linux/mtd/map.h if ((val1).x[i] != (val2).x[i]) { \ val1 270 include/linux/mtd/map.h #define map_word_and(map, val1, val2) \ val1 275 include/linux/mtd/map.h r.x[i] = (val1).x[i] & (val2).x[i]; \ val1 279 include/linux/mtd/map.h #define map_word_clr(map, val1, val2) \ val1 284 include/linux/mtd/map.h r.x[i] = (val1).x[i] & ~(val2).x[i]; \ val1 288 include/linux/mtd/map.h #define map_word_or(map, val1, val2) \ val1 293 include/linux/mtd/map.h r.x[i] = (val1).x[i] | (val2).x[i]; \ val1 297 include/linux/mtd/map.h #define map_word_andequal(map, val1, val2, val3) \ val1 301 include/linux/mtd/map.h if (((val1).x[i] & (val2).x[i]) != (val3).x[i]) { \ val1 309 include/linux/mtd/map.h #define map_word_bitsset(map, val1, val2) \ val1 313 include/linux/mtd/map.h if ((val1).x[i] & (val2).x[i]) { \ val1 221 kernel/trace/trace_events_hist.c u64 val1 = operand1->fn(operand1, elt, rbe, event); val1 224 kernel/trace/trace_events_hist.c return val1 + val2; val1 235 kernel/trace/trace_events_hist.c u64 val1 = operand1->fn(operand1, elt, rbe, event); val1 238 kernel/trace/trace_events_hist.c return val1 - val2; val1 1033 scripts/kconfig/expr.c tristate val1, val2; val1 1047 scripts/kconfig/expr.c val1 = expr_calc_value(e->left.expr); val1 1049 scripts/kconfig/expr.c return EXPR_AND(val1, val2); val1 1051 scripts/kconfig/expr.c val1 = expr_calc_value(e->left.expr); val1 1053 scripts/kconfig/expr.c return EXPR_OR(val1, val2); val1 1055 scripts/kconfig/expr.c val1 = expr_calc_value(e->left.expr); val1 1056 scripts/kconfig/expr.c return EXPR_NOT(val1); val1 268 security/selinux/ss/services.c u32 val1, val2; val1 297 security/selinux/ss/services.c val1 = scontext->user; val1 301 security/selinux/ss/services.c val1 = scontext->type; val1 305 security/selinux/ss/services.c val1 = scontext->role; val1 307 security/selinux/ss/services.c r1 = policydb->role_val_to_struct[val1 - 1]; val1 316 security/selinux/ss/services.c val1 - 1); val1 322 security/selinux/ss/services.c val1 - 1)); val1 381 security/selinux/ss/services.c s[++sp] = (val1 == val2); val1 384 security/selinux/ss/services.c s[++sp] = (val1 != val2); val1 405 security/selinux/ss/services.c val1 = c->user; val1 407 security/selinux/ss/services.c val1 = c->role; val1 409 security/selinux/ss/services.c val1 = c->type; val1 417 security/selinux/ss/services.c s[++sp] = ebitmap_get_bit(&e->names, val1 - 1); val1 420 security/selinux/ss/services.c s[++sp] = !ebitmap_get_bit(&e->names, val1 - 1); val1 98 sound/i2c/other/pt2258.c int val0, val1; val1 101 sound/i2c/other/pt2258.c val1 = 79 - ucontrol->value.integer.value[1]; val1 102 sound/i2c/other/pt2258.c if (val0 < 0 || val0 > 79 || val1 < 0 || val1 > 79) val1 104 sound/i2c/other/pt2258.c if (val0 == pt->volume[base] && val1 == pt->volume[base + 1]) val1 115 sound/i2c/other/pt2258.c pt->volume[base + 1] = val1; val1 116 sound/i2c/other/pt2258.c bytes[0] = pt2258_channel_code[2 * base + 2] | (val1 / 10); val1 117 sound/i2c/other/pt2258.c bytes[1] = pt2258_channel_code[2 * base + 3] | (val1 % 10); val1 99 sound/i2c/tea6330t.c unsigned char val1, val2; val1 101 sound/i2c/tea6330t.c val1 = (ucontrol->value.integer.value[0] % 44) + 0x14; val1 104 sound/i2c/tea6330t.c change = val1 != tea->mleft || val2 != tea->mright; val1 105 sound/i2c/tea6330t.c tea->mleft = val1; val1 150 sound/i2c/tea6330t.c unsigned char oval1, oval2, val1, val2; val1 152 sound/i2c/tea6330t.c val1 = ucontrol->value.integer.value[0] & 1; val1 157 sound/i2c/tea6330t.c change = val1 != oval1 || val2 != oval2; val1 158 sound/i2c/tea6330t.c tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = val1 ? tea->mleft : 0; val1 201 sound/i2c/tea6330t.c unsigned char val1; val1 203 sound/i2c/tea6330t.c val1 = ucontrol->value.integer.value[0] % (tea->max_bass + 1); val1 205 sound/i2c/tea6330t.c tea->bass = val1; val1 206 sound/i2c/tea6330t.c val1 += tea->equalizer ? 7 : 3; val1 207 sound/i2c/tea6330t.c change = tea->regs[TEA6330T_SADDR_BASS] != val1; val1 209 sound/i2c/tea6330t.c bytes[1] = tea->regs[TEA6330T_SADDR_BASS] = val1; val1 248 sound/i2c/tea6330t.c unsigned char val1; val1 250 sound/i2c/tea6330t.c val1 = ucontrol->value.integer.value[0] % (tea->max_treble + 1); val1 252 sound/i2c/tea6330t.c tea->treble = val1; val1 253 sound/i2c/tea6330t.c val1 += 3; val1 254 sound/i2c/tea6330t.c change = tea->regs[TEA6330T_SADDR_TREBLE] != val1; val1 256 sound/i2c/tea6330t.c bytes[1] = tea->regs[TEA6330T_SADDR_TREBLE] = val1; val1 879 sound/isa/ad1816a/ad1816a_lib.c unsigned short old_val, val1, val2; val1 881 sound/isa/ad1816a/ad1816a_lib.c val1 = ucontrol->value.integer.value[0] & mask; val1 884 sound/isa/ad1816a/ad1816a_lib.c val1 = mask - val1; val1 887 sound/isa/ad1816a/ad1816a_lib.c val1 <<= shift_left; val1 891 sound/isa/ad1816a/ad1816a_lib.c val1 = (old_val & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; val1 892 sound/isa/ad1816a/ad1816a_lib.c change = val1 != old_val; val1 893 sound/isa/ad1816a/ad1816a_lib.c snd_ad1816a_write(chip, reg, val1); val1 551 sound/isa/cs423x/cs4236_lib.c unsigned short val1, val2; val1 553 sound/isa/cs423x/cs4236_lib.c val1 = ucontrol->value.integer.value[0] & mask; val1 556 sound/isa/cs423x/cs4236_lib.c val1 = mask - val1; val1 559 sound/isa/cs423x/cs4236_lib.c val1 <<= shift_left; val1 563 sound/isa/cs423x/cs4236_lib.c val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1; val1 565 sound/isa/cs423x/cs4236_lib.c change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)]; val1 566 sound/isa/cs423x/cs4236_lib.c snd_cs4236_ext_out(chip, left_reg, val1); val1 569 sound/isa/cs423x/cs4236_lib.c val1 = (chip->eimage[CS4236_REG(left_reg)] & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; val1 570 sound/isa/cs423x/cs4236_lib.c change = val1 != chip->eimage[CS4236_REG(left_reg)]; val1 571 sound/isa/cs423x/cs4236_lib.c snd_cs4236_ext_out(chip, left_reg, val1); val1 627 sound/isa/cs423x/cs4236_lib.c unsigned short val1, val2; val1 629 sound/isa/cs423x/cs4236_lib.c val1 = ucontrol->value.integer.value[0] & mask; val1 632 sound/isa/cs423x/cs4236_lib.c val1 = mask - val1; val1 635 sound/isa/cs423x/cs4236_lib.c val1 <<= shift_left; val1 638 sound/isa/cs423x/cs4236_lib.c val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; val1 640 sound/isa/cs423x/cs4236_lib.c change = val1 != chip->image[left_reg] || val2 != chip->eimage[CS4236_REG(right_reg)]; val1 641 sound/isa/cs423x/cs4236_lib.c snd_wss_out(chip, left_reg, val1); val1 677 sound/isa/cs423x/cs4236_lib.c unsigned short val1, val2; val1 679 sound/isa/cs423x/cs4236_lib.c val1 = snd_cs4236_mixer_master_digital_invert_volume(ucontrol->value.integer.value[0] & 0x7f); val1 682 sound/isa/cs423x/cs4236_lib.c val1 = (chip->eimage[CS4236_REG(CS4236_LEFT_MASTER)] & ~0x7f) | val1; val1 684 sound/isa/cs423x/cs4236_lib.c change = val1 != chip->eimage[CS4236_REG(CS4236_LEFT_MASTER)] || val2 != chip->eimage[CS4236_REG(CS4236_RIGHT_MASTER)]; val1 685 sound/isa/cs423x/cs4236_lib.c snd_cs4236_ext_out(chip, CS4236_LEFT_MASTER, val1); val1 738 sound/isa/cs423x/cs4236_lib.c unsigned short val1, val2; val1 740 sound/isa/cs423x/cs4236_lib.c val1 = snd_cs4235_mixer_output_accu_set_volume(ucontrol->value.integer.value[0]); val1 743 sound/isa/cs423x/cs4236_lib.c val1 = (chip->image[CS4235_LEFT_MASTER] & ~(3 << 5)) | val1; val1 745 sound/isa/cs423x/cs4236_lib.c change = val1 != chip->image[CS4235_LEFT_MASTER] || val2 != chip->image[CS4235_RIGHT_MASTER]; val1 746 sound/isa/cs423x/cs4236_lib.c snd_wss_out(chip, CS4235_LEFT_MASTER, val1); val1 898 sound/isa/es1688/es1688_lib.c unsigned char val1, val2, oval1, oval2; val1 900 sound/isa/es1688/es1688_lib.c val1 = ucontrol->value.integer.value[0] & mask; val1 903 sound/isa/es1688/es1688_lib.c val1 = mask - val1; val1 906 sound/isa/es1688/es1688_lib.c val1 <<= shift_left; val1 918 sound/isa/es1688/es1688_lib.c val1 = (oval1 & ~(mask << shift_left)) | val1; val1 920 sound/isa/es1688/es1688_lib.c change = val1 != oval1 || val2 != oval2; val1 923 sound/isa/es1688/es1688_lib.c snd_es1688_mixer_write(chip, left_reg, val1); val1 925 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, left_reg, val1); val1 927 sound/isa/es1688/es1688_lib.c snd_es1688_mixer_write(chip, right_reg, val1); val1 929 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, right_reg, val1); val1 936 sound/isa/es1688/es1688_lib.c val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; val1 937 sound/isa/es1688/es1688_lib.c change = val1 != oval1; val1 940 sound/isa/es1688/es1688_lib.c snd_es1688_mixer_write(chip, left_reg, val1); val1 942 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, left_reg, val1); val1 1229 sound/isa/es18xx.c unsigned char val1, val2, mask1, mask2; val1 1231 sound/isa/es18xx.c val1 = ucontrol->value.integer.value[0] & mask; val1 1234 sound/isa/es18xx.c val1 = mask - val1; val1 1237 sound/isa/es18xx.c val1 <<= shift_left; val1 1243 sound/isa/es18xx.c if (snd_es18xx_reg_bits(chip, left_reg, mask1, val1) != val1) val1 1249 sound/isa/es18xx.c val1 | val2) != (val1 | val2)); val1 97 sound/isa/gus/gus_mixer.c unsigned char val1, val2, oval1, oval2; val1 99 sound/isa/gus/gus_mixer.c val1 = ucontrol->value.integer.value[0] & 127; val1 104 sound/isa/gus/gus_mixer.c change = val1 != oval1 || val2 != oval2; val1 105 sound/isa/gus/gus_mixer.c gus->gf1.ics_regs[addr][0] = val1; val1 109 sound/isa/gus/gus_mixer.c swap(val1, val2); val1 114 sound/isa/gus/gus_mixer.c outb((unsigned char) val1, GUSP(gus, MIXDATAPORT)); val1 776 sound/isa/gus/gus_pcm.c unsigned short val1, val2, vol; val1 780 sound/isa/gus/gus_pcm.c val1 = ucontrol->value.integer.value[0] & 127; val1 783 sound/isa/gus/gus_pcm.c change = val1 != gus->gf1.pcm_volume_level_left1 || val1 785 sound/isa/gus/gus_pcm.c gus->gf1.pcm_volume_level_left1 = val1; val1 787 sound/isa/gus/gus_pcm.c gus->gf1.pcm_volume_level_left = snd_gf1_lvol_to_gvol_raw(val1 << 9) << 4; val1 428 sound/isa/opl3sa2.c unsigned short val1, val2, oval1, oval2; val1 430 sound/isa/opl3sa2.c val1 = ucontrol->value.integer.value[0] & mask; val1 433 sound/isa/opl3sa2.c val1 = mask - val1; val1 436 sound/isa/opl3sa2.c val1 <<= shift_left; val1 442 sound/isa/opl3sa2.c val1 = (oval1 & ~(mask << shift_left)) | val1; val1 444 sound/isa/opl3sa2.c change = val1 != oval1 || val2 != oval2; val1 445 sound/isa/opl3sa2.c __snd_opl3sa2_write(chip, left_reg, val1); val1 449 sound/isa/opl3sa2.c val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; val1 450 sound/isa/opl3sa2.c change = val1 != oval1; val1 451 sound/isa/opl3sa2.c __snd_opl3sa2_write(chip, left_reg, val1); val1 842 sound/isa/sb/emu8000.c unsigned short val1; val1 844 sound/isa/sb/emu8000.c val1 = ucontrol->value.integer.value[0] % 12; val1 847 sound/isa/sb/emu8000.c change = val1 != emu->treble_level; val1 848 sound/isa/sb/emu8000.c emu->treble_level = val1; val1 850 sound/isa/sb/emu8000.c change = val1 != emu->bass_level; val1 851 sound/isa/sb/emu8000.c emu->bass_level = val1; val1 903 sound/isa/sb/emu8000.c unsigned short val1; val1 907 sound/isa/sb/emu8000.c val1 = ucontrol->value.integer.value[0] % SNDRV_EMU8000_CHORUS_NUMBERS; val1 908 sound/isa/sb/emu8000.c change = val1 != emu->chorus_mode; val1 909 sound/isa/sb/emu8000.c emu->chorus_mode = val1; val1 911 sound/isa/sb/emu8000.c val1 = ucontrol->value.integer.value[0] % SNDRV_EMU8000_REVERB_NUMBERS; val1 912 sound/isa/sb/emu8000.c change = val1 != emu->reverb_mode; val1 913 sound/isa/sb/emu8000.c emu->reverb_mode = val1; val1 970 sound/isa/sb/emu8000.c unsigned short val1; val1 972 sound/isa/sb/emu8000.c val1 = ucontrol->value.integer.value[0] % 256; val1 975 sound/isa/sb/emu8000.c change = val1 != emu->fm_chorus_depth; val1 976 sound/isa/sb/emu8000.c emu->fm_chorus_depth = val1; val1 978 sound/isa/sb/emu8000.c change = val1 != emu->fm_reverb_depth; val1 979 sound/isa/sb/emu8000.c emu->fm_reverb_depth = val1; val1 392 sound/isa/sb/sb_mixer.c unsigned char val1, val2; val1 395 sound/isa/sb/sb_mixer.c val1 = snd_sbmixer_read(sb, reg1); val1 398 sound/isa/sb/sb_mixer.c ucontrol->value.integer.value[0] = (val1 >> left_shift) & 0x01; val1 400 sound/isa/sb/sb_mixer.c ucontrol->value.integer.value[2] = (val1 >> right_shift) & 0x01; val1 414 sound/isa/sb/sb_mixer.c unsigned char val1, val2, oval1, oval2; val1 419 sound/isa/sb/sb_mixer.c val1 = oval1 & ~((1 << left_shift) | (1 << right_shift)); val1 421 sound/isa/sb/sb_mixer.c val1 |= (ucontrol->value.integer.value[0] & 1) << left_shift; val1 423 sound/isa/sb/sb_mixer.c val1 |= (ucontrol->value.integer.value[2] & 1) << right_shift; val1 425 sound/isa/sb/sb_mixer.c change = val1 != oval1 || val2 != oval2; val1 427 sound/isa/sb/sb_mixer.c snd_sbmixer_write(sb, reg1, val1); val1 2146 sound/isa/wss/wss_lib.c unsigned short val1, val2; val1 2148 sound/isa/wss/wss_lib.c val1 = ucontrol->value.integer.value[0] & mask; val1 2151 sound/isa/wss/wss_lib.c val1 = mask - val1; val1 2154 sound/isa/wss/wss_lib.c val1 <<= shift_left; val1 2158 sound/isa/wss/wss_lib.c val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; val1 2160 sound/isa/wss/wss_lib.c change = val1 != chip->image[left_reg] || val1 2162 sound/isa/wss/wss_lib.c snd_wss_out(chip, left_reg, val1); val1 2166 sound/isa/wss/wss_lib.c val1 = (chip->image[left_reg] & ~mask) | val1 | val2; val1 2167 sound/isa/wss/wss_lib.c change = val1 != chip->image[left_reg]; val1 2168 sound/isa/wss/wss_lib.c snd_wss_out(chip, left_reg, val1); val1 951 sound/pci/ac97/ac97_codec.c unsigned short val1, val2; val1 953 sound/pci/ac97/ac97_codec.c val1 = 31 - (ucontrol->value.integer.value[0] & 31); val1 955 sound/pci/ac97/ac97_codec.c return snd_ac97_ad18xx_update_pcm_bits(ac97, codec, 0x1f1f, (val1 << 8) | val2); val1 1131 sound/pci/ac97/ac97_codec.c unsigned short val, val1; val1 1136 sound/pci/ac97/ac97_codec.c val1 = snd_ac97_read(ac97, reg); val1 1137 sound/pci/ac97/ac97_codec.c if (val != val1) { val1 1173 sound/pci/ac97/ac97_codec.c unsigned short val, val1, mute_mask; val1 1182 sound/pci/ac97/ac97_codec.c val1 = val | AC97_MUTE_MASK_STEREO; val1 1183 sound/pci/ac97/ac97_codec.c snd_ac97_write(ac97, reg, val1); val1 1184 sound/pci/ac97/ac97_codec.c if (val1 == snd_ac97_read(ac97, reg)) val1 238 sound/pci/ak4531_codec.c int val1, val2; val1 241 sound/pci/ak4531_codec.c val1 = ak4531->regs[reg1] & ~((1 << left_shift) | (1 << right_shift)); val1 243 sound/pci/ak4531_codec.c val1 |= (ucontrol->value.integer.value[0] & 1) << left_shift; val1 245 sound/pci/ak4531_codec.c val1 |= (ucontrol->value.integer.value[2] & 1) << right_shift; val1 247 sound/pci/ak4531_codec.c change = val1 != ak4531->regs[reg1] || val2 != ak4531->regs[reg2]; val1 248 sound/pci/ak4531_codec.c ak4531->write(ak4531, reg1, ak4531->regs[reg1] = val1); val1 2122 sound/pci/cmipci.c int val1, val2; val1 2126 sound/pci/cmipci.c val1 = snd_cmipci_mixer_read(cm, reg.left_reg); val1 2129 sound/pci/cmipci.c ucontrol->value.integer.value[0] = (val1 >> reg.left_shift) & 1; val1 2131 sound/pci/cmipci.c ucontrol->value.integer.value[2] = (val1 >> reg.right_shift) & 1; val1 2142 sound/pci/cmipci.c int val1, val2, oval1, oval2; val1 2148 sound/pci/cmipci.c val1 = oval1 & ~((1 << reg.left_shift) | (1 << reg.right_shift)); val1 2150 sound/pci/cmipci.c val1 |= (ucontrol->value.integer.value[0] & 1) << reg.left_shift; val1 2152 sound/pci/cmipci.c val1 |= (ucontrol->value.integer.value[2] & 1) << reg.right_shift; val1 2154 sound/pci/cmipci.c change = val1 != oval1 || val2 != oval2; val1 2155 sound/pci/cmipci.c snd_cmipci_mixer_write(cm, reg.left_reg, val1); val1 2103 sound/pci/cs46xx/cs46xx_lib.c int val1 = snd_cs46xx_peekBA0(chip, BA0_EGPIODR); val1 2105 sound/pci/cs46xx/cs46xx_lib.c if (val1 & EGPIODR_GPOE0) val1 2120 sound/pci/cs46xx/cs46xx_lib.c int val1 = snd_cs46xx_peekBA0(chip, BA0_EGPIODR); val1 2126 sound/pci/cs46xx/cs46xx_lib.c EGPIODR_GPOE0 | val1); /* enable EGPIO0 output */ val1 2131 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_EGPIODR, val1 & ~EGPIODR_GPOE0); /* disable */ val1 2137 sound/pci/cs46xx/cs46xx_lib.c return (val1 != (int)snd_cs46xx_peekBA0(chip, BA0_EGPIODR)); val1 3487 sound/pci/cs46xx/cs46xx_lib.c int val1 = snd_cs46xx_peekBA0(chip, BA0_EGPIODR); val1 3495 sound/pci/cs46xx/cs46xx_lib.c EGPIODR_GPOE2 | val1); /* enable EGPIO2 output */ val1 3500 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_EGPIODR, val1 & ~EGPIODR_GPOE2); /* disable */ val1 173 sound/pci/emu10k1/emuproc.c unsigned int val, val1; val1 189 sound/pci/emu10k1/emuproc.c val1 = emu->audigy ? val1 200 sound/pci/emu10k1/emuproc.c val1 & 0x3f, val1 201 sound/pci/emu10k1/emuproc.c (val1 >> 8) & 0x3f, val1 202 sound/pci/emu10k1/emuproc.c (val1 >> 16) & 0x3f, val1 203 sound/pci/emu10k1/emuproc.c (val1 >> 24) & 0x3f); val1 1283 sound/pci/es1938.c unsigned char val1, val2, mask1, mask2; val1 1285 sound/pci/es1938.c val1 = ucontrol->value.integer.value[0] & mask; val1 1288 sound/pci/es1938.c val1 = mask - val1; val1 1291 sound/pci/es1938.c val1 <<= shift_left; val1 1297 sound/pci/es1938.c if (snd_es1938_reg_bits(chip, left_reg, mask1, val1) != val1) val1 1303 sound/pci/es1938.c val1 | val2) != (val1 | val2)); val1 939 sound/pci/fm801.c unsigned short val1, val2; val1 941 sound/pci/fm801.c val1 = ucontrol->value.integer.value[0] & mask; val1 944 sound/pci/fm801.c val1 = mask - val1; val1 949 sound/pci/fm801.c (val1 << shift_left ) | (val2 << shift_right)); val1 1518 sound/pci/hda/hda_codec.c u32 caps, val1, val2; val1 1523 sound/pci/hda/hda_codec.c val1 = -((caps & AC_AMPCAP_OFFSET) >> AC_AMPCAP_OFFSET_SHIFT); val1 1524 sound/pci/hda/hda_codec.c val1 += ofs; val1 1525 sound/pci/hda/hda_codec.c val1 = ((int)val1) * ((int)val2); val1 1530 sound/pci/hda/hda_codec.c tlv[SNDRV_CTL_TLVO_DB_SCALE_MIN] = val1; val1 210 sound/pci/ice1712/wm8766.c u16 val1, val2; val1 213 sound/pci/ice1712/wm8766.c wm->ctl[n].get(wm, &val1, &val2); val1 215 sound/pci/ice1712/wm8766.c val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1; val1 216 sound/pci/ice1712/wm8766.c val1 >>= __ffs(wm->ctl[n].mask1); val1 225 sound/pci/ice1712/wm8766.c val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); val1 229 sound/pci/ice1712/wm8766.c ucontrol->value.integer.value[0] = val1; val1 484 sound/pci/ice1712/wm8776.c u16 val1, val2; val1 487 sound/pci/ice1712/wm8776.c wm->ctl[n].get(wm, &val1, &val2); val1 489 sound/pci/ice1712/wm8776.c val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1; val1 490 sound/pci/ice1712/wm8776.c val1 >>= __ffs(wm->ctl[n].mask1); val1 499 sound/pci/ice1712/wm8776.c val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); val1 503 sound/pci/ice1712/wm8776.c ucontrol->value.integer.value[0] = val1; val1 547 sound/pci/lola/lola_mixer.c unsigned int val1, val2; val1 555 sound/pci/lola/lola_mixer.c val1 = -1 * (int)pin->amp_offset * (int)val2; val1 563 sound/pci/lola/lola_mixer.c if (put_user(val1, tlv + 2)) val1 1048 sound/pci/sonicvibes.c unsigned short val1, val2, oval1, oval2; val1 1050 sound/pci/sonicvibes.c val1 = ucontrol->value.integer.value[0] & mask; val1 1053 sound/pci/sonicvibes.c val1 = mask - val1; val1 1056 sound/pci/sonicvibes.c val1 <<= shift_left; val1 1061 sound/pci/sonicvibes.c val1 = (oval1 & ~(mask << shift_left)) | val1; val1 1063 sound/pci/sonicvibes.c change = val1 != oval1 || val2 != oval2; val1 1064 sound/pci/sonicvibes.c snd_sonicvibes_out1(sonic, left_reg, val1); val1 528 sound/pci/via82xx.c unsigned int val, val1; val1 534 sound/pci/via82xx.c val1 = val & (VIA_REG_AC97_BUSY | stat); val1 535 sound/pci/via82xx.c if (val1 == stat) val1 382 sound/pci/via82xx_modem.c unsigned int val, val1; val1 388 sound/pci/via82xx_modem.c val1 = val & (VIA_REG_AC97_BUSY | stat); val1 389 sound/pci/via82xx_modem.c if (val1 == stat) val1 1539 sound/pci/ymfpci/ymfpci_main.c unsigned int val1, val2, oval; val1 1543 sound/pci/ymfpci/ymfpci_main.c val1 = ucontrol->value.integer.value[0] & mask; val1 1545 sound/pci/ymfpci/ymfpci_main.c val1 <<= shift_left; val1 1549 sound/pci/ymfpci/ymfpci_main.c val1 = (oval & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; val1 1550 sound/pci/ymfpci/ymfpci_main.c change = val1 != oval; val1 1551 sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_writel(chip, reg, val1); val1 51 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c register u16 val1, val2; val1 54 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); val1 57 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; val1 71 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c register u16 val1, val2, val3; val1 74 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); val1 77 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; val1 92 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c register u16 val1, val2; val1 95 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); val1 98 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); val1 112 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c register u16 val1, val2, val3; val1 115 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); val1 118 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); val1 125 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c register u16 val1, val2; val1 129 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); val1 132 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c xval1 = (((val2 & 0xff) << 8) | (val1 << 16)) ^ xor; val1 141 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c register u16 val1, val2; val1 145 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); val1 148 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c xval1 = (((val2 & 0xff) << 8) | (val1 << 16)) ^ xor; val1 157 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c register u16 val1, val2, val3; val1 161 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); val1 164 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c xval1 = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; val1 177 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c register u16 val1, val2, val3; val1 181 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c val1 = inw(rdp_port); val1 184 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c xval1 = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; val1 2631 sound/soc/codecs/rt5665.c unsigned int val1, val2, mask1 = 0, mask2 = 0; val1 2637 sound/soc/codecs/rt5665.c val1 = RT5665_GP2_PIN_BCLK2 | RT5665_GP3_PIN_LRCK2 | val1 2643 sound/soc/codecs/rt5665.c val1 = RT5665_GP2_PIN_BCLK2 | RT5665_GP3_PIN_LRCK2 | val1 2651 sound/soc/codecs/rt5665.c val1 = RT5665_GP6_PIN_BCLK3 | RT5665_GP7_PIN_LRCK3 | val1 2661 sound/soc/codecs/rt5665.c mask1, val1); val1 398 sound/soc/sh/rcar/src.c u32 val0, val1; val1 402 sound/soc/sh/rcar/src.c val0 = val1 = OUF_SRC(rsnd_mod_id(mod)); val1 414 sound/soc/sh/rcar/src.c if ((status0 & val0) || (status1 & val1)) { val1 67 sound/soc/sh/rcar/ssiu.c u32 val1, val2; val1 97 sound/soc/sh/rcar/ssiu.c val1 = rsnd_mod_read(mod, SSI_MODE1); val1 112 sound/soc/sh/rcar/ssiu.c val1 |= (1 << 20); val1 115 sound/soc/sh/rcar/ssiu.c val1 |= (1 << 4); val1 123 sound/soc/sh/rcar/ssiu.c val1 |= is_clk_master ? 0x2 : 0x1; val1 127 sound/soc/sh/rcar/ssiu.c val1 |= is_clk_master ? 0x2 << 2 : val1 131 sound/soc/sh/rcar/ssiu.c val1 |= is_clk_master ? 0x2 << 16 : val1 137 sound/soc/sh/rcar/ssiu.c rsnd_mod_bset(mod, SSI_MODE1, 0x0013001f, val1); val1 965 sound/soc/soc-ops.c unsigned int val1 = (strobe ^ invert) ? mask : 0; val1 969 sound/soc/soc-ops.c err = snd_soc_component_update_bits(component, reg, mask, val1); val1 1458 sound/sparc/cs4231.c unsigned short val1, val2; val1 1460 sound/sparc/cs4231.c val1 = ucontrol->value.integer.value[0] & mask; val1 1463 sound/sparc/cs4231.c val1 = mask - val1; val1 1466 sound/sparc/cs4231.c val1 <<= shift_left; val1 1471 sound/sparc/cs4231.c val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; val1 1473 sound/sparc/cs4231.c change = val1 != chip->image[left_reg]; val1 1475 sound/sparc/cs4231.c snd_cs4231_out(chip, left_reg, val1); val1 512 sound/spi/at73c213.c unsigned short val1, val2; val1 514 sound/spi/at73c213.c val1 = ucontrol->value.integer.value[0] & mask; val1 517 sound/spi/at73c213.c val1 = mask - val1; val1 520 sound/spi/at73c213.c val1 <<= shift_left; val1 525 sound/spi/at73c213.c val1 = (chip->reg_image[left_reg] & ~(mask << shift_left)) | val1; val1 527 sound/spi/at73c213.c change = val1 != chip->reg_image[left_reg] val1 529 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, left_reg, val1); val1 247 tools/testing/selftests/powerpc/benchmarks/context_switch.c static long sys_futex(void *addr1, int op, int val1, struct timespec *timeout, val1 250 tools/testing/selftests/powerpc/benchmarks/context_switch.c return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); val1 27 tools/testing/selftests/proc/proc-uptime.h uint64_t val1, val2; val1 39 tools/testing/selftests/proc/proc-uptime.h val1 = xstrtoull(p, &p); val1 46 tools/testing/selftests/proc/proc-uptime.h *uptime = val1 * 100 + val2; val1 50 tools/testing/selftests/proc/proc-uptime.h val1 = xstrtoull(p, &p); val1 57 tools/testing/selftests/proc/proc-uptime.h *idle = val1 * 100 + val2;