/linux-6.1.9/arch/csky/kernel/probes/ |
D | simulate-insn.c | 72 addr + sign_extend32((opcode & 0x3ff) << 1, 9)); in simulate_br16() 79 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_br32() 87 addr + sign_extend32((opcode & 0x3ff) << 1, 9)); in simulate_bt16() 97 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_bt32() 107 addr + sign_extend32((opcode & 0x3ff) << 1, 9)); in simulate_bf16() 117 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_bf32() 254 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_bez32() 268 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_bnez32() 285 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_bnezad32() 302 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); in simulate_bhsz32() [all …]
|
/linux-6.1.9/drivers/thermal/tegra/ |
D | soctherm-fuse.c | 91 shifted_ft = sign_extend32(shifted_ft, 4); in tegra_calc_shared_calib() 99 shifted_cp = sign_extend32(val, 5); in tegra_calc_shared_calib() 126 actual_tsensor_cp = (shared->base_cp * 64) + sign_extend32(val, 12); in tegra_calc_tsensor_calib() 129 actual_tsensor_ft = (shared->base_ft * 32) + sign_extend32(val, 12); in tegra_calc_tsensor_calib()
|
/linux-6.1.9/arch/arm64/kernel/probes/ |
D | simulate-insn.c | 18 sign_extend32(((insn) & 0x3ffffff) << 2, 27) 21 sign_extend32(((insn >> 5) & 0x7ffff) << 2, 20) 24 sign_extend32(((insn >> 5) & 0x7ffff) << 2, 20) 27 sign_extend32(((insn >> 5) & 0x3fff) << 2, 15) 30 sign_extend32(((insn >> 5) & 0x7ffff) << 2, 20)
|
/linux-6.1.9/drivers/iio/pressure/ |
D | dps310.c | 129 data->c0 = sign_extend32(c0, 11); in dps310_get_coefs() 132 data->c1 = sign_extend32(c1, 11); in dps310_get_coefs() 140 data->c00 = sign_extend32(c00, 19); in dps310_get_coefs() 143 data->c10 = sign_extend32(c10, 19); in dps310_get_coefs() 146 data->c01 = sign_extend32(c01, 15); in dps310_get_coefs() 149 data->c11 = sign_extend32(c11, 15); in dps310_get_coefs() 152 data->c20 = sign_extend32(c20, 15); in dps310_get_coefs() 155 data->c21 = sign_extend32(c21, 15); in dps310_get_coefs() 158 data->c30 = sign_extend32(c30, 15); in dps310_get_coefs() 480 data->pressure_raw = sign_extend32(raw, 23); in dps310_read_pres_raw() [all …]
|
/linux-6.1.9/arch/riscv/kernel/probes/ |
D | simulate-insn.c | 56 instruction_pointer_set(regs, addr + sign_extend32((imm), 20)); in simulate_jal() 82 instruction_pointer_set(regs, (base_addr + sign_extend32((imm), 11))&~1); in simulate_jalr() 137 sign_extend32((branch_imm(opcode)), 12)
|
/linux-6.1.9/drivers/hwmon/ |
D | ltc2990.c | 113 *result = sign_extend32(val, 12) * 1000 / 16; in ltc2990_get_value() 118 *result = sign_extend32(val, 14) * 1942 / 100; in ltc2990_get_value() 122 *result = sign_extend32(val, 14) * 30518 / (100 * 1000) + 2500; in ltc2990_get_value() 129 *result = sign_extend32(val, 14) * 30518 / (100 * 1000); in ltc2990_get_value()
|
D | ad7314.c | 69 data = sign_extend32(data, 9); in ad7314_temperature_show() 80 data = sign_extend32(data, 13); in ad7314_temperature_show()
|
D | tmp513.c | 198 *val = sign_extend32(regval, 17 - tmp51x_get_pga_shift(data)); in tmp51x_get_value() 214 *val = sign_extend32(regval, 16) * data->curr_lsb_ua; in tmp51x_get_value() 226 *val = sign_extend32(regval, 16) >> TMP51X_TEMP_SHIFT; in tmp51x_get_value()
|
/linux-6.1.9/drivers/iio/temperature/ |
D | tmp117.c | 55 *val = sign_extend32(ret, 15); in tmp117_read_raw() 63 *val = sign_extend32(ret, 15); in tmp117_read_raw()
|
D | tmp006.c | 88 *val = sign_extend32(ret, 15); in tmp006_read_raw() 94 *val = sign_extend32(ret, 15) >> TMP006_TAMBIENT_SHIFT; in tmp006_read_raw()
|
/linux-6.1.9/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 | 1143 nfarray[0] = sign_extend32(nf, 8); in ar5008_hw_do_getnf() 1146 nfarray[1] = sign_extend32(nf, 8); in ar5008_hw_do_getnf() 1149 nfarray[2] = sign_extend32(nf, 8); in ar5008_hw_do_getnf() 1155 nfarray[3] = sign_extend32(nf, 8); in ar5008_hw_do_getnf() 1158 nfarray[4] = sign_extend32(nf, 8); in ar5008_hw_do_getnf() 1161 nfarray[5] = sign_extend32(nf, 8); in ar5008_hw_do_getnf()
|
/linux-6.1.9/drivers/iio/accel/ |
D | adxl345_core.c | 109 *val = sign_extend32(le16_to_cpu(accel), 12); in adxl345_read_raw() 132 *val = sign_extend32(regval, 7) * 4; in adxl345_read_raw()
|
D | adxl313_core.c | 265 *val = sign_extend32(ret, chan->scan_type.realbits - 1); in adxl313_read_raw() 283 *val = sign_extend32(regval, 7) * 4; in adxl313_read_raw()
|
/linux-6.1.9/drivers/iio/adc/ |
D | ad7291.c | 219 *val = sign_extend32(uval, 11); in ad7291_read_event_value() 362 *val = sign_extend32(ret, 11); in ad7291_read_raw() 372 *val = sign_extend32(ret, 11); in ad7291_read_raw()
|
D | ltc2485.c | 51 *val = sign_extend32(be32_to_cpu(buf) >> 6, 24); in ltc2485_read()
|
/linux-6.1.9/drivers/input/misc/ |
D | bma150.c | 320 x = sign_extend32(x, 9); in bma150_report_xyz() 321 y = sign_extend32(y, 9); in bma150_report_xyz() 322 z = sign_extend32(z, 9); in bma150_report_xyz()
|
/linux-6.1.9/drivers/staging/iio/accel/ |
D | adis16240.c | 285 *val = sign_extend32(val16, 9); in adis16240_read_raw() 292 *val = sign_extend32(val16, 9); in adis16240_read_raw()
|
/linux-6.1.9/drivers/hwmon/pmbus/ |
D | max16601.c | 127 if (sign_extend32(ret, 10) > in max16601_read_word() 128 sign_extend32(data->iout_avg_pkg, 10)) in max16601_read_word()
|
/linux-6.1.9/drivers/power/supply/ |
D | cpcap-battery.c | 329 ccd->sample = sign_extend32(24, ccd->sample); in cpcap_battery_read_accumulated() 340 ccd->offset = sign_extend32(ccd->offset, 9); in cpcap_battery_read_accumulated() 344 ccd->integrator = sign_extend32(buf[6], 13); in cpcap_battery_read_accumulated() 452 acc = sign_extend32(value, 13); in cpcap_battery_cc_get_avg_current() 464 offset = sign_extend32(value, 9); in cpcap_battery_cc_get_avg_current()
|
/linux-6.1.9/drivers/iio/magnetometer/ |
D | mag3110.c | 293 *val = sign_extend32( in mag3110_read_raw() 310 *val = sign_extend32(ret, in mag3110_read_raw() 343 *val = sign_extend32(ret >> 1, 14); in mag3110_read_raw()
|
/linux-6.1.9/drivers/hwmon/peci/ |
D | cputemp.c | 104 tcontrol_margin = sign_extend32(tcontrol_margin, 7) * MILLIDEGREE_PER_DEGREE; in update_temp_target() 166 return sign_extend32(val, 15) * MILLIDEGREE_PER_DEGREE / 64; in dts_ten_dot_six_to_millidegree() 175 return sign_extend32(val, 15) * MILLIDEGREE_PER_DEGREE / 256; in dts_eight_dot_eight_to_millidegree()
|
/linux-6.1.9/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-6.1.9/drivers/input/mouse/ |
D | logips2pp.c | 62 -sign_extend32(packet[2], 3)); in ps2pp_process_byte() 82 -sign_extend32(packet[2] >> 4, 3)); in ps2pp_process_byte()
|
/linux-6.1.9/drivers/iio/light/ |
D | si1133.c | 636 *val = sign_extend32(get_unaligned_be24(&buffer[0]), 23); in si1133_measure() 725 high_vis = sign_extend32(get_unaligned_be24(&buffer[0]), 23); in si1133_get_lux() 727 low_vis = sign_extend32(get_unaligned_be24(&buffer[3]), 23); in si1133_get_lux() 729 ir = sign_extend32(get_unaligned_be24(&buffer[6]), 23); in si1133_get_lux()
|