/Linux-v4.19/drivers/thermal/tegra/ |
D | soctherm-fuse.c | 100 shifted_ft = sign_extend32(shifted_ft, 4); in tegra_calc_shared_calib() 108 shifted_cp = sign_extend32(val, 5); in tegra_calc_shared_calib() 135 actual_tsensor_cp = (shared->base_cp * 64) + sign_extend32(val, 12); in tegra_calc_tsensor_calib() 138 actual_tsensor_ft = (shared->base_ft * 32) + sign_extend32(val, 12); in tegra_calc_tsensor_calib()
|
/Linux-v4.19/arch/arm64/kernel/probes/ |
D | simulate-insn.c | 25 sign_extend32(((insn) & 0x3ffffff) << 2, 27) 28 sign_extend32(((insn >> 5) & 0x7ffff) << 2, 20) 31 sign_extend32(((insn >> 5) & 0x7ffff) << 2, 20) 34 sign_extend32(((insn >> 5) & 0x3fff) << 2, 15) 37 sign_extend32(((insn >> 5) & 0x7ffff) << 2, 20)
|
/Linux-v4.19/drivers/hwmon/ |
D | ltc2990.c | 114 *result = sign_extend32(val, 12) * 1000 / 16; in ltc2990_get_value() 119 *result = sign_extend32(val, 14) * 1942 / 100; in ltc2990_get_value() 123 *result = sign_extend32(val, 14) * 30518 / (100 * 1000) + 2500; in ltc2990_get_value() 130 *result = sign_extend32(val, 14) * 30518 / (100 * 1000); in ltc2990_get_value()
|
D | ad7314.c | 70 data = sign_extend32(data, 9); in ad7314_show_temperature() 81 data = sign_extend32(data, 13); in ad7314_show_temperature()
|
D | fam15h_power.c | 104 running_avg_capture = sign_extend32(running_avg_capture, 27); in power1_input_show() 107 running_avg_capture = sign_extend32(running_avg_capture, 21); in power1_input_show()
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | ar9002_phy.c | 337 nfarray[0] = sign_extend32(nf, 8); in ar9002_hw_do_getnf() 341 nfarray[3] = sign_extend32(nf, 8); in ar9002_hw_do_getnf() 347 nfarray[1] = sign_extend32(nf, 8); in ar9002_hw_do_getnf() 351 nfarray[4] = sign_extend32(nf, 8); in ar9002_hw_do_getnf()
|
D | ar5008_phy.c | 1127 nfarray[0] = sign_extend32(nf, 8); in ar5008_hw_do_getnf() 1130 nfarray[1] = sign_extend32(nf, 8); in ar5008_hw_do_getnf() 1133 nfarray[2] = sign_extend32(nf, 8); in ar5008_hw_do_getnf() 1139 nfarray[3] = sign_extend32(nf, 8); in ar5008_hw_do_getnf() 1142 nfarray[4] = sign_extend32(nf, 8); in ar5008_hw_do_getnf() 1145 nfarray[5] = sign_extend32(nf, 8); in ar5008_hw_do_getnf()
|
/Linux-v4.19/drivers/iio/temperature/ |
D | tmp006.c | 91 *val = sign_extend32(ret, 15); in tmp006_read_raw() 97 *val = sign_extend32(ret, 15) >> TMP006_TAMBIENT_SHIFT; in tmp006_read_raw()
|
D | tmp007.c | 130 *val = sign_extend32(ret, 15) >> TMP007_TEMP_SHIFT; in tmp007_read_raw() 319 *val = sign_extend32(ret, 15) >> 7; in tmp007_read_thresh()
|
/Linux-v4.19/drivers/iio/accel/ |
D | adxl345_core.c | 111 *val = sign_extend32(le16_to_cpu(accel), 12); in adxl345_read_raw() 134 *val = sign_extend32(regval, 7) * 4; in adxl345_read_raw()
|
D | mxc6255.c | 69 *val = sign_extend32(reg, 7); in mxc6255_read_raw()
|
D | mc3230.c | 98 *val = sign_extend32(ret, 7); in mc3230_read_raw()
|
D | dmard10.c | 161 *val = sign_extend32(ret, 12); in dmard10_read_raw()
|
/Linux-v4.19/drivers/iio/magnetometer/ |
D | mag3110.c | 287 *val = sign_extend32( in mag3110_read_raw() 303 *val = sign_extend32(ret, 7); in mag3110_read_raw() 335 *val = sign_extend32(ret >> 1, 14); in mag3110_read_raw()
|
/Linux-v4.19/drivers/iio/adc/ |
D | ad7291.c | 222 *val = sign_extend32(uval, 11); in ad7291_read_event_value() 365 *val = sign_extend32(ret, 11); in ad7291_read_raw() 375 *val = sign_extend32(ret, 11); in ad7291_read_raw()
|
D | ltc2485.c | 54 *val = sign_extend32(be32_to_cpu(buf) >> 6, 24); in ltc2485_read()
|
D | ep93xx_adc.c | 122 *value = sign_extend32(t, 15); in ep93xx_read_raw()
|
/Linux-v4.19/drivers/thermal/qcom/ |
D | tsens-v2.c | 59 *temp = sign_extend32(last_temp, fls(LAST_TEMP_MASK) - 1) * 100; in get_temp_tsens_v2()
|
/Linux-v4.19/drivers/staging/iio/accel/ |
D | adis16240.c | 293 *val = sign_extend32(val16, 9); in adis16240_read_raw() 300 *val = sign_extend32(val16, 9); in adis16240_read_raw()
|
/Linux-v4.19/drivers/power/supply/ |
D | max17042_battery.c | 116 *temp = sign_extend32(data, 15); in max17042_get_temperature() 175 avg_current = sign_extend32(data, 15); in max17042_get_status() 379 val->intval = sign_extend32(data & 0xff, 7) * 10; in max17042_get_property() 386 val->intval = sign_extend32(data >> 8, 7) * 10; in max17042_get_property() 408 val->intval = sign_extend32(data, 15); in max17042_get_property() 420 val->intval = sign_extend32(data, 15); in max17042_get_property()
|
/Linux-v4.19/drivers/input/misc/ |
D | bma150.c | 335 x = sign_extend32(x, 9); in bma150_report_xyz() 336 y = sign_extend32(y, 9); in bma150_report_xyz() 337 z = sign_extend32(z, 9); in bma150_report_xyz()
|
/Linux-v4.19/drivers/iio/dac/ |
D | ad5764.c | 242 *val = sign_extend32(*val, 7); in ad5764_read_raw() 249 *val = sign_extend32(*val, 5); in ad5764_read_raw()
|
/Linux-v4.19/drivers/input/mouse/ |
D | logips2pp.c | 65 -sign_extend32(packet[2], 3)); in ps2pp_process_byte() 85 -sign_extend32(packet[2] >> 4, 3)); in ps2pp_process_byte()
|
/Linux-v4.19/drivers/iio/resolver/ |
D | ad2s1200.c | 96 *val = sign_extend32(be16_to_cpup(&st->rx) >> 4, 11); in ad2s1200_read_raw()
|
/Linux-v4.19/drivers/iio/gyro/ |
D | adis16080.c | 70 *val = sign_extend32(be16_to_cpu(st->buf), 11); in adis16080_read_sample()
|