Home
last modified time | relevance | path

Searched full:calibration (Results 1 – 25 of 1153) sorted by relevance

12345678910>>...47

/OK3568_Linux_fs/u-boot/board/gateworks/gw_ventana/
H A Dgw_ventana_spl.c208 * calibration - these are the various CPU/DDR3 combinations we support
211 /* write leveling calibration determine */
214 /* Read DQS Gating calibration */
217 /* Read Calibration: DQS delay relative to DQ read access */
219 /* Write Calibration: DQ/DM delay relative to DQS write access */
224 /* write leveling calibration determine */
227 /* Read DQS Gating calibration */
230 /* Read Calibration: DQS delay relative to DQ read access */
232 /* Write Calibration: DQ/DM delay relative to DQS write access */
237 /* write leveling calibration determine */
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/tegra/fuse/
H A Dfuse-tegra30.c138 .cell_name = "xusb-pad-calibration",
140 .con_id = "calibration",
143 .cell_name = "sata-calibration",
145 .con_id = "calibration",
234 .cell_name = "xusb-pad-calibration",
236 .con_id = "calibration",
244 .cell_name = "sata-calibration",
246 .con_id = "calibration",
274 .cell_name = "gpu-calibration",
276 .con_id = "calibration",
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0025-Support-setting-touch-calibration-through-environmen.patch4 Subject: [PATCH 25/79] Support setting touch calibration through environment
7 1/ Use weston-calibrator tool to get calibration data
9 Final calibration values: -0.846961 0.122487 0.864176 -0.110204 -0.685913 0.958219
11 2/ Export calibration data through environment:
41 + printf ("Final calibration values: %f %f %f %f %f %f\n",
87 + &calibration.m[0],
88 + &calibration.m[1],
89 + &calibration.m[2],
90 + &calibration.m[3],
91 + &calibration.m[4],
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0028-Support-setting-touch-calibration-through-environmen.patch4 Subject: [PATCH 28/93] Support setting touch calibration through environment
7 1/ Use weston-calibrator tool to get calibration data
9 Final calibration values: -0.846961 0.122487 0.864176 -0.110204 -0.685913 0.958219
11 2/ Export calibration data through environment:
41 + printf ("Final calibration values: %f %f %f %f %f %f\n",
87 + &calibration.m[0],
88 + &calibration.m[1],
89 + &calibration.m[2],
90 + &calibration.m[3],
91 + &calibration.m[4],
[all …]
/OK3568_Linux_fs/buildroot/package/weston/
H A D0028-Support-setting-touch-calibration-through-environmen.patch4 Subject: [PATCH 28/93] Support setting touch calibration through environment
7 1/ Use weston-calibrator tool to get calibration data
9 Final calibration values: -0.846961 0.122487 0.864176 -0.110204 -0.685913 0.958219
11 2/ Export calibration data through environment:
41 + printf ("Final calibration values: %f %f %f %f %f %f\n",
87 + &calibration.m[0],
88 + &calibration.m[1],
89 + &calibration.m[2],
90 + &calibration.m[3],
91 + &calibration.m[4],
[all …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dtwl4030_madc_battery.c78 struct twl4030_madc_bat_calibration *calibration; in twl4030_madc_bat_voltscale() local
83 calibration = bat->pdata->charging; in twl4030_madc_bat_voltscale()
85 calibration = bat->pdata->discharging; in twl4030_madc_bat_voltscale()
87 if (volt > calibration[0].voltage) { in twl4030_madc_bat_voltscale()
88 res = calibration[0].level; in twl4030_madc_bat_voltscale()
90 for (i = 0; calibration[i+1].voltage >= 0; i++) { in twl4030_madc_bat_voltscale()
91 if (volt <= calibration[i].voltage && in twl4030_madc_bat_voltscale()
92 volt >= calibration[i+1].voltage) { in twl4030_madc_bat_voltscale()
94 res = calibration[i].level - in twl4030_madc_bat_voltscale()
95 ((calibration[i].voltage - volt) * in twl4030_madc_bat_voltscale()
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-ab8500.c222 static int ab8500_rtc_set_calibration(struct device *dev, int calibration) in ab8500_rtc_set_calibration() argument
228 * Check that the calibration value (which is in units of 0.5 in ab8500_rtc_set_calibration()
234 if ((calibration < -127) || (calibration > 127)) { in ab8500_rtc_set_calibration()
244 if (calibration >= 0) in ab8500_rtc_set_calibration()
245 rtccal = 0x7F & calibration; in ab8500_rtc_set_calibration()
247 rtccal = ~(calibration - 1) | 0x80; in ab8500_rtc_set_calibration()
255 static int ab8500_rtc_get_calibration(struct device *dev, int *calibration) in ab8500_rtc_get_calibration() argument
269 *calibration = 0 - (rtccal & 0x7F); in ab8500_rtc_get_calibration()
271 *calibration = 0x7F & rtccal; in ab8500_rtc_get_calibration()
282 int calibration = 0; in ab8500_sysfs_store_rtc_calibration() local
[all …]
H A Drtc-tps65910.c201 static int tps65910_rtc_set_calibration(struct device *dev, int calibration) in tps65910_rtc_set_calibration() argument
218 if ((calibration < -32768) || (calibration > 32766)) { in tps65910_rtc_set_calibration()
219 dev_err(dev, "RTC calibration value out of range: %d\n", in tps65910_rtc_set_calibration()
220 calibration); in tps65910_rtc_set_calibration()
224 value = (s16)calibration; in tps65910_rtc_set_calibration()
246 static int tps65910_rtc_get_calibration(struct device *dev, int *calibration) in tps65910_rtc_get_calibration() argument
260 *calibration = 0; in tps65910_rtc_get_calibration()
273 *calibration = (s16)value; in tps65910_rtc_get_calibration()
280 int calibration; in tps65910_read_offset() local
284 ret = tps65910_rtc_get_calibration(dev, &calibration); in tps65910_read_offset()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/wireless/
H A Dqcom,ath10k.txt9 PCI based devices uses compatible string "qcom,ath10k" and takes calibration
10 data along with board specific data via "qcom,ath10k-calibration-data".
15 "qcom,ath10k-calibration-data"). It uses "qcom,ath10k-pre-calibration-data"
16 to carry pre calibration data.
18 In general, entry "qcom,ath10k-pre-calibration-data" and
19 "qcom,ath10k-calibration-data" conflict with each other and only one
58 - qcom,ath10k-calibration-variant: string to search for in the board-2.bin
61 - qcom,ath10k-calibration-data : calibration data + board specific data
64 - qcom,ath10k-pre-calibration-data : pre calibration data as an array,
125 qcom,ath10k-calibration-data = [ 01 02 03 ... ];
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/
H A Dphy_lp.h322 #define B2062_N_IQ_CALIB B43_LP_NORTH(0x016) /* IQ Calibration (north) */
390 #define B2062_N_IQ_CALIB_CTL0 B43_LP_NORTH(0x05A) /* IQ Calibration Control 0 (north) */
391 #define B2062_N_IQ_CALIB_CTL1 B43_LP_NORTH(0x05B) /* IQ Calibration Control 1 (north) */
392 #define B2062_N_IQ_CALIB_CTL2 B43_LP_NORTH(0x05C) /* IQ Calibration Control 2 (north) */
393 #define B2062_N_CALIB_TS B43_LP_NORTH(0x05D) /* Calibration TS (north) */
394 #define B2062_N_CALIB_CTL0 B43_LP_NORTH(0x05E) /* Calibration Control 0 (north) */
395 #define B2062_N_CALIB_CTL1 B43_LP_NORTH(0x05F) /* Calibration Control 1 (north) */
396 #define B2062_N_CALIB_CTL2 B43_LP_NORTH(0x060) /* Calibration Control 2 (north) */
397 #define B2062_N_CALIB_CTL3 B43_LP_NORTH(0x061) /* Calibration Control 3 (north) */
398 #define B2062_N_CALIB_CTL4 B43_LP_NORTH(0x062) /* Calibration Control 4 (north) */
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-ad719226 Initiates the system calibration procedure. This is done on a
27 single channel at a time. Write '1' to start the calibration.
40 Reading returns a list with the possible calibration modes.
49 Sets up the calibration mode used in the system calibration
50 procedure. Reading returns the current calibration mode.
51 Writing sets the system calibration mode.
H A Dsysfs-driver-hid-wiimote56 balance board. It provides a single line with 3 calibration
63 Calibration data is already applied by the kernel to all input
72 pro-controller. It provides a single line with 4 calibration
78 Calibration data is already applied by the kernel to all input
82 Calibration data is detected by the kernel during device setup.
83 You can write "scan\n" into this file to re-trigger calibration.
85 set the calibration values manually.
/OK3568_Linux_fs/u-boot/board/ccv/xpress/
H A Dimximage.cfg95 * Calibration setup
98 periodic HW ZQ calibration. */
101 * For target board, may need to run write leveling calibration to fine tune
106 /* Read DQS Gating calibration */
109 /* Read calibration */
112 /* Write calibration */
129 /* Complete calibration by forced measurement: */
132 * Calibration setup end
165 DATA 4 0x021b001c 0x04008040 /* MMDC0_MDSCR, ZQ calibration command sent to
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx6/
H A Dddr.c99 * Stash old values in case calibration fails, in mmdc_do_write_level_calibration()
115 debug("Starting write leveling calibration.\n"); in mmdc_do_write_level_calibration()
118 * 2. disable auto refresh and ZQ calibration in mmdc_do_write_level_calibration()
119 * before proceeding with Write Leveling calibration in mmdc_do_write_level_calibration()
142 /* 6. Activate automatic calibration by setting MPWLGCR[HW_WL_EN] */ in mmdc_do_write_level_calibration()
161 debug("Ending write leveling calibration. Error mask: 0x%x\n", errors); in mmdc_do_write_level_calibration()
267 /* Disable auto refresh before proceeding with calibration */ in mmdc_do_dqs_calibration()
284 * Check MDMISC register CALIB_PER_CS to see which CS calibration in mmdc_do_dqs_calibration()
286 * as this is the default value, indicating calibration is directed in mmdc_do_dqs_calibration()
288 * Disable the other chip select not being target for calibration in mmdc_do_dqs_calibration()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dtsc.c467 * or PIT for the fast calibration to work.
594 pr_info("Fast TSC calibration failed\n"); in quick_pit_calibrate()
613 pr_info("Fast TSC calibration using PIT\n"); in quick_pit_calibrate()
724 * Run 5 calibration loops to get the lowest frequency value in pit_hpet_ptimer_calibrate_cpu()
725 * (the best estimate). We use two different calibration modes in pit_hpet_ptimer_calibrate_cpu()
744 * calibration delay loop as we have to wait for a certain in pit_hpet_ptimer_calibrate_cpu()
759 * calibration, which will take at least 50ms, and in pit_hpet_ptimer_calibrate_cpu()
768 /* Pick the lowest PIT TSC calibration so far */ in pit_hpet_ptimer_calibrate_cpu()
792 * If both calibration results are inside a 10% window in pit_hpet_ptimer_calibrate_cpu()
793 * then we can be sure, that the calibration in pit_hpet_ptimer_calibrate_cpu()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/temperature/
H A Dmlx90632.c33 #define MLX90632_EE_P_R 0x240c /* P_R calibration register 32bit */
34 #define MLX90632_EE_P_G 0x240e /* P_G calibration register 32bit */
35 #define MLX90632_EE_P_T 0x2410 /* P_T calibration register 32bit */
36 #define MLX90632_EE_P_O 0x2412 /* P_O calibration register 32bit */
37 #define MLX90632_EE_Aa 0x2414 /* Aa calibration register 32bit */
38 #define MLX90632_EE_Ab 0x2416 /* Ab calibration register 32bit */
39 #define MLX90632_EE_Ba 0x2418 /* Ba calibration register 32bit */
40 #define MLX90632_EE_Bb 0x241a /* Bb calibration register 32bit */
41 #define MLX90632_EE_Ca 0x241c /* Ca calibration register 32bit */
42 #define MLX90632_EE_Cb 0x241e /* Cb calibration register 32bit */
[all …]
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Damlogic_thermal.c15 * A B m n : calibration parameters
16 * u_efuse : fused calibration value, it's a signed 16 bits value
70 * @A: calibration parameters
71 * @B: calibration parameters
72 * @m: calibration parameters
73 * @n: calibration parameters
86 * @u_efuse_off: register offset to read fused calibration value
87 * @calibration_parameters: calibration parameters structure pointer
151 "tsensor thermal calibration not supported: 0x%x!\n", in amlogic_thermal_initialize()
H A Dqoriq_thermal.c175 const u32 *calibration; in qoriq_tmu_calibration() local
194 calibration = of_get_property(np, "fsl,tmu-calibration", &len); in qoriq_tmu_calibration()
195 if (calibration == NULL || len % 8) { in qoriq_tmu_calibration()
196 dev_err(dev, "invalid calibration data.\n"); in qoriq_tmu_calibration()
200 for (i = 0; i < len; i += 8, calibration += 2) { in qoriq_tmu_calibration()
201 val = of_read_number(calibration, 1); in qoriq_tmu_calibration()
203 val = of_read_number(calibration + 1, 1); in qoriq_tmu_calibration()
324 ret = qoriq_tmu_calibration(dev, data); /* TMU calibration */ in qoriq_tmu_probe()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/
H A Dqcom,pm8xxx-xoadc.txt60 These three nodes are used for absolute and ratiometric calibration
63 an interpolation calibration for all other ADCs.
84 Definition: Channel calibration type. If this property is specified
86 calibration. The available references are specified in the
88 to also specify this reference if ratiometric calibration
93 known as an absolute calibration.
94 The reference voltage pairs when using ratiometric calibration:
/OK3568_Linux_fs/kernel/drivers/iio/chemical/
H A Datlas-sensor.c257 dev_warn(dev, "device missing low point calibration\n"); in atlas_check_ph_calibration()
260 dev_warn(dev, "device missing mid point calibration\n"); in atlas_check_ph_calibration()
263 dev_warn(dev, "device missing high point calibration\n"); in atlas_check_ph_calibration()
292 dev_warn(dev, "device missing dry point calibration\n"); in atlas_check_ec_calibration()
295 dev_warn(dev, "device using single point calibration\n"); in atlas_check_ec_calibration()
298 dev_warn(dev, "device missing low point calibration\n"); in atlas_check_ec_calibration()
301 dev_warn(dev, "device missing high point calibration\n"); in atlas_check_ec_calibration()
339 dev_warn(dev, "device missing atmospheric pressure calibration\n"); in atlas_check_do_calibration()
342 dev_warn(dev, "device missing dissolved oxygen calibration\n"); in atlas_check_do_calibration()
352 int (*calibration)(struct atlas_data *data); member
[all …]
/OK3568_Linux_fs/u-boot/board/aristainetos/
H A Dmt41j128M.cfg6 /* ZQ Calibration */
14 * DQS gating, read delay, write delay calibration values
15 * based on calibration compare of 0x00ffff00
34 /* Complete calibration by forced measurment */
61 /* ZQ calibration */
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/
H A Dxlnx-rtc.txt14 - calibration: calibration value for 1 sec period which will
15 be programmed directly to calibration register
24 calibration = <0x198233>;
/OK3568_Linux_fs/u-boot/board/freescale/mx6qarm2/
H A Dimximage_mx6dl.cfg153 /* Calibration setup. */
154 /* DDR_PHY_P0_MPZQHWCTRL, enable on time ZQ calibration */
193 * a. DQS gating is not relevant for LPDDR2. DSQ gating calibration section
194 * should be skipped, or the write/read calibration comming after that
196 * b. The calibration code that runs for both MMDC0 & MMDC1 should be used.
220 /* Calibration setup end */
313 * calibration values based on calibration compare of 0x00ffff00:
314 * Note, these calibration values are based on Freescale's board
315 * May need to run calibration on target board to fine tune these
318 /* DDR_PHY_P0_MPZQHWCTRL, enable automatic ZQ calibration */
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/
H A Dnvidia,tegra20-sdhci.txt64 calibration offsets for 3.3 V signaling modes.
67 calibration offsets for 1.8 V signaling modes.
70 strength used as a fallback in case the automatic calibration times
74 strength used as a fallback in case the automatic calibration times
78 calibration offsets for SDR104 mode.
81 calibration offsets for HS400 mode.
88 Notes on the pad calibration pull up and pulldown offset values:
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath5k/
H A Dphy.c49 * - Automatic Gain Control (AGC) calibration
51 * - Noise Floor calibration
53 * - I/Q imbalance calibration (QAM correction)
55 * - Calibration due to thermal changes (gain_F)
460 /* Skip if gain calibration is inactive or in ath5k_hw_request_rfgain_probe()
668 * ath5k_hw_gainf_calibrate() - Do a gain_F calibration
671 * Main callback for thermal RF gain calibration engine
746 * with Gain_F calibration
1486 PHY calibration
1490 * DOC: PHY Calibration routines
[all …]

12345678910>>...47