Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/hwmon/
Dadm1177.c91 * ((105.84mV / 4096) x raw) / senseResistor(ohm) in adm1177_read()
94 4096 * st->r_sense_uohm); in adm1177_read()
109 * (V_fullscale / 4096) * raw in adm1177_read()
116 *val = DIV_ROUND_CLOSEST(dummy, 4096); in adm1177_read()
Dads7828.c31 #define ADS7828_INT_VREF_MV 2500 /* Internal vref is 2.5V, 2500mV */
153 data->lsb_resol = DIV_ROUND_CLOSEST(vref_mv * 1000, 4096); in ads7828_probe()
Dtmp513.c204 // 1lsb = 4mV in tmp51x_get_value()
213 // Current = (ShuntVoltage * CalibrationRegister) / 4096 in tmp51x_get_value()
261 // 1lsb = 4mV in tmp51x_set_value()
/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/
Dadi,ad7949.yaml46 4096mV internal reference.
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/vdec/
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.
Dvdec_vp9_req_lat_if.c25 #define VP9_TILE_BUF_SIZE 4096
342 * @mv: mv working buffer
361 struct vdec_vp9_slice_mem mv[2]; member
431 * @mv: mv working buffer
470 * mv[0]/seg[0]/tile/prob/counts is used for LAT
471 * mv[1]/seg[1] is used for CORE
473 struct mtk_vcodec_mem mv[2]; member
594 if (instance->mv[i].va) in vdec_vp9_slice_alloc_working_buffer()
595 mtk_vcodec_mem_free(ctx, &instance->mv[i]); in vdec_vp9_slice_alloc_working_buffer()
596 instance->mv[i].size = size; in vdec_vp9_slice_alloc_working_buffer()
[all …]
/Linux-v6.1/Documentation/hwmon/
Dtmp513.rst68 The bus voltage range is read from the chip with a resolution of 4mV. The chip
88 Current = (ShuntVoltage * CalibrationRegister) / 4096
Dw83781d.rst235 * 011: master / 4096
497 0x80 20 mV
498 0x81 20 mV
499 0x82 232 mV
/Linux-v6.1/include/linux/iio/adc/
Dqcom-vadc-common.h30 #define VADC_DECIMATION_MAX 4096
59 * VADC_CALIB_ABSOLUTE: uses the 625mV and 1.25V as reference channels.
/Linux-v6.1/drivers/hwmon/pmbus/
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()
/Linux-v6.1/drivers/iio/adc/
Dmt6577_auxadc.c92 #define AUXADC_PRECISE 4096 /* 12 bits */
204 /* Convert adc raw data to voltage: 0 - 1500 mV */ in mt6577_auxadc_read_raw()
Dad7949.c235 *val = 4096; in ad7949_spi_read_raw()
243 /* convert value back to mV */ in ad7949_spi_read_raw()
Dina2xx-adc.c159 .calibration_value = 4096,
226 /* processed (mV) = raw * lsb(nV) / 1000000 */ in ina2xx_read_raw()
232 /* processed (mV) = raw * lsb (uV) / 1000 */ in ina2xx_read_raw()
566 * are 2048 for ina226 and 4096 for ina219. They are hardcoded as
Dmcp3911.c55 /* Internal voltage reference in mV */
64 static const int mcp3911_osr_table[] = { 32, 64, 128, 256, 512, 1024, 2048, 4096 };
Dti-ads1015.c112 * range in mV
115 6144, 4096, 2048, 1024, 512, 256, 256, 256
123 4096, 11,
132 4096, 15,
Dqcom-pm8xxx-xoadc.c100 * 00 = 512, 01 = 1024, 10 = 2048, 11 = 4096 so assume this
126 * @PM8XXX_CHANNEL_INTERNAL: 625mV reference channel
127 * @PM8XXX_CHANNEL_125V: 1250mV reference channel
128 * @PM8XXX_CHANNEL_INTERNAL_2: 325mV reference channel
Dsun4i-gpadc-iio.c332 /* 3000mV / 4096 * raw */ in sun4i_gpadc_read_raw()
/Linux-v6.1/drivers/staging/iio/accel/
Dadis16240.c230 static IIO_CONST_ATTR_SAMP_FREQ_AVAIL("4096");
257 *val2 = 880000; /* 4.88 mV */ in adis16240_read_raw()
/Linux-v6.1/drivers/iio/gyro/
Dadis16260.c215 *val2 = 831500; /* 1.8315 mV */ in adis16260_read_raw()
285 if (val < 0 || val >= 4096) in adis16260_write_raw()
/Linux-v6.1/tools/perf/Documentation/
Dperf-script-python.txt190 # mv perf-script.py syscall-counts.py
385 drwxr-xr-x 4 trz trz 4096 2010-01-26 22:30 .
386 drwxr-xr-x 4 trz trz 4096 2010-01-26 22:29 ..
387 drwxr-xr-x 2 trz trz 4096 2010-01-26 22:29 bin
389 drwxr-xr-x 3 trz trz 4096 2010-01-26 22:49 Perf-Trace-Util
/Linux-v6.1/drivers/media/platform/verisilicon/
Dhantro_hw.h33 #define FMT_4K_WIDTH 4096
402 * | MV buffer 64 bytes x MBs | in hantro_h264_mv_size()
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c798 4096, fb_idx); in amdgpu_vce_ring_parse_cs()
803 case 0x0500000d: /* MV buffer */ in amdgpu_vce_ring_parse_cs()
914 4096, fb_idx); in amdgpu_vce_ring_parse_cs()
919 case 0x0500000d: /* MV buffer */ in amdgpu_vce_ring_parse_cs()
/Linux-v6.1/drivers/power/supply/
Dsc27xx_fuel_gauge.c92 * @vol_1000mv_adc: ADC value corresponding to 1000 mV
985 * Get the ADC value corresponding to 4200 mV from eFuse controller in sc27xx_fgu_calibration()
987 * to 1000 mV and 1000 mA. in sc27xx_fgu_calibration()
989 cal_4200mv = (calib_data & 0x1ff) + 6963 - 4096 - 256; in sc27xx_fgu_calibration()
/Linux-v6.1/arch/alpha/kernel/
Dsetup.c978 struct alpha_machine_vector *mv = all_vecs[i]; in get_sysvec_byname() local
979 if (strcasecmp(mv->vector_name, name) == 0) in get_sysvec_byname()
980 return mv; in get_sysvec_byname()
1160 timer_freq = (100UL * hwrpb->intr_freq) / 4096; in show_cpuinfo()
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dpcie.c487 * No field for max supported, but PCIe spec limits it to 4096, in tune_pcie_caps()
488 * which is code '5' (log2(4096) - 7) in tune_pcie_caps()
1091 /* 1000mV, FS=24, LF = 8 */ in do_pcie_gen3_transition()
1101 /* 400mV, FS=29, LF = 9 */ in do_pcie_gen3_transition()

12