/kernel/linux/linux-5.10/drivers/iio/pressure/ |
D | bmp280-core.c | 93 } calib; member 151 struct bmp280_calib *calib, in bmp280_read_calib() argument 174 calib->T1 = le16_to_cpu(t_buf[T1]); in bmp280_read_calib() 175 calib->T2 = le16_to_cpu(t_buf[T2]); in bmp280_read_calib() 176 calib->T3 = le16_to_cpu(t_buf[T3]); in bmp280_read_calib() 190 calib->P1 = le16_to_cpu(p_buf[P1]); in bmp280_read_calib() 191 calib->P2 = le16_to_cpu(p_buf[P2]); in bmp280_read_calib() 192 calib->P3 = le16_to_cpu(p_buf[P3]); in bmp280_read_calib() 193 calib->P4 = le16_to_cpu(p_buf[P4]); in bmp280_read_calib() 194 calib->P5 = le16_to_cpu(p_buf[P5]); in bmp280_read_calib() [all …]
|
/kernel/linux/linux-5.10/drivers/thermal/qcom/ |
D | tsens-v0_1.c | 324 u32 *calib, *bkp; in calibrate_8974() local 327 calib = (u32 *)qfprom_read(priv->dev, "calib"); in calibrate_8974() 328 if (IS_ERR(calib)) in calibrate_8974() 329 return PTR_ERR(calib); in calibrate_8974() 333 kfree(calib); in calibrate_8974() 341 mode = (calib[4] & CAL_SEL_0_1) >> CAL_SEL_SHIFT; in calibrate_8974() 342 mode |= (calib[5] & CAL_SEL_2) >> CAL_SEL_SHIFT_2; in calibrate_8974() 352 p2[5] = (calib[4] & S5_P2_BKP_MASK) >> S5_P2_BKP_SHIFT; in calibrate_8974() 353 p2[6] = (calib[5] & S6_P2_BKP_MASK); in calibrate_8974() 354 p2[7] = (calib[5] & S7_P2_BKP_MASK) >> S7_P2_BKP_SHIFT; in calibrate_8974() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/chemical/ |
D | bme680_core.c | 109 struct bme680_calib *calib) in bme680_read_calib() argument 123 calib->par_t1 = le16_to_cpu(buf); in bme680_read_calib() 131 calib->par_t2 = le16_to_cpu(buf); in bme680_read_calib() 138 calib->par_t3 = tmp; in bme680_read_calib() 147 calib->par_p1 = le16_to_cpu(buf); in bme680_read_calib() 155 calib->par_p2 = le16_to_cpu(buf); in bme680_read_calib() 162 calib->par_p3 = tmp; in bme680_read_calib() 170 calib->par_p4 = le16_to_cpu(buf); in bme680_read_calib() 178 calib->par_p5 = le16_to_cpu(buf); in bme680_read_calib() 185 calib->par_p6 = tmp; in bme680_read_calib() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/ |
D | cros_ec_sensors.c | 66 st->core.calib[i].offset = in cros_ec_sensors_read() 69 *val = st->core.calib[idx].offset; in cros_ec_sensors_read() 88 st->core.calib[i].scale = in cros_ec_sensors_read() 91 *val = st->core.calib[idx].scale >> 15; in cros_ec_sensors_read() 92 *val2 = ((st->core.calib[idx].scale & 0x7FFF) * 1000000LL) / in cros_ec_sensors_read() 162 st->core.calib[idx].offset = val; in cros_ec_sensors_write() 170 st->core.calib[i].offset; in cros_ec_sensors_write() 177 st->core.calib[idx].scale = val; in cros_ec_sensors_write() 185 st->core.calib[i].scale; in cros_ec_sensors_write()
|
/kernel/linux/linux-5.10/drivers/thermal/tegra/ |
D | soctherm-fuse.c | 112 u32 val, calib; in tegra_calc_tsensor_calib() local 150 calib = ((u16)therma << SENSOR_CONFIG2_THERMA_SHIFT) | in tegra_calc_tsensor_calib() 153 *calibration = calib; in tegra_calc_tsensor_calib()
|
D | soctherm.h | 138 u32 *calib);
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | cros_ec_light_prox.c | 89 st->core.calib[0].offset = in cros_ec_light_prox_read() 92 *val = st->core.calib[idx].offset; in cros_ec_light_prox_read() 136 st->core.calib[idx].offset = val; in cros_ec_light_prox_write() 141 st->core.calib[0].offset; in cros_ec_light_prox_write()
|
D | tsl2563.c | 351 static inline int tsl2563_calib_to_sysfs(u32 calib) in tsl2563_calib_to_sysfs() argument 353 return (int) (((calib * CALIB_BASE_SYSFS) + in tsl2563_calib_to_sysfs() 432 static u32 tsl2563_calib_adc(u32 adc, u32 calib) in tsl2563_calib_adc() argument 436 scaled *= calib; in tsl2563_calib_adc()
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | ahci_tegra.c | 192 struct sata_pad_calibration calib; in tegra124_ahci_init() local 201 calib = tegra124_pad_calibration[val & FUSE_SATA_CALIB_MASK]; in tegra124_ahci_init() 209 val |= calib.gen1_tx_amp << T_SATA0_CHX_PHY_CTRL1_GEN1_TX_AMP_SHIFT; in tegra124_ahci_init() 210 val |= calib.gen1_tx_peak << T_SATA0_CHX_PHY_CTRL1_GEN1_TX_PEAK_SHIFT; in tegra124_ahci_init() 218 val |= calib.gen2_tx_amp << T_SATA0_CHX_PHY_CTRL1_GEN1_TX_AMP_SHIFT; in tegra124_ahci_init() 219 val |= calib.gen2_tx_peak << T_SATA0_CHX_PHY_CTRL1_GEN1_TX_PEAK_SHIFT; in tegra124_ahci_init()
|
/kernel/linux/linux-5.10/drivers/phy/tegra/ |
D | xusb-tegra186.c | 136 struct tegra_xusb_fuse_calibration calib; member 216 value |= HS_SQUELCH_LEVEL(priv->calib.hs_squelch); in tegra186_utmi_bias_pad_power_on() 443 hs_current_level = (int)priv->calib.hs_curr_level[index] + in tegra186_utmi_phy_power_on() 453 value |= HS_CURR_LEVEL(priv->calib.hs_curr_level[index]); in tegra186_utmi_phy_power_on() 460 value |= TERM_RANGE_ADJ(priv->calib.hs_term_range_adj); in tegra186_utmi_phy_power_on() 462 value |= RPD_CTRL(priv->calib.rpd_ctrl); in tegra186_utmi_phy_power_on() 892 padctl->calib.hs_curr_level = level; in tegra186_xusb_read_fuse_calibration() 894 padctl->calib.hs_squelch = (value >> HS_SQUELCH_SHIFT) & in tegra186_xusb_read_fuse_calibration() 896 padctl->calib.hs_term_range_adj = (value >> HS_TERM_RANGE_ADJ_SHIFT) & in tegra186_xusb_read_fuse_calibration() 907 padctl->calib.rpd_ctrl = (value >> RPD_CTRL_SHIFT) & RPD_CTRL_MASK; in tegra186_xusb_read_fuse_calibration()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
D | sc27xx-fg.txt | 16 - sprd,calib-resistance-micro-ohms: Specify the real resistance of coulomb counter 57 sprd,calib-resistance-micro-ohms = <21500>;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i2c/ |
D | tda998x_drv.c | 86 struct gpio_desc *calib; member 494 struct gpio_desc *calib = priv->calib; in tda998x_cec_calibration() local 499 gpiod_direction_output(calib, 1); in tda998x_cec_calibration() 503 gpiod_set_value(calib, 0); in tda998x_cec_calibration() 505 gpiod_set_value(calib, 1); in tda998x_cec_calibration() 509 gpiod_direction_input(calib); in tda998x_cec_calibration() 518 struct gpio_desc *calib; in tda998x_cec_hook_init() local 520 calib = gpiod_get(&priv->hdmi->dev, "nxp,calib", GPIOD_ASIS); in tda998x_cec_hook_init() 521 if (IS_ERR(calib)) { in tda998x_cec_hook_init() 523 PTR_ERR(calib)); in tda998x_cec_hook_init() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/sprd/ |
D | sc2731.dtsi | 73 fgu_calib: calib@6 { 78 adc_big_scale: calib@24 { 82 adc_small_scale: calib@26 {
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/ |
D | Makefile | 10 iwl4965-objs := 4965.o 4965-mac.o 4965-rs.o 4965-calib.o
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | Makefile | 5 iwldvm-objs += lib.o calib.o tt.o sta.o rx.o
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/nvmem/ |
D | sprd-efuse.txt | 24 thermal_calib: calib@10 {
|
D | mtk-efuse.txt | 25 thermal_calibration: calib@528 {
|
D | sc27xx-efuse.txt | 37 thermal_calib: calib@10 {
|
/kernel/linux/linux-5.10/include/linux/iio/common/ |
D | cros_ec_sensors_core.h | 78 } calib[CROS_EC_SENSOR_MAX_AXIS]; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/ |
D | debugfs.c | 170 WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(calib, fail_count, 172 WL18XX_DEBUGFS_FWSTATS_FILE(calib, calib_count, "%u"); 553 DEBUGFS_FWSTATS_ADD(calib, fail_count); in wl18xx_debugfs_add_files() 555 DEBUGFS_FWSTATS_ADD(calib, calib_count); in wl18xx_debugfs_add_files()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | nvm.c | 279 const __le16 *sw, *calib, *regulatory, *mac_override, *phy_sku; in iwl_parse_nvm_sections() local 321 calib = (const __le16 *)sections[NVM_SECTION_TYPE_CALIBRATION].data; in iwl_parse_nvm_sections() 330 return iwl_parse_nvm_data(mvm->trans, mvm->cfg, mvm->fw, hw, sw, calib, in iwl_parse_nvm_sections()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | Makefile | 36 calib.o \
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
D | tda998x.txt | 30 - nxp,calib-gpios: calibration GPIO, which must correspond with the
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | location.h | 650 __le16 calib[IWL_TOF_BW_NUM]; member 703 __le16 calib[IWL_TOF_BW_NUM]; member
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | am335x-boneblack-common.dtsi | 93 nxp,calib-gpios = <&gpio1 25 0>;
|