calib 192 drivers/ata/ahci_tegra.c struct sata_pad_calibration calib; calib 201 drivers/ata/ahci_tegra.c calib = tegra124_pad_calibration[val & FUSE_SATA_CALIB_MASK]; calib 209 drivers/ata/ahci_tegra.c val |= calib.gen1_tx_amp << T_SATA0_CHX_PHY_CTRL1_GEN1_TX_AMP_SHIFT; calib 210 drivers/ata/ahci_tegra.c val |= calib.gen1_tx_peak << T_SATA0_CHX_PHY_CTRL1_GEN1_TX_PEAK_SHIFT; calib 218 drivers/ata/ahci_tegra.c val |= calib.gen2_tx_amp << T_SATA0_CHX_PHY_CTRL1_GEN1_TX_AMP_SHIFT; calib 219 drivers/ata/ahci_tegra.c val |= calib.gen2_tx_peak << T_SATA0_CHX_PHY_CTRL1_GEN1_TX_PEAK_SHIFT; calib 84 drivers/gpu/drm/i2c/tda998x_drv.c struct gpio_desc *calib; calib 492 drivers/gpu/drm/i2c/tda998x_drv.c struct gpio_desc *calib = priv->calib; calib 497 drivers/gpu/drm/i2c/tda998x_drv.c gpiod_direction_output(calib, 1); calib 501 drivers/gpu/drm/i2c/tda998x_drv.c gpiod_set_value(calib, 0); calib 503 drivers/gpu/drm/i2c/tda998x_drv.c gpiod_set_value(calib, 1); calib 507 drivers/gpu/drm/i2c/tda998x_drv.c gpiod_direction_input(calib); calib 516 drivers/gpu/drm/i2c/tda998x_drv.c struct gpio_desc *calib; calib 518 drivers/gpu/drm/i2c/tda998x_drv.c calib = gpiod_get(&priv->hdmi->dev, "nxp,calib", GPIOD_ASIS); calib 519 drivers/gpu/drm/i2c/tda998x_drv.c if (IS_ERR(calib)) { calib 521 drivers/gpu/drm/i2c/tda998x_drv.c PTR_ERR(calib)); calib 522 drivers/gpu/drm/i2c/tda998x_drv.c return PTR_ERR(calib); calib 525 drivers/gpu/drm/i2c/tda998x_drv.c priv->calib = calib; calib 534 drivers/gpu/drm/i2c/tda998x_drv.c gpiod_put(priv->calib); calib 535 drivers/gpu/drm/i2c/tda998x_drv.c priv->calib = NULL; calib 1030 drivers/hid/hid-sony.c struct ds4_calibration_data *calib = &sc->ds4_calib_data[n]; calib 1037 drivers/hid/hid-sony.c int calib_data = mult_frac(calib->sens_numer, calib 1038 drivers/hid/hid-sony.c raw_data - calib->bias, calib 1039 drivers/hid/hid-sony.c calib->sens_denom); calib 1041 drivers/hid/hid-sony.c input_report_abs(sc->sensor_dev, calib->abs_code, calib_data); calib 897 drivers/iio/adc/stm32-adc.c int calib, ret; calib 906 drivers/iio/adc/stm32-adc.c calib = ret; calib 915 drivers/iio/adc/stm32-adc.c if (calib) calib 109 drivers/iio/chemical/bme680_core.c struct bme680_calib *calib) calib 122 drivers/iio/chemical/bme680_core.c calib->par_t1 = le16_to_cpu(buf); calib 129 drivers/iio/chemical/bme680_core.c calib->par_t2 = le16_to_cpu(buf); calib 136 drivers/iio/chemical/bme680_core.c calib->par_t3 = tmp; calib 144 drivers/iio/chemical/bme680_core.c calib->par_p1 = le16_to_cpu(buf); calib 151 drivers/iio/chemical/bme680_core.c calib->par_p2 = le16_to_cpu(buf); calib 158 drivers/iio/chemical/bme680_core.c calib->par_p3 = tmp; calib 165 drivers/iio/chemical/bme680_core.c calib->par_p4 = le16_to_cpu(buf); calib 172 drivers/iio/chemical/bme680_core.c calib->par_p5 = le16_to_cpu(buf); calib 179 drivers/iio/chemical/bme680_core.c calib->par_p6 = tmp; calib 186 drivers/iio/chemical/bme680_core.c calib->par_p7 = tmp; calib 193 drivers/iio/chemical/bme680_core.c calib->par_p8 = le16_to_cpu(buf); calib 200 drivers/iio/chemical/bme680_core.c calib->par_p9 = le16_to_cpu(buf); calib 207 drivers/iio/chemical/bme680_core.c calib->par_p10 = tmp; calib 220 drivers/iio/chemical/bme680_core.c calib->par_h1 = (tmp_msb << BME680_HUM_REG_SHIFT_VAL) | calib 233 drivers/iio/chemical/bme680_core.c calib->par_h2 = (tmp_msb << BME680_HUM_REG_SHIFT_VAL) | calib 241 drivers/iio/chemical/bme680_core.c calib->par_h3 = tmp; calib 248 drivers/iio/chemical/bme680_core.c calib->par_h4 = tmp; calib 255 drivers/iio/chemical/bme680_core.c calib->par_h5 = tmp; calib 262 drivers/iio/chemical/bme680_core.c calib->par_h6 = tmp; calib 269 drivers/iio/chemical/bme680_core.c calib->par_h7 = tmp; calib 277 drivers/iio/chemical/bme680_core.c calib->par_gh1 = tmp; calib 285 drivers/iio/chemical/bme680_core.c calib->par_gh2 = le16_to_cpu(buf); calib 292 drivers/iio/chemical/bme680_core.c calib->par_gh3 = tmp; calib 300 drivers/iio/chemical/bme680_core.c calib->res_heat_range = FIELD_GET(BME680_RHRANGE_MASK, tmp); calib 307 drivers/iio/chemical/bme680_core.c calib->res_heat_val = tmp; calib 314 drivers/iio/chemical/bme680_core.c calib->range_sw_err = FIELD_GET(BME680_RSERROR_MASK, tmp); calib 329 drivers/iio/chemical/bme680_core.c struct bme680_calib *calib = &data->bme680; calib 334 drivers/iio/chemical/bme680_core.c if (!calib->par_t2) calib 335 drivers/iio/chemical/bme680_core.c bme680_read_calib(data, calib); calib 337 drivers/iio/chemical/bme680_core.c var1 = (adc_temp >> 3) - (calib->par_t1 << 1); calib 338 drivers/iio/chemical/bme680_core.c var2 = (var1 * calib->par_t2) >> 11; calib 340 drivers/iio/chemical/bme680_core.c var3 = (var3 * (calib->par_t3 << 4)) >> 14; calib 357 drivers/iio/chemical/bme680_core.c struct bme680_calib *calib = &data->bme680; calib 361 drivers/iio/chemical/bme680_core.c var2 = ((((var1 >> 2) * (var1 >> 2)) >> 11) * calib->par_p6) >> 2; calib 362 drivers/iio/chemical/bme680_core.c var2 = var2 + (var1 * calib->par_p5 << 1); calib 363 drivers/iio/chemical/bme680_core.c var2 = (var2 >> 2) + (calib->par_p4 << 16); calib 365 drivers/iio/chemical/bme680_core.c (calib->par_p3 << 5)) >> 3) + calib 366 drivers/iio/chemical/bme680_core.c ((calib->par_p2 * var1) >> 1); calib 368 drivers/iio/chemical/bme680_core.c var1 = ((32768 + var1) * calib->par_p1) >> 15; calib 377 drivers/iio/chemical/bme680_core.c var1 = (calib->par_p9 * (((press_comp >> 3) * calib 379 drivers/iio/chemical/bme680_core.c var2 = ((press_comp >> 2) * calib->par_p8) >> 13; calib 381 drivers/iio/chemical/bme680_core.c (press_comp >> 8) * calib->par_p10) >> 17; calib 383 drivers/iio/chemical/bme680_core.c press_comp += (var1 + var2 + var3 + (calib->par_p7 << 7)) >> 4; calib 398 drivers/iio/chemical/bme680_core.c struct bme680_calib *calib = &data->bme680; calib 402 drivers/iio/chemical/bme680_core.c var1 = (adc_humid - ((s32) ((s32) calib->par_h1 * 16))) - calib 403 drivers/iio/chemical/bme680_core.c (((temp_scaled * (s32) calib->par_h3) / 100) >> 1); calib 404 drivers/iio/chemical/bme680_core.c var2 = ((s32) calib->par_h2 * calib 405 drivers/iio/chemical/bme680_core.c (((temp_scaled * calib->par_h4) / 100) + calib 406 drivers/iio/chemical/bme680_core.c (((temp_scaled * ((temp_scaled * calib->par_h5) / 100)) calib 409 drivers/iio/chemical/bme680_core.c var4 = calib->par_h6 << 7; calib 410 drivers/iio/chemical/bme680_core.c var4 = (var4 + ((temp_scaled * calib->par_h7) / 100)) >> 4; calib 429 drivers/iio/chemical/bme680_core.c struct bme680_calib *calib = &data->bme680; calib 443 drivers/iio/chemical/bme680_core.c var1 = ((1340 + (5 * (s64) calib->range_sw_err)) * calib 459 drivers/iio/chemical/bme680_core.c struct bme680_calib *calib = &data->bme680; calib 466 drivers/iio/chemical/bme680_core.c var1 = (((s32) BME680_AMB_TEMP * calib->par_gh3) / 1000) * 256; calib 467 drivers/iio/chemical/bme680_core.c var2 = (calib->par_gh1 + 784) * (((((calib->par_gh2 + 154009) * calib 471 drivers/iio/chemical/bme680_core.c var4 = (var3 / (calib->res_heat_range + 4)); calib 472 drivers/iio/chemical/bme680_core.c var5 = 131 * calib->res_heat_val + 65536; calib 67 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.calib[i].offset = calib 70 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c *val = st->core.calib[idx].offset; calib 89 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.calib[i].scale = calib 92 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c *val = st->core.calib[idx].scale >> 15; calib 93 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c *val2 = ((st->core.calib[idx].scale & 0x7FFF) * 1000000LL) / calib 163 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.calib[idx].offset = val; calib 171 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.calib[i].offset; calib 178 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.calib[idx].scale = val; calib 186 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c st->core.calib[i].scale; calib 141 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c state->calib[i].scale = MOTION_SENSE_DEFAULT_SCALE; calib 207 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c st->calib[i].offset = st->resp->perform_calib.offset[i]; calib 90 drivers/iio/light/cros_ec_light_prox.c st->core.calib[0].offset = calib 93 drivers/iio/light/cros_ec_light_prox.c *val = st->core.calib[idx].offset; calib 137 drivers/iio/light/cros_ec_light_prox.c st->core.calib[idx].offset = val; calib 142 drivers/iio/light/cros_ec_light_prox.c st->core.calib[0].offset; calib 351 drivers/iio/light/tsl2563.c static inline int tsl2563_calib_to_sysfs(u32 calib) calib 353 drivers/iio/light/tsl2563.c return (int) (((calib * CALIB_BASE_SYSFS) + calib 432 drivers/iio/light/tsl2563.c static u32 tsl2563_calib_adc(u32 adc, u32 calib) calib 436 drivers/iio/light/tsl2563.c scaled *= calib; calib 87 drivers/iio/pressure/bmp280-core.c } calib; calib 146 drivers/iio/pressure/bmp280-core.c struct bmp280_calib *calib, calib 167 drivers/iio/pressure/bmp280-core.c calib->T1 = le16_to_cpu(t_buf[T1]); calib 168 drivers/iio/pressure/bmp280-core.c calib->T2 = le16_to_cpu(t_buf[T2]); calib 169 drivers/iio/pressure/bmp280-core.c calib->T3 = le16_to_cpu(t_buf[T3]); calib 183 drivers/iio/pressure/bmp280-core.c calib->P1 = le16_to_cpu(p_buf[P1]); calib 184 drivers/iio/pressure/bmp280-core.c calib->P2 = le16_to_cpu(p_buf[P2]); calib 185 drivers/iio/pressure/bmp280-core.c calib->P3 = le16_to_cpu(p_buf[P3]); calib 186 drivers/iio/pressure/bmp280-core.c calib->P4 = le16_to_cpu(p_buf[P4]); calib 187 drivers/iio/pressure/bmp280-core.c calib->P5 = le16_to_cpu(p_buf[P5]); calib 188 drivers/iio/pressure/bmp280-core.c calib->P6 = le16_to_cpu(p_buf[P6]); calib 189 drivers/iio/pressure/bmp280-core.c calib->P7 = le16_to_cpu(p_buf[P7]); calib 190 drivers/iio/pressure/bmp280-core.c calib->P8 = le16_to_cpu(p_buf[P8]); calib 191 drivers/iio/pressure/bmp280-core.c calib->P9 = le16_to_cpu(p_buf[P9]); calib 208 drivers/iio/pressure/bmp280-core.c calib->H1 = tmp; calib 215 drivers/iio/pressure/bmp280-core.c calib->H2 = sign_extend32(le16_to_cpu(tmp), 15); calib 222 drivers/iio/pressure/bmp280-core.c calib->H3 = tmp; calib 229 drivers/iio/pressure/bmp280-core.c calib->H4 = sign_extend32(((be16_to_cpu(tmp) >> 4) & 0xff0) | calib 237 drivers/iio/pressure/bmp280-core.c calib->H5 = sign_extend32(((le16_to_cpu(tmp) >> 4) & 0xfff), 11); calib 244 drivers/iio/pressure/bmp280-core.c calib->H6 = sign_extend32(tmp, 7); calib 258 drivers/iio/pressure/bmp280-core.c struct bmp280_calib *calib = &data->calib.bmp280; calib 261 drivers/iio/pressure/bmp280-core.c var = ((((adc_humidity << 14) - (calib->H4 << 20) - (calib->H5 * var)) calib 262 drivers/iio/pressure/bmp280-core.c + (s32)16384) >> 15) * (((((((var * calib->H6) >> 10) calib 263 drivers/iio/pressure/bmp280-core.c * (((var * (s32)calib->H3) >> 11) + (s32)32768)) >> 10) calib 264 drivers/iio/pressure/bmp280-core.c + (s32)2097152) * calib->H2 + 8192) >> 14); calib 265 drivers/iio/pressure/bmp280-core.c var -= ((((var >> 15) * (var >> 15)) >> 7) * (s32)calib->H1) >> 4; calib 281 drivers/iio/pressure/bmp280-core.c struct bmp280_calib *calib = &data->calib.bmp280; calib 283 drivers/iio/pressure/bmp280-core.c var1 = (((adc_temp >> 3) - ((s32)calib->T1 << 1)) * calib 284 drivers/iio/pressure/bmp280-core.c ((s32)calib->T2)) >> 11; calib 285 drivers/iio/pressure/bmp280-core.c var2 = (((((adc_temp >> 4) - ((s32)calib->T1)) * calib 286 drivers/iio/pressure/bmp280-core.c ((adc_temp >> 4) - ((s32)calib->T1))) >> 12) * calib 287 drivers/iio/pressure/bmp280-core.c ((s32)calib->T3)) >> 14; calib 304 drivers/iio/pressure/bmp280-core.c struct bmp280_calib *calib = &data->calib.bmp280; calib 307 drivers/iio/pressure/bmp280-core.c var2 = var1 * var1 * (s64)calib->P6; calib 308 drivers/iio/pressure/bmp280-core.c var2 += (var1 * (s64)calib->P5) << 17; calib 309 drivers/iio/pressure/bmp280-core.c var2 += ((s64)calib->P4) << 35; calib 310 drivers/iio/pressure/bmp280-core.c var1 = ((var1 * var1 * (s64)calib->P3) >> 8) + calib 311 drivers/iio/pressure/bmp280-core.c ((var1 * (s64)calib->P2) << 12); calib 312 drivers/iio/pressure/bmp280-core.c var1 = ((((s64)1) << 47) + var1) * ((s64)calib->P1) >> 33; calib 319 drivers/iio/pressure/bmp280-core.c var1 = (((s64)calib->P9) * (p >> 13) * (p >> 13)) >> 25; calib 320 drivers/iio/pressure/bmp280-core.c var2 = ((s64)(calib->P8) * p) >> 19; calib 321 drivers/iio/pressure/bmp280-core.c p = ((p + var1 + var2) >> 8) + (((s64)calib->P7) << 4); calib 765 drivers/iio/pressure/bmp280-core.c struct bmp180_calib *calib) calib 786 drivers/iio/pressure/bmp280-core.c calib->AC1 = be16_to_cpu(buf[AC1]); calib 787 drivers/iio/pressure/bmp280-core.c calib->AC2 = be16_to_cpu(buf[AC2]); calib 788 drivers/iio/pressure/bmp280-core.c calib->AC3 = be16_to_cpu(buf[AC3]); calib 789 drivers/iio/pressure/bmp280-core.c calib->AC4 = be16_to_cpu(buf[AC4]); calib 790 drivers/iio/pressure/bmp280-core.c calib->AC5 = be16_to_cpu(buf[AC5]); calib 791 drivers/iio/pressure/bmp280-core.c calib->AC6 = be16_to_cpu(buf[AC6]); calib 792 drivers/iio/pressure/bmp280-core.c calib->B1 = be16_to_cpu(buf[B1]); calib 793 drivers/iio/pressure/bmp280-core.c calib->B2 = be16_to_cpu(buf[B2]); calib 794 drivers/iio/pressure/bmp280-core.c calib->MB = be16_to_cpu(buf[MB]); calib 795 drivers/iio/pressure/bmp280-core.c calib->MC = be16_to_cpu(buf[MC]); calib 796 drivers/iio/pressure/bmp280-core.c calib->MD = be16_to_cpu(buf[MD]); calib 810 drivers/iio/pressure/bmp280-core.c struct bmp180_calib *calib = &data->calib.bmp180; calib 812 drivers/iio/pressure/bmp280-core.c x1 = ((adc_temp - calib->AC6) * calib->AC5) >> 15; calib 813 drivers/iio/pressure/bmp280-core.c x2 = (calib->MC << 11) / (x1 + calib->MD); calib 872 drivers/iio/pressure/bmp280-core.c struct bmp180_calib *calib = &data->calib.bmp180; calib 875 drivers/iio/pressure/bmp280-core.c x1 = (calib->B2 * (b6 * b6 >> 12)) >> 11; calib 876 drivers/iio/pressure/bmp280-core.c x2 = calib->AC2 * b6 >> 11; calib 878 drivers/iio/pressure/bmp280-core.c b3 = ((((s32)calib->AC1 * 4 + x3) << oss) + 2) / 4; calib 879 drivers/iio/pressure/bmp280-core.c x1 = calib->AC3 * b6 >> 13; calib 880 drivers/iio/pressure/bmp280-core.c x2 = (calib->B1 * ((b6 * b6) >> 12)) >> 16; calib 882 drivers/iio/pressure/bmp280-core.c b4 = calib->AC4 * (u32)(x3 + 32768) >> 15; calib 1091 drivers/iio/pressure/bmp280-core.c ret = bmp180_read_calib(data, &data->calib.bmp180); calib 1098 drivers/iio/pressure/bmp280-core.c ret = bmp280_read_calib(data, &data->calib.bmp280, chip_id); calib 659 drivers/memory/emif.c u32 calib = 0, val = 0; calib 666 drivers/memory/emif.c calib |= val << DLL_CALIB_INTERVAL_SHIFT; calib 667 drivers/memory/emif.c calib |= DLL_CALIB_ACK_WAIT_VAL << ACK_WAIT_SHIFT; calib 669 drivers/memory/emif.c return calib; calib 2398 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_sensitivity_calib calib = { calib 2402 drivers/net/wireless/intel/ipw2x00/ipw2200.c return ipw_send_cmd_pdu(priv, IPW_CMD_SENSITIVITY_CALIB, sizeof(calib), calib 2403 drivers/net/wireless/intel/ipw2x00/ipw2200.c &calib); calib 4895 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(&priv->calib, x, sizeof(*x)); calib 1223 drivers/net/wireless/intel/ipw2x00/ipw2200.h struct notif_calibration calib; /**< last calibration */ calib 285 drivers/net/wireless/intel/iwlwifi/iwl-drv.c struct iwl_tlv_calib_ctrl calib; calib 447 drivers/net/wireless/intel/iwlwifi/iwl-drv.c def_calib->calib.flow_trigger; calib 449 drivers/net/wireless/intel/iwlwifi/iwl-drv.c def_calib->calib.event_trigger; calib 279 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c const __le16 *sw, *calib, *regulatory, *mac_override, *phy_sku; calib 322 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c calib = (const __le16 *)sections[NVM_SECTION_TYPE_CALIBRATION].data; calib 335 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c return iwl_parse_nvm_data(mvm->trans, mvm->cfg, hw, sw, calib, calib 280 drivers/net/wireless/ti/wl18xx/acx.h struct wl18xx_acx_calib_failure_stats calib; calib 170 drivers/net/wireless/ti/wl18xx/debugfs.c WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(calib, fail_count, calib 172 drivers/net/wireless/ti/wl18xx/debugfs.c WL18XX_DEBUGFS_FWSTATS_FILE(calib, calib_count, "%u"); calib 553 drivers/net/wireless/ti/wl18xx/debugfs.c DEBUGFS_FWSTATS_ADD(calib, fail_count); calib 555 drivers/net/wireless/ti/wl18xx/debugfs.c DEBUGFS_FWSTATS_ADD(calib, calib_count); calib 595 drivers/phy/rockchip/phy-rockchip-typec.c u16 calib; calib 609 drivers/phy/rockchip/phy-rockchip-typec.c calib = (pu_calib_code + pd_calib_code) / 2 + pu_adj + pd_adj; calib 619 drivers/phy/rockchip/phy-rockchip-typec.c val |= calib << TX_RESCAL_CODE_OFFSET; calib 132 drivers/phy/tegra/xusb-tegra186.c struct tegra_xusb_fuse_calibration calib; calib 212 drivers/phy/tegra/xusb-tegra186.c value |= HS_SQUELCH_LEVEL(priv->calib.hs_squelch); calib 348 drivers/phy/tegra/xusb-tegra186.c hs_current_level = (int)priv->calib.hs_curr_level[index] + calib 358 drivers/phy/tegra/xusb-tegra186.c value |= HS_CURR_LEVEL(priv->calib.hs_curr_level[index]); calib 365 drivers/phy/tegra/xusb-tegra186.c value |= TERM_RANGE_ADJ(priv->calib.hs_term_range_adj); calib 367 drivers/phy/tegra/xusb-tegra186.c value |= RPD_CTRL(priv->calib.rpd_ctrl); calib 815 drivers/phy/tegra/xusb-tegra186.c padctl->calib.hs_curr_level = level; calib 817 drivers/phy/tegra/xusb-tegra186.c padctl->calib.hs_squelch = (value >> HS_SQUELCH_SHIFT) & calib 819 drivers/phy/tegra/xusb-tegra186.c padctl->calib.hs_term_range_adj = (value >> HS_TERM_RANGE_ADJ_SHIFT) & calib 830 drivers/phy/tegra/xusb-tegra186.c padctl->calib.rpd_ctrl = (value >> RPD_CTRL_SHIFT) & RPD_CTRL_MASK; calib 197 drivers/thermal/qcom/tsens-v0_1.c u32 *calib, *bkp; calib 200 drivers/thermal/qcom/tsens-v0_1.c calib = (u32 *)qfprom_read(priv->dev, "calib"); calib 201 drivers/thermal/qcom/tsens-v0_1.c if (IS_ERR(calib)) calib 202 drivers/thermal/qcom/tsens-v0_1.c return PTR_ERR(calib); calib 206 drivers/thermal/qcom/tsens-v0_1.c kfree(calib); calib 214 drivers/thermal/qcom/tsens-v0_1.c mode = (calib[4] & CAL_SEL_0_1) >> CAL_SEL_SHIFT; calib 215 drivers/thermal/qcom/tsens-v0_1.c mode |= (calib[5] & CAL_SEL_2) >> CAL_SEL_SHIFT_2; calib 225 drivers/thermal/qcom/tsens-v0_1.c p2[5] = (calib[4] & S5_P2_BKP_MASK) >> S5_P2_BKP_SHIFT; calib 226 drivers/thermal/qcom/tsens-v0_1.c p2[6] = (calib[5] & S6_P2_BKP_MASK); calib 227 drivers/thermal/qcom/tsens-v0_1.c p2[7] = (calib[5] & S7_P2_BKP_MASK) >> S7_P2_BKP_SHIFT; calib 228 drivers/thermal/qcom/tsens-v0_1.c p2[8] = (calib[5] & S8_P2_BKP_MASK) >> S8_P2_BKP_SHIFT; calib 229 drivers/thermal/qcom/tsens-v0_1.c p2[9] = (calib[5] & S9_P2_BKP_MASK) >> S9_P2_BKP_SHIFT; calib 230 drivers/thermal/qcom/tsens-v0_1.c p2[10] = (calib[5] & S10_P2_BKP_MASK) >> S10_P2_BKP_SHIFT; calib 249 drivers/thermal/qcom/tsens-v0_1.c mode = (calib[1] & CAL_SEL_0_1) >> CAL_SEL_SHIFT; calib 250 drivers/thermal/qcom/tsens-v0_1.c mode |= (calib[3] & CAL_SEL_2) >> CAL_SEL_SHIFT_2; calib 254 drivers/thermal/qcom/tsens-v0_1.c base2 = (calib[2] & BASE2_MASK) >> BASE2_SHIFT; calib 255 drivers/thermal/qcom/tsens-v0_1.c p2[0] = (calib[2] & S0_P2_MASK) >> S0_P2_SHIFT; calib 256 drivers/thermal/qcom/tsens-v0_1.c p2[1] = (calib[2] & S1_P2_MASK) >> S1_P2_SHIFT; calib 257 drivers/thermal/qcom/tsens-v0_1.c p2[2] = (calib[3] & S2_P2_MASK); calib 258 drivers/thermal/qcom/tsens-v0_1.c p2[3] = (calib[3] & S3_P2_MASK) >> S3_P2_SHIFT; calib 259 drivers/thermal/qcom/tsens-v0_1.c p2[4] = (calib[3] & S4_P2_MASK) >> S4_P2_SHIFT; calib 260 drivers/thermal/qcom/tsens-v0_1.c p2[5] = (calib[3] & S5_P2_MASK) >> S5_P2_SHIFT; calib 261 drivers/thermal/qcom/tsens-v0_1.c p2[6] = (calib[3] & S6_P2_MASK) >> S6_P2_SHIFT; calib 262 drivers/thermal/qcom/tsens-v0_1.c p2[7] = (calib[4] & S7_P2_MASK); calib 263 drivers/thermal/qcom/tsens-v0_1.c p2[8] = (calib[4] & S8_P2_MASK) >> S8_P2_SHIFT; calib 264 drivers/thermal/qcom/tsens-v0_1.c p2[9] = (calib[4] & S9_P2_MASK) >> S9_P2_SHIFT; calib 265 drivers/thermal/qcom/tsens-v0_1.c p2[10] = (calib[4] & S10_P2_MASK) >> S10_P2_SHIFT; calib 269 drivers/thermal/qcom/tsens-v0_1.c base1 = calib[0] & BASE1_MASK; calib 270 drivers/thermal/qcom/tsens-v0_1.c p1[0] = (calib[0] & S0_P1_MASK) >> S0_P1_SHIFT; calib 271 drivers/thermal/qcom/tsens-v0_1.c p1[1] = (calib[0] & S1_P1_MASK) >> S1_P1_SHIFT; calib 272 drivers/thermal/qcom/tsens-v0_1.c p1[2] = (calib[0] & S2_P1_MASK) >> S2_P1_SHIFT; calib 273 drivers/thermal/qcom/tsens-v0_1.c p1[3] = (calib[0] & S3_P1_MASK) >> S3_P1_SHIFT; calib 274 drivers/thermal/qcom/tsens-v0_1.c p1[4] = (calib[1] & S4_P1_MASK); calib 275 drivers/thermal/qcom/tsens-v0_1.c p1[5] = (calib[1] & S5_P1_MASK) >> S5_P1_SHIFT; calib 276 drivers/thermal/qcom/tsens-v0_1.c p1[6] = (calib[1] & S6_P1_MASK) >> S6_P1_SHIFT; calib 277 drivers/thermal/qcom/tsens-v0_1.c p1[7] = (calib[1] & S7_P1_MASK) >> S7_P1_SHIFT; calib 278 drivers/thermal/qcom/tsens-v0_1.c p1[8] = (calib[1] & S8_P1_MASK) >> S8_P1_SHIFT; calib 279 drivers/thermal/qcom/tsens-v0_1.c p1[9] = (calib[2] & S9_P1_MASK); calib 280 drivers/thermal/qcom/tsens-v0_1.c p1[10] = (calib[2] & S10_P1_MASK) >> S10_P1_SHIFT; calib 322 drivers/thermal/qcom/tsens-v0_1.c kfree(calib); calib 112 drivers/thermal/tegra/soctherm-fuse.c u32 val, calib; calib 150 drivers/thermal/tegra/soctherm-fuse.c calib = ((u16)therma << SENSOR_CONFIG2_THERMA_SHIFT) | calib 153 drivers/thermal/tegra/soctherm-fuse.c *calibration = calib; calib 340 drivers/thermal/tegra/soctherm.c u32 *calib; calib 400 drivers/thermal/tegra/soctherm.c writel(tegra->calib[i], base + SENSOR_CONFIG2); calib 2176 drivers/thermal/tegra/soctherm.c tegra->calib = devm_kcalloc(&pdev->dev, calib 2179 drivers/thermal/tegra/soctherm.c if (!tegra->calib) calib 2191 drivers/thermal/tegra/soctherm.c &tegra->calib[i]); calib 138 drivers/thermal/tegra/soctherm.h u32 *calib); calib 69 include/linux/iio/common/cros_ec_sensors_core.h } calib[CROS_EC_SENSOR_MAX_AXIS];