Home
last modified time | relevance | path

Searched +full:t +full:- +full:calibration +full:- +full:data (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/openbmc/u-boot/board/freescale/mx6memcal/
H A Dspl.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <asm/arch/mx6-ddr.h>
13 #include <asm/arch/mx6-pins.h>
64 /* SDCKE[0:1]: 100k pull-up */
67 /* SDBA2: pull-up disabled */
69 /* SDODT[0:1]: 100k pull-up, 40 ohm */
104 /* DATA[00:63]: Differential input, 40 ohm */
123 /* SDCKE[0:1]: 100k pull-up */
126 /* SDBA2: pull-up disabled */
128 /* SDODT[0:1]: 100k pull-up, 40 ohm */
[all …]
H A DREADME1 mx6memcal - a tool for calibrating DDR on i.MX6 boards.
3 The mx6memcal board isn't a real board, but a tool for use in bring-up of
9 1. It's open-source, so it's easier to change if needed.
15 makes running the DDR very slow or a working U-Boot image that
16 suffers from a chicken-and-egg problem (i.e. where do you get the
17 DDR parameters for U-Boot?).
18 3. It doesn't prompt for parameters, so it's much faster to gather
19 data from multiple boards.
20 4. Parameters to the calibration process can be chosen through
23 When booted, the mx6memcal board will run the DDR calibration
[all …]
/openbmc/linux/drivers/iio/magnetometer/
H A Dyamaha-yas530.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * YAS530 MS-3E (2011 Samsung Galaxy S Advance)
8 * YAS532 MS-3R (2011 Samsung Galaxy S4)
9 * YAS533 MS-3F (Vivo 1633, 1707, V3, Y21L)
11 * YAS535 MS-6C
12 * YAS536 MS-3W
13 * YAS537 MS-3T (2015 Samsung Galaxy S6, Note 5, Galaxy S7)
14 * YAS539 MS-3S (2018 Samsung Galaxy A7 SM-A750FN)
57 #define YAS530_OFFSET_X 0x85 /* [-31 .. 31] */
58 #define YAS530_OFFSET_Y1 0x86 /* [-31 .. 31] */
[all …]
/openbmc/linux/Documentation/devicetree/bindings/soc/mediatek/
H A Dmtk-svs.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/mediatek/mtk-svs.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Roger Lu <roger.lu@mediatek.com>
11 - Matthias Brugger <matthias.bgg@gmail.com>
12 - Kevin Hilman <khilman@kernel.org>
24 - mediatek,mt8183-svs
25 - mediatek,mt8192-svs
38 clock-names:
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-hid-wiimote24 Starting with kernel-version 3.11 Motion Plus hotplugging is
26 extension. You will get uevent notifications for the motion-plus
37 device couldn't be detected or loaded. "generic" means, that the
38 device couldn't be detected but supports basic Wii Remote
40 Other strings for each device-type are available and may be
41 added if new device-specific detections are added.
56 balance board. It provides a single line with 3 calibration
63 Calibration data is already applied by the kernel to all input
64 values but may be used by user-space to perform other
72 pro-controller. It provides a single line with 4 calibration
[all …]
H A Dsysfs-bus-iio-bno0553 Contact: linux-iio@vger.kernel.org
6 application of scale is m/s^2. Note that this doesn't affects
12 Contact: linux-iio@vger.kernel.org
21 Contact: linux-iio@vger.kernel.org
27 Contact: linux-iio@vger.kernel.org
33 Contact: linux-iio@vger.kernel.org
36 Calibration" HW function.
40 Contact: linux-iio@vger.kernel.org
47 Contact: linux-iio@vger.kernel.org
49 Reports the binary calibration data blob for the IMU sensors.
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dtsc.c1 // SPDX-License-Identifier: GPL-2.0-only
29 #include <asm/intel-family.h>
59 struct cyc2ns_data data[2]; /* 0 + 2*16 = 32 */ member
72 __always_inline void __cyc2ns_read(struct cyc2ns_data *data) in __cyc2ns_read() argument
80 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in __cyc2ns_read()
81 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in __cyc2ns_read()
82 data->cyc2ns_shift = this_cpu_read(cyc2ns.data[idx].cyc2ns_shift); in __cyc2ns_read()
87 __always_inline void cyc2ns_read_begin(struct cyc2ns_data *data) in cyc2ns_read_begin() argument
90 __cyc2ns_read(data); in cyc2ns_read_begin()
113 * cyc2ns_scale needs to be a 32-bit value so that 32-bit multiplication
[all …]
/openbmc/u-boot/board/liebherr/display5/
H A Dspl.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <asm/arch/mx6-ddr.h>
13 #include <asm/arch/mx6-pins.h>
16 #include <asm/arch/imx-regs.h>
18 #include <asm/mach-imx/iomux-v3.h>
93 /* MT41K128M16JT-125 (2Gb density) */
111 writel(0x00C03F3F, &ccm->CCGR0); in ccgr_init()
112 writel(0x0030FC3F, &ccm->CCGR1); in ccgr_init()
113 writel(0x0FFFCFC0, &ccm->CCGR2); in ccgr_init()
114 writel(0x3FF00000, &ccm->CCGR3); in ccgr_init()
[all …]
/openbmc/u-boot/board/k+p/kp_imx6q_tpc/
H A Dkp_imx6q_tpc_spl.c1 // SPDX-License-Identifier: GPL-2.0+
11 #include <asm/arch/imx-regs.h>
13 #include <asm/arch/mx6-ddr.h>
14 #include <asm/arch/mx6-pins.h>
17 #include <asm/mach-imx/boot_mode.h>
18 #include <asm/mach-imx/iomux-v3.h>
19 #include <asm/mach-imx/mxc_i2c.h>
42 writel(0x00C03F3F, &ccm->CCGR0); in ccgr_init()
43 writel(0x0030FC03, &ccm->CCGR1); in ccgr_init()
44 writel(0x0FFFC000, &ccm->CCGR2); in ccgr_init()
[all …]
/openbmc/linux/drivers/thermal/
H A Dsun8i_thermal.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <linux/nvmem-consumer.h>
95 return tmdev->chip->offset - (reg * tmdev->chip->scale / 10); in sun8i_ths_calc_temp()
102 return -1191 * reg / 10 + 223000; in sun50i_h5_calc_temp()
104 return -1452 * reg / 10 + 259000; in sun50i_h5_calc_temp()
106 return -1590 * reg / 10 + 276000; in sun50i_h5_calc_temp()
112 struct ths_device *tmdev = s->tmdev; in sun8i_ths_get_temp()
115 regmap_read(tmdev->regmap, tmdev->chip->temp_data_base + in sun8i_ths_get_temp()
116 0x4 * s->id, &val); in sun8i_ths_get_temp()
118 /* ths have no data yet */ in sun8i_ths_get_temp()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dphy.c2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com>
4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com>
5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org>
15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
42 * Here we handle the low-level functions related to baseband
48 * - Channel setting/switching
50 * - Automatic Gain Control (AGC) calibration
52 * - Noise Floor calibration
54 * - I/Q imbalance calibration (QAM correction)
[all …]
/openbmc/linux/drivers/thermal/mediatek/
H A Dauxadc_thermal.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/nvmem-consumer.h>
115 /* The calibration coefficient of sensor */
119 #define MT8173_TEMP_MIN -20000
123 * Layout of the fuses providing the calibration data
125 * MT8183 has 6 sensors and needs 6 VTS calibration data.
126 * MT8173 has 5 sensors and needs 5 VTS calibration data.
127 * MT2701 has 3 sensors and needs 3 VTS calibration data.
128 * MT2712 has 4 sensors and needs 4 VTS calibration data.
144 * Layout of the fuses providing the calibration data
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mtd/partitions/
H A Dtplink,safeloader-partitions.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mtd/partitions/tplink,safeloader-partitions.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TP-Link SafeLoader partitions
10 TP-Link home routers store various data on flash (e.g. bootloader,
11 flash layout, firmware, product info, configuration, calibration
12 data). That requires flash partitioning.
14 Flash space layout of TP-Link devices is stored on flash itself using
15 a custom ASCII-based format. That format was first found in TP-Link
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dcb_pcidda.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Driver for the ComputerBoards / MeasurementComputing PCI-DDA series.
9 * COMEDI - Linux Control and Measurement Device Interface
10 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org>
15 * Description: MeasurementComputing PCI-DDA series
16 * Devices: [Measurement Computing] PCI-DDA08/12 (pci-dda08/12),
17 * PCI-DDA04/12 (pci-dda04/12), PCI-DDA02/12 (pci-dda02/12),
18 * PCI-DDA08/16 (pci-dda08/16), PCI-DDA04/16 (pci-dda04/16),
19 * PCI-DDA02/16 (pci-dda02/16)
51 #define DACALIBRATION1 4 /* D/A CALIBRATION REGISTER 1 */
[all …]
/openbmc/linux/Documentation/driver-api/firmware/
H A Dbuilt-in-fw.rst2 Built-in firmware
5 Firmware can be built-in to the kernel, this means building the firmware
8 directly. You can enable built-in firmware using the kernel configuration
18 * Firmware is needed for accessing the boot device, and the user doesn't
22 able to make use of built-in firmware:
24 * Legalese - firmware is non-GPL compatible
28 * Some firmware files may be really large in size. The remote-proc subsystem
31 dynamically, an example is calibration data for some WiFi chipsets. This
32 calibration data can be unique per sold device.
/openbmc/u-boot/arch/arm/mach-imx/
H A Dddrmc-vf610-calibration.c1 // SPDX-License-Identifier: GPL-2.0+
3 * ddrmc DDR3 calibration code for NXP's VF610
12 #include <asm/arch/imx-regs.h>
15 #include "ddrmc-vf610-calibration.h"
36 * SW leveling supported operations - CR93[SW_LVL_MODE]:
38 * - 0x0 (b'00) - No leveling
40 * - 0x1 (b'01) - WRLVL_DL_X - It is not recommended to perform this tuning
41 * on HW designs utilizing non-flyback topology
47 * allowed, so the value in the filed doesn’t have
50 * - 0x2 (b'10) - RDLVL_DL_0/1 - refers to adjusting the DQS strobe in relation
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dstm32-adc.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
12 #include <linux/dma-mapping.h>
16 #include <linux/iio/timer/stm32-lptim-trigger.h>
17 #include <linux/iio/timer/stm32-timer-trigger.h>
26 #include <linux/nvmem-consumer.h>
31 #include "stm32-adc-core.h"
33 /* Number of linear calibration shadow registers / LINCALRDYW control bits */
58 /* extsel - trigger mux selection value */
84 STM32_ADC_INT_CH_NONE = -1,
[all …]
/openbmc/qemu/hw/misc/
H A Dmac_via.c4 * Copyright (c) 2011-2018 Laurent Vivier
5 * Copyright (c) 2018 Mark Cave-Ayland
9 * Copyright (c) 2004-2007 Fabrice Bellard
12 * some parts from linux-2.6.29, arch/m68k/include/asm/mac_via.h
15 * See the COPYING file in the top-level directory.
19 #include "exec/address-spaces.h"
30 #include "hw/qdev-properties.h"
31 #include "hw/qdev-properties-system.h"
32 #include "sysemu/block-backend.h"
77 * state-control line SEL" on all but IIfx
[all …]
/openbmc/linux/Documentation/admin-guide/thermal/
H A Dintel_powerclamp.rst6 - Arjan van de Ven <arjan@linux.intel.com>
7 - Jacob Pan <jacob.jun.pan@linux.intel.com>
12 - Goals and Objectives
15 - Idle Injection
16 - Calibration
19 - Effectiveness and Limitations
20 - Power vs Performance
21 - Scalability
22 - Calibration
23 - Comparison with Alternative Techniques
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dlink.c12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
20 * TX polling - checks if the TX engine is stuck somewhere
28 if (sc->tx99_state) in ath_tx_complete_check()
32 txq = sc->tx.txq_map[i]; in ath_tx_complete_check()
35 if (txq->axq_depth) { in ath_tx_complete_check()
36 if (txq->axq_tx_inprogress) { in ath_tx_complete_check()
41 txq->axq_tx_inprogress = true; in ath_tx_complete_check()
49 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_check()
65 ieee80211_queue_delayed_work(sc->hw, &sc->hw_check_work, in ath_hw_check_work()
74 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_check()
[all …]
/openbmc/u-boot/board/keymile/kmp204x/
H A Dddr.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright 2009-2011 Freescale Semiconductor, Inc.
27 /* automatic calibration for nb of cycles between read and DQS pre */ in fsl_ddr_board_options()
28 popts->cpo_override = 0xFF; in fsl_ddr_board_options()
30 /* 1/2 clk delay between wr command and data strobe */ in fsl_ddr_board_options()
31 popts->write_data_delay = 4; in fsl_ddr_board_options()
33 popts->clk_adjust = 4; in fsl_ddr_board_options()
34 /* 1T timing: command/address held for only 1 cycle */ in fsl_ddr_board_options()
35 popts->twot_en = 0; in fsl_ddr_board_options()
38 popts->half_strength_driver_enable = 1; in fsl_ddr_board_options()
[all …]
/openbmc/u-boot/drivers/ddr/altera/
H A Dsequencer.c1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright Altera Corporation (C) 2012-2015
40 * In order to reduce ROM size, most of the selectable calibration steps are
41 * decided at compile time based on the user's calibration mode selection,
44 * However, to support simulation-time selection of fast simulation mode, where
47 * check, which is based on the rtl-supplied value, or we dynamically compute
48 * the value to use based on the dynamically-chosen calibration mode
58 /* calibration steps requested by the rtl */
64 * non-skip and skip values
66 * The mask is set to include all bits when not-skipping, but is
[all …]
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_sony.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
43 for x in range(-32000, 32000, 4000):
51 # to inverse calibration, followed by calibration by hid-sony.
52 assert x - 1 <= value <= x + 1
54 for y in range(-32000, 32000, 4000):
61 assert y - 1 <= value <= y + 1
63 for z in range(-32000, 32000, 4000):
70 assert z - 1 <= value <= z + 1
76 for rx in range(-2000000, 2000000, 200000):
[all …]
/openbmc/linux/Documentation/misc-devices/
H A Dapds990x.rst1 .. SPDX-License-Identifier: GPL-2.0
10 Data sheet:
17 -----------
32 lead to false interrupt, but that doesn't harm.
38 Platform data can provide tuned values to the conversion formulas if
48 -----
52 RO - shows detected chip type and version
55 RW - enable / disable chip. Uses counting logic
60 RO - measured lux value
65 RO - lux0_input max value.
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-nintendo.c1 // SPDX-License-Identifier: GPL-2.0+
3 * HID driver for Nintendo Switch Joy-Cons and Pro Controllers
5 * Copyright (c) 2019-2021 Daniel J. Ogorchock <djogorchock@gmail.com>
9 * https://gitlab.com/pjranki/joycon-linux-kernel (Peter Rankin)
13 * hid-wiimote kernel hid driver
14 * hid-logitech-hidpp driver
15 * hid-sony driver
17 * This driver supports the Nintendo Switch Joy-Cons and Pro Controllers. The
20 * The driver will retrieve the factory calibration info from the controllers,
21 * so little to no user calibration should be required.
[all …]

12345678910>>...16