Home
last modified time | relevance | path

Searched +full:4096 +full:mv (Results 1 – 25 of 52) sorted by relevance

123

/openbmc/qemu/common-user/host/riscv/
H A Dsafe-syscall.inc.S41 mv t0, a0 /* signal_pending pointer */
42 mv t1, a1 /* syscall number */
43 mv a0, a2 /* syscall arguments */
44 mv a1, a3
45 mv a2, a4
46 mv a3, a5
47 mv a4, a6
48 mv a5, a7
49 mv a7, t1
66 li t2, -4096
/openbmc/u-boot/board/freescale/common/
H A Dvid.c26 * return a value in mV
120 /* LSB = 4mv */ in read_voltage_from_INA220()
153 /* Resolution is 1/128V. We scale up here to get 1/128mV in read_voltage_from_IR()
159 /* Scale down to the real mV as IR resolution is 1/128V, rounding up */ in read_voltage_from_IR()
197 /* Scale down to the real mV as LTC resolution is 1/4096V,rounding up */ in read_voltage_from_LTC()
198 vcode = DIV_ROUND_UP(vcode * 1000, 4096); in read_voltage_from_LTC()
310 debug("VID: Current voltage is %d mV\n", vdd_last); in set_voltage_to_IR()
323 /* Scale up to the LTC resolution is 1/4096V */ in set_voltage_to_LTC()
324 vdd = (vdd * 4096) / 1000; in set_voltage_to_LTC()
550 vdd_target = vdd_override * 10; /* convert to 1/10 mV */ in adjust_vdd()
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dti-lmp92064.c177 * shunt_voltage_lsb (nV) = 81920000 / 4096 = 20000 in lmp92064_read_raw()
183 * processed (mV) = raw * voltage_lsb (mV) in lmp92064_read_raw()
184 * voltage_lsb (mV) = 2048 / 4096 in lmp92064_read_raw()
187 *val2 = 4096; in lmp92064_read_raw()
H A Dsun20i-gpadc-iio.c120 /* value in mv = 1800mV / 4096 raw */ in sun20i_gpadc_read_raw()
H A Dmt6577_auxadc.c92 #define AUXADC_PRECISE 4096 /* 12 bits */
204 /* Convert adc raw data to voltage: 0 - 1500 mV */ in mt6577_auxadc_read_raw()
H A Dad7949.c235 *val = 4096; in ad7949_spi_read_raw()
243 /* convert value back to mV */ in ad7949_spi_read_raw()
/openbmc/u-boot/board/intel/edison/
H A Dconfig.mk7 # Add 4096 bytes of zeroes to u-boot.bin
11 mv $@ $^
/openbmc/linux/drivers/hwmon/
H A Dadm1177.c89 * ((105.84mV / 4096) x raw) / senseResistor(ohm) in adm1177_read()
92 4096 * st->r_sense_uohm); in adm1177_read()
107 * (V_fullscale / 4096) * raw in adm1177_read()
114 *val = DIV_ROUND_CLOSEST(dummy, 4096); in adm1177_read()
H A Dads7828.c31 #define ADS7828_INT_VREF_MV 2500 /* Internal vref is 2.5V, 2500mV */
152 data->lsb_resol = DIV_ROUND_CLOSEST(vref_mv * 1000, 4096); in ads7828_probe()
H A Dtmp513.c212 // 1lsb = 4mV in tmp51x_get_value()
221 // Current = (ShuntVoltage * CalibrationRegister) / 4096 in tmp51x_get_value()
269 // 1lsb = 4mV in tmp51x_set_value()
/openbmc/qemu/tests/qemu-iotests/
H A D01348 CLUSTER_SIZE=4096
67 mv "$TEST_IMG" "$TEST_IMG.orig"
H A D02350 CLUSTER_SIZES="1024 4096 16384 65536"
73 mv "$TEST_IMG" "$TEST_IMG.orig"
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad7949.yaml46 4096mV internal reference.
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_common.h22 #define BUF_PREDICTION_SZ (64 * 4096)
268 * mtk_vdec_h264_get_mv_buf_size - get mv buffer size.
273 * Return: returns mv buffer size.
H A Dvdec_vp9_req_lat_if.c24 #define VP9_TILE_BUF_SIZE 4096
341 * @mv: mv working buffer
360 struct vdec_vp9_slice_mem mv[2]; member
430 * @mv: mv working buffer
469 * mv[0]/seg[0]/tile/prob/counts is used for LAT
470 * mv[1]/seg[1] is used for CORE
472 struct mtk_vcodec_mem mv[2]; member
593 if (instance->mv[i].va) in vdec_vp9_slice_alloc_working_buffer()
594 mtk_vcodec_mem_free(ctx, &instance->mv[i]); in vdec_vp9_slice_alloc_working_buffer()
595 instance->mv[i].size = size; in vdec_vp9_slice_alloc_working_buffer()
[all …]
/openbmc/linux/Documentation/hwmon/
H A Dtmp513.rst68 The bus voltage range is read from the chip with a resolution of 4mV. The chip
88 Current = (ShuntVoltage * CalibrationRegister) / 4096
H A Dw83781d.rst235 * 011: master / 4096
497 0x80 20 mV
498 0x81 20 mV
499 0x82 232 mV
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/freediameter/
H A Dfreediameter_1.5.0.bb81 mv ${D}${sysconfdir}/${fd_pkgname}/freediameter.conf.sample \
111 …openssl req -x509 -config ${STAGING_DIR_NATIVE}/etc/ssl/openssl.cnf -newkey rsa:4096 -sha256 -node…
116 mv ${D}${PTEST_PATH}-tests/* ${D}${PTEST_PATH}/
/openbmc/linux/include/linux/iio/adc/
H A Dqcom-vadc-common.h30 #define VADC_DECIMATION_MAX 4096
59 * VADC_CALIB_ABSOLUTE: uses the 625mV and 1.25V as reference channels.
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_hw.h36 #define FMT_4K_WIDTH 4096
301 * @cdfs_ndvc: current mv probabilities structure
303 * @default_cdfs_ndvc: default mv probabilties structure
305 * @cdfs_last_ndvc: stored mv probabilities structures
491 * | MV buffer 64 bytes x MBs | in hantro_h264_mv_size()
/openbmc/linux/drivers/hwmon/pmbus/
H A Dlm25066.c38 #define LM25066_SAMPLES_FOR_AVG_MAX 4096
253 /* VIN: 6.14 mV VAUX: 293 uV LSB */ in lm25066_read_word_data()
257 /* VIN: 4.54 mV VAUX: 283.2 uV LSB */ in lm25066_read_word_data()
261 /* VIN: 4.53 mV VAUX: 700 uV LSB */ in lm25066_read_word_data()
266 /* VIN: 2.18 mV VAUX: 725 uV LSB */ in lm25066_read_word_data()
/openbmc/u-boot/drivers/power/
H A Dtwl6030.c123 battery_current = battery_current * 3000 / 4096; in twl6030_get_battery_current()
160 printf("Battery Voltage: %d mV\n", battery_volt); in twl6030_get_battery_voltage()
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dimage_types.bbclass81 # enough to allocate an ext4 filesystem using 4096 bytes per inode, this is
213 mv ubinize${vname}-${IMAGE_NAME}.cfg ${IMGDEPLOYDIR}/
276 EXTRA_IMAGECMD:ext2 ?= "-i 4096"
277 EXTRA_IMAGECMD:ext3 ?= "-i 4096"
278 EXTRA_IMAGECMD:ext4 ?= "-i 4096"
279 EXTRA_IMAGECMD:btrfs ?= "-n 4096 --shrink"
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dfsl_lsch3_serdes.c412 /* Only support switch SVDD to 900mV */ in setup_serdes_volt()
416 /* Scale up to the LTC resolution is 1/4096V */ in setup_serdes_volt()
417 svdd = (svdd * 4096) / 1000; in setup_serdes_volt()
/openbmc/u-boot/board/samsung/universal_c210/
H A Duniversal.c110 * ADC = (voltage) / 3.3 * 4096 in get_hw_revision()
118 hwrev = 0x1; /* 610mV 0.01V */ in get_hw_revision()

123