sign_extend32 17 arch/arm64/kernel/probes/simulate-insn.c sign_extend32(((insn) & 0x3ffffff) << 2, 27) sign_extend32 20 arch/arm64/kernel/probes/simulate-insn.c sign_extend32(((insn >> 5) & 0x7ffff) << 2, 20) sign_extend32 23 arch/arm64/kernel/probes/simulate-insn.c sign_extend32(((insn >> 5) & 0x7ffff) << 2, 20) sign_extend32 26 arch/arm64/kernel/probes/simulate-insn.c sign_extend32(((insn >> 5) & 0x3fff) << 2, 15) sign_extend32 29 arch/arm64/kernel/probes/simulate-insn.c sign_extend32(((insn >> 5) & 0x7ffff) << 2, 20) sign_extend32 310 arch/openrisc/kernel/traps.c displacement = sign_extend32(((jmp) & 0x3ffffff) << 2, 27); sign_extend32 92 drivers/clk/imx/clk-pllv2.c mfn = sign_extend32(mfn, 26); sign_extend32 69 drivers/hwmon/ad7314.c data = sign_extend32(data, 9); sign_extend32 80 drivers/hwmon/ad7314.c data = sign_extend32(data, 13); sign_extend32 198 drivers/hwmon/adc128d818.c temp = sign_extend32(data->temp[index], 8); sign_extend32 92 drivers/hwmon/fam15h_power.c running_avg_capture = sign_extend32(running_avg_capture, 27); sign_extend32 95 drivers/hwmon/fam15h_power.c running_avg_capture = sign_extend32(running_avg_capture, 21); sign_extend32 186 drivers/hwmon/ina3221.c *val = sign_extend32(regval >> 3, 12); sign_extend32 235 drivers/hwmon/jc42.c reg = sign_extend32(reg, 12); sign_extend32 113 drivers/hwmon/ltc2990.c *result = sign_extend32(val, 12) * 1000 / 16; sign_extend32 118 drivers/hwmon/ltc2990.c *result = sign_extend32(val, 14) * 1942 / 100; sign_extend32 122 drivers/hwmon/ltc2990.c *result = sign_extend32(val, 14) * 30518 / (100 * 1000) + 2500; sign_extend32 129 drivers/hwmon/ltc2990.c *result = sign_extend32(val, 14) * 30518 / (100 * 1000); sign_extend32 375 drivers/hwmon/nct7904.c *val = sign_extend32(temp, 10) * 125; sign_extend32 330 drivers/hwmon/xgene-hwmon.c temp = sign_extend32(val, TEMP_NEGATIVE_BIT); sign_extend32 173 drivers/iio/accel/adis16201.c *val = sign_extend32(val16, bits - 1); sign_extend32 209 drivers/iio/accel/adis16209.c *val = sign_extend32(val16, bits - 1); sign_extend32 108 drivers/iio/accel/adxl345_core.c *val = sign_extend32(le16_to_cpu(accel), 12); sign_extend32 131 drivers/iio/accel/adxl345_core.c *val = sign_extend32(regval, 7) * 4; sign_extend32 661 drivers/iio/accel/adxl372.c *val = sign_extend32(ret >> chan->scan_type.shift, sign_extend32 481 drivers/iio/accel/bma180.c *val = sign_extend32(ret >> chan->scan_type.shift, sign_extend32 134 drivers/iio/accel/bma220_spi.c *val = sign_extend32(ret >> BMA220_DATA_SHIFT, 5); sign_extend32 531 drivers/iio/accel/bmc150-accel-core.c *val = sign_extend32(value, 7); sign_extend32 562 drivers/iio/accel/bmc150-accel-core.c *val = sign_extend32(le16_to_cpu(raw_val) >> chan->scan_type.shift, sign_extend32 83 drivers/iio/accel/dmard06.c *val = sign_extend32(ret, DMARD06_SIGN_BIT); sign_extend32 158 drivers/iio/accel/dmard10.c *val = sign_extend32(ret, 12); sign_extend32 770 drivers/iio/accel/kxcjk-1013.c *val = sign_extend32(ret >> 4, 11); sign_extend32 94 drivers/iio/accel/mc3230.c *val = sign_extend32(ret, 7); sign_extend32 129 drivers/iio/accel/mma7455_core.c *val = sign_extend32(le16_to_cpu(data), 9); sign_extend32 154 drivers/iio/accel/mma7660.c *val = sign_extend32(ret, 5); sign_extend32 503 drivers/iio/accel/mma8452.c *val = sign_extend32(be16_to_cpu( sign_extend32 527 drivers/iio/accel/mma8452.c *val = sign_extend32(ret, 7); sign_extend32 222 drivers/iio/accel/mxc4005.c *val = sign_extend32(ret >> chan->scan_type.shift, sign_extend32 66 drivers/iio/accel/mxc6255.c *val = sign_extend32(reg, 7); sign_extend32 355 drivers/iio/accel/stk8312.c *val = sign_extend32(ret, 7); sign_extend32 231 drivers/iio/accel/stk8ba50.c *val = sign_extend32(ret >> STK8BA50_DATA_SHIFT, 9); sign_extend32 164 drivers/iio/adc/ad7266.c *val = sign_extend32(*val, 11); sign_extend32 221 drivers/iio/adc/ad7291.c *val = sign_extend32(uval, 11); sign_extend32 364 drivers/iio/adc/ad7291.c *val = sign_extend32(ret, 11); sign_extend32 374 drivers/iio/adc/ad7291.c *val = sign_extend32(ret, 11); sign_extend32 210 drivers/iio/adc/ad7298.c *val = sign_extend32(be16_to_cpu(buf), 11); sign_extend32 1370 drivers/iio/adc/at91-sama5d2_adc.c *val = sign_extend32(*val, 11); sign_extend32 119 drivers/iio/adc/ep93xx_adc.c *value = sign_extend32(t, 15); sign_extend32 51 drivers/iio/adc/ltc2485.c *val = sign_extend32(be32_to_cpu(buf) >> 6, 24); sign_extend32 160 drivers/iio/adc/mcp320x.c *val = sign_extend32((adc->rx_buf[0] & 0x1f) << 8 sign_extend32 128 drivers/iio/adc/mcp3422.c *value = sign_extend32(temp, mcp3422_sign_extend[sample_rate]); sign_extend32 151 drivers/iio/adc/nau7802.c st->last_value = sign_extend32(st->last_value, 23); sign_extend32 236 drivers/iio/adc/ti-adc12138.c *value = sign_extend32(be16_to_cpu(data) >> 3, 12); sign_extend32 106 drivers/iio/adc/ti-adc161s626.c *val = sign_extend32(*val >> data->shift, chan->scan_type.realbits - 1); sign_extend32 471 drivers/iio/adc/ti-ads1015.c *val = sign_extend32(*val >> shift, 15 - shift); sign_extend32 605 drivers/iio/adc/twl6030-gpadc.c return sign_extend32(temp, 6); sign_extend32 883 drivers/iio/adc/xilinx-xadc-core.c *val = sign_extend32(val16, 11); sign_extend32 241 drivers/iio/dac/ad5764.c *val = sign_extend32(*val, 7); sign_extend32 248 drivers/iio/dac/ad5764.c *val = sign_extend32(*val, 5); sign_extend32 69 drivers/iio/gyro/adis16080.c *val = sign_extend32(be16_to_cpu(st->buf), 11); sign_extend32 324 drivers/iio/gyro/adis16136.c *val = sign_extend32(val32, 31); sign_extend32 242 drivers/iio/gyro/adis16260.c *val = sign_extend32(val16, 11); sign_extend32 359 drivers/iio/gyro/adxrs450.c *val = sign_extend32(t, 9); sign_extend32 508 drivers/iio/gyro/bmg160_core.c *val = sign_extend32(raw_val, 7); sign_extend32 539 drivers/iio/gyro/bmg160_core.c *val = sign_extend32(le16_to_cpu(raw_val), 15); sign_extend32 339 drivers/iio/gyro/fxas21002c_core.c *val = sign_extend32(temp, 7); sign_extend32 372 drivers/iio/gyro/fxas21002c_core.c *val = sign_extend32(be16_to_cpu(axis_be), 15); sign_extend32 357 drivers/iio/health/max30100.c *val = sign_extend32(*val, 11); sign_extend32 436 drivers/iio/health/max30102.c *val = sign_extend32(*val, 11); sign_extend32 414 drivers/iio/imu/adis.c *val = sign_extend32(uval, chan->scan_type.realbits - 1); sign_extend32 605 drivers/iio/imu/adis16400.c val16 = sign_extend32(val16, 11); sign_extend32 458 drivers/iio/imu/adis16480.c *bias = sign_extend32(val16, 15); sign_extend32 464 drivers/iio/imu/adis16480.c *bias = sign_extend32(val32, 31); sign_extend32 500 drivers/iio/imu/adis16480.c *scale = sign_extend32(val16, 15); sign_extend32 360 drivers/iio/imu/bmi160/bmi160_core.c *val = sign_extend32(le16_to_cpu(sample), 15); sign_extend32 817 drivers/iio/imu/kmx61.c *val = sign_extend32(ret >> chan->scan_type.shift, sign_extend32 636 drivers/iio/light/si1133.c *val = sign_extend32((buffer[0] << 16) | (buffer[1] << 8) | buffer[2], sign_extend32 727 drivers/iio/light/si1133.c sign_extend32((buffer[0] << 16) | (buffer[1] << 8) | buffer[2], sign_extend32 731 drivers/iio/light/si1133.c sign_extend32((buffer[3] << 16) | (buffer[4] << 8) | buffer[5], sign_extend32 734 drivers/iio/light/si1133.c ir = sign_extend32((buffer[6] << 16) | (buffer[7] << 8) | buffer[8], sign_extend32 190 drivers/iio/magnetometer/hmc5843_core.c *val = sign_extend32(be16_to_cpu(values[idx]), 15); sign_extend32 287 drivers/iio/magnetometer/mag3110.c *val = sign_extend32( sign_extend32 303 drivers/iio/magnetometer/mag3110.c *val = sign_extend32(ret, 7); sign_extend32 335 drivers/iio/magnetometer/mag3110.c *val = sign_extend32(ret >> 1, 14); sign_extend32 226 drivers/iio/magnetometer/rm3100-core.c *val = sign_extend32((buffer[0] << 16) | (buffer[1] << 8) | buffer[2], sign_extend32 215 drivers/iio/pressure/bmp280-core.c calib->H2 = sign_extend32(le16_to_cpu(tmp), 15); sign_extend32 229 drivers/iio/pressure/bmp280-core.c calib->H4 = sign_extend32(((be16_to_cpu(tmp) >> 4) & 0xff0) | sign_extend32 237 drivers/iio/pressure/bmp280-core.c calib->H5 = sign_extend32(((le16_to_cpu(tmp) >> 4) & 0xfff), 11); sign_extend32 244 drivers/iio/pressure/bmp280-core.c calib->H6 = sign_extend32(tmp, 7); sign_extend32 128 drivers/iio/pressure/dps310.c data->c0 = sign_extend32(c0, 11); sign_extend32 131 drivers/iio/pressure/dps310.c data->c1 = sign_extend32(c1, 11); sign_extend32 139 drivers/iio/pressure/dps310.c data->c00 = sign_extend32(c00, 19); sign_extend32 142 drivers/iio/pressure/dps310.c data->c10 = sign_extend32(c10, 19); sign_extend32 145 drivers/iio/pressure/dps310.c data->c01 = sign_extend32(c01, 15); sign_extend32 148 drivers/iio/pressure/dps310.c data->c11 = sign_extend32(c11, 15); sign_extend32 151 drivers/iio/pressure/dps310.c data->c20 = sign_extend32(c20, 15); sign_extend32 154 drivers/iio/pressure/dps310.c data->c21 = sign_extend32(c21, 15); sign_extend32 157 drivers/iio/pressure/dps310.c data->c30 = sign_extend32(c30, 15); sign_extend32 327 drivers/iio/pressure/dps310.c data->pressure_raw = sign_extend32(raw, 23); sign_extend32 346 drivers/iio/pressure/dps310.c data->temp_raw = sign_extend32(raw, 23); sign_extend32 245 drivers/iio/pressure/hp206c.c *val = sign_extend32(ret, 19); sign_extend32 114 drivers/iio/pressure/mpl3115.c *val = sign_extend32(be32_to_cpu(tmp) >> 20, 11); sign_extend32 46 drivers/iio/pressure/t5403.c #define T5403_C(i) sign_extend32(T5403_C_U16(i), 15) sign_extend32 93 drivers/iio/resolver/ad2s1200.c *val = sign_extend32(be16_to_cpup(&st->rx) >> 4, 11); sign_extend32 144 drivers/iio/temperature/maxim_thermocouple.c *val = sign_extend32(*val >> shift, chan->scan_type.realbits - 1); sign_extend32 88 drivers/iio/temperature/tmp006.c *val = sign_extend32(ret, 15); sign_extend32 94 drivers/iio/temperature/tmp006.c *val = sign_extend32(ret, 15) >> TMP006_TAMBIENT_SHIFT; sign_extend32 126 drivers/iio/temperature/tmp007.c *val = sign_extend32(ret, 15) >> TMP007_TEMP_SHIFT; sign_extend32 315 drivers/iio/temperature/tmp007.c *val = sign_extend32(ret, 15) >> 7; sign_extend32 322 drivers/input/misc/bma150.c x = sign_extend32(x, 9); sign_extend32 323 drivers/input/misc/bma150.c y = sign_extend32(y, 9); sign_extend32 324 drivers/input/misc/bma150.c z = sign_extend32(z, 9); sign_extend32 62 drivers/input/mouse/logips2pp.c -sign_extend32(packet[2], 3)); sign_extend32 82 drivers/input/mouse/logips2pp.c -sign_extend32(packet[2] >> 4, 3)); sign_extend32 171 drivers/input/mouse/psmouse-base.c -sign_extend32(packet[3], 5)); sign_extend32 175 drivers/input/mouse/psmouse-base.c -sign_extend32(packet[3], 5)); sign_extend32 179 drivers/input/mouse/psmouse-base.c wheel = sign_extend32(packet[3], 3); sign_extend32 684 drivers/input/tablet/gtco.c sign_extend32(device->buffer[6], 6)); sign_extend32 687 drivers/input/tablet/gtco.c sign_extend32(device->buffer[7], 6)); sign_extend32 184 drivers/media/dvb-frontends/cxd2820r_c.c utmp = 511 - sign_extend32(utmp, 9); sign_extend32 1165 drivers/media/dvb-frontends/cxd2841er.c cfrl_ctrlval = sign_extend32((((u32)data[0] & 0x1F) << 16) | sign_extend32 1202 drivers/media/dvb-frontends/cxd2841er.c *offset = -1 * sign_extend32( sign_extend32 1246 drivers/media/dvb-frontends/cxd2841er.c *offset = -1 * sign_extend32( sign_extend32 1272 drivers/media/dvb-frontends/cxd2841er.c *offset = -1 * sign_extend32( sign_extend32 1312 drivers/media/dvb-frontends/cxd2841er.c *offset = div_s64(41000LL * sign_extend32((((u32)data[0] & 0x3f) << 8) sign_extend32 418 drivers/media/dvb-frontends/rtl2830.c stmp = sign_extend32(stmp, 13); sign_extend32 1481 drivers/media/dvb-frontends/stb0899_algo.c offsetfreq = sign_extend32(offsetfreq, 29); sign_extend32 1528 drivers/net/wireless/ath/ath5k/phy.c return sign_extend32(AR5K_REG_MS(val, AR5K_PHY_NF_MINCCA_PWR), 8); sign_extend32 1123 drivers/net/wireless/ath/ath9k/ar5008_phy.c nfarray[0] = sign_extend32(nf, 8); sign_extend32 1126 drivers/net/wireless/ath/ath9k/ar5008_phy.c nfarray[1] = sign_extend32(nf, 8); sign_extend32 1129 drivers/net/wireless/ath/ath9k/ar5008_phy.c nfarray[2] = sign_extend32(nf, 8); sign_extend32 1135 drivers/net/wireless/ath/ath9k/ar5008_phy.c nfarray[3] = sign_extend32(nf, 8); sign_extend32 1138 drivers/net/wireless/ath/ath9k/ar5008_phy.c nfarray[4] = sign_extend32(nf, 8); sign_extend32 1141 drivers/net/wireless/ath/ath9k/ar5008_phy.c nfarray[5] = sign_extend32(nf, 8); sign_extend32 337 drivers/net/wireless/ath/ath9k/ar9002_phy.c nfarray[0] = sign_extend32(nf, 8); sign_extend32 341 drivers/net/wireless/ath/ath9k/ar9002_phy.c nfarray[3] = sign_extend32(nf, 8); sign_extend32 347 drivers/net/wireless/ath/ath9k/ar9002_phy.c nfarray[1] = sign_extend32(nf, 8); sign_extend32 351 drivers/net/wireless/ath/ath9k/ar9002_phy.c nfarray[4] = sign_extend32(nf, 8); sign_extend32 1363 drivers/net/wireless/ath/ath9k/ar9003_phy.c nfarray[i] = sign_extend32(nf, 8); sign_extend32 1370 drivers/net/wireless/ath/ath9k/ar9003_phy.c nfarray[ext_idx] = sign_extend32(nf, 8); sign_extend32 1542 drivers/net/wireless/ath/carl9170/phy.c ar->noise[i] = sign_extend32(GET_VAL( sign_extend32 1545 drivers/net/wireless/ath/carl9170/phy.c ar->noise[i + 2] = sign_extend32(GET_VAL( sign_extend32 1593 drivers/net/wireless/intel/iwlegacy/4965.c vt = sign_extend32(R4, 23); sign_extend32 1595 drivers/net/wireless/intel/iwlegacy/4965.c vt = sign_extend32(le32_to_cpu sign_extend32 124 drivers/phy/rockchip/phy-rockchip-typec.c sign_extend32((x) >> CMN_CALIB_CODE_OFFSET, CMN_CALIB_CODE_WIDTH) sign_extend32 313 drivers/power/supply/cpcap-battery.c ccd->sample = sign_extend32(24, ccd->sample); sign_extend32 324 drivers/power/supply/cpcap-battery.c ccd->offset = sign_extend32(ccd->offset, 9); sign_extend32 102 drivers/power/supply/max17042_battery.c *temp = sign_extend32(data, 15); sign_extend32 161 drivers/power/supply/max17042_battery.c avg_current = sign_extend32(data, 15); sign_extend32 365 drivers/power/supply/max17042_battery.c val->intval = sign_extend32(data & 0xff, 7) * 10; sign_extend32 372 drivers/power/supply/max17042_battery.c val->intval = sign_extend32(data >> 8, 7) * 10; sign_extend32 394 drivers/power/supply/max17042_battery.c val->intval = sign_extend32(data, 15); sign_extend32 406 drivers/power/supply/max17042_battery.c val->intval = sign_extend32(data, 15); sign_extend32 130 drivers/rtc/rtc-pcf2123.c val = sign_extend32((reg & OFFSET_MASK), OFFSET_SIGN_BIT); sign_extend32 245 drivers/rtc/rtc-pcf85063.c val = sign_extend32(reg & ~PCF85063_OFFSET_MODE, sign_extend32 382 drivers/rtc/rtc-rv3028.c steps = sign_extend32(value << 1, 8); sign_extend32 365 drivers/rtc/rtc-x1205.c atr = sign_extend32(atr, 5); sign_extend32 207 drivers/staging/iio/accel/adis16203.c *val = sign_extend32(val16, 13); sign_extend32 292 drivers/staging/iio/accel/adis16240.c *val = sign_extend32(val16, 9); sign_extend32 299 drivers/staging/iio/accel/adis16240.c *val = sign_extend32(val16, 9); sign_extend32 526 drivers/staging/iio/impedance-analyzer/ad5933.c *val = sign_extend32(be16_to_cpu(dat), 13); sign_extend32 382 drivers/thermal/armada_thermal.c sample = sign_extend32(reg, fls(priv->data->temp_mask) - 1); sign_extend32 120 drivers/thermal/qcom/tsens-common.c *temp = sign_extend32(last_temp, fls(mask) - 1) * 100; sign_extend32 91 drivers/thermal/tegra/soctherm-fuse.c shifted_ft = sign_extend32(shifted_ft, 4); sign_extend32 99 drivers/thermal/tegra/soctherm-fuse.c shifted_cp = sign_extend32(val, 5); sign_extend32 126 drivers/thermal/tegra/soctherm-fuse.c actual_tsensor_cp = (shared->base_cp * 64) + sign_extend32(val, 12); sign_extend32 129 drivers/thermal/tegra/soctherm-fuse.c actual_tsensor_ft = (shared->base_ft * 32) + sign_extend32(val, 12); sign_extend32 1379 drivers/thermal/tegra/soctherm.c v = sign_extend32(state, ts->soc->bptt - 1); sign_extend32 1385 drivers/thermal/tegra/soctherm.c v = sign_extend32(state, ts->soc->bptt - 1); sign_extend32 202 drivers/thermal/uniphier_thermal.c *out_temp = sign_extend32(temp, TMOD_WIDTH - 1) * 1000; sign_extend32 1724 kernel/futex.c int oparg = sign_extend32((encoded_op & 0x00fff000) >> 12, 11); sign_extend32 1725 kernel/futex.c int cmparg = sign_extend32(encoded_op & 0x00000fff, 11); sign_extend32 3967 sound/soc/codecs/wm_adsp.c read_index = sign_extend32(next_read_index, 23); sign_extend32 3982 sound/soc/codecs/wm_adsp.c write_index = sign_extend32(next_write_index, 23);