/Linux-v6.1/drivers/hwmon/ |
D | adm1177.c | 91 * ((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()
|
D | ads7828.c | 31 #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()
|
D | tmp513.c | 204 // 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/ |
D | adi,ad7949.yaml | 46 4096mV internal reference.
|
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/vdec/ |
D | vdec_h264_req_common.h | 22 #define BUF_PREDICTION_SZ (64 * 4096) 268 * mtk_vdec_h264_get_mv_buf_size - get mv buffer size. 273 * Return: returns mv buffer size.
|
D | vdec_vp9_req_lat_if.c | 25 #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/ |
D | tmp513.rst | 68 The bus voltage range is read from the chip with a resolution of 4mV. The chip 88 Current = (ShuntVoltage * CalibrationRegister) / 4096
|
D | w83781d.rst | 235 * 011: master / 4096 497 0x80 20 mV 498 0x81 20 mV 499 0x82 232 mV
|
/Linux-v6.1/include/linux/iio/adc/ |
D | qcom-vadc-common.h | 30 #define VADC_DECIMATION_MAX 4096 59 * VADC_CALIB_ABSOLUTE: uses the 625mV and 1.25V as reference channels.
|
/Linux-v6.1/drivers/hwmon/pmbus/ |
D | lm25066.c | 38 #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/ |
D | mt6577_auxadc.c | 92 #define AUXADC_PRECISE 4096 /* 12 bits */ 204 /* Convert adc raw data to voltage: 0 - 1500 mV */ in mt6577_auxadc_read_raw()
|
D | ad7949.c | 235 *val = 4096; in ad7949_spi_read_raw() 243 /* convert value back to mV */ in ad7949_spi_read_raw()
|
D | ina2xx-adc.c | 159 .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
|
D | mcp3911.c | 55 /* Internal voltage reference in mV */ 64 static const int mcp3911_osr_table[] = { 32, 64, 128, 256, 512, 1024, 2048, 4096 };
|
D | ti-ads1015.c | 112 * range in mV 115 6144, 4096, 2048, 1024, 512, 256, 256, 256 123 4096, 11, 132 4096, 15,
|
D | qcom-pm8xxx-xoadc.c | 100 * 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
|
D | sun4i-gpadc-iio.c | 332 /* 3000mV / 4096 * raw */ in sun4i_gpadc_read_raw()
|
/Linux-v6.1/drivers/staging/iio/accel/ |
D | adis16240.c | 230 static IIO_CONST_ATTR_SAMP_FREQ_AVAIL("4096"); 257 *val2 = 880000; /* 4.88 mV */ in adis16240_read_raw()
|
/Linux-v6.1/drivers/iio/gyro/ |
D | adis16260.c | 215 *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/ |
D | perf-script-python.txt | 190 # 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/ |
D | hantro_hw.h | 33 #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/ |
D | amdgpu_vce.c | 798 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/ |
D | sc27xx_fuel_gauge.c | 92 * @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/ |
D | setup.c | 978 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/ |
D | pcie.c | 487 * 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()
|