/drivers/thermal/qcom/ |
D | tsens-8974.c | 108 u32 *calib, *bkp; in calibrate_8974() local 111 calib = (u32 *)qfprom_read(tmdev->dev, "calib"); in calibrate_8974() 112 if (IS_ERR(calib)) in calibrate_8974() 113 return PTR_ERR(calib); in calibrate_8974() 123 mode = (calib[4] & CAL_SEL_0_1) >> CAL_SEL_SHIFT; in calibrate_8974() 124 mode |= (calib[5] & CAL_SEL_2) >> CAL_SEL_SHIFT_2; in calibrate_8974() 134 p2[5] = (calib[4] & S5_P2_BKP_MASK) >> S5_P2_BKP_SHIFT; in calibrate_8974() 135 p2[6] = (calib[5] & S6_P2_BKP_MASK); in calibrate_8974() 136 p2[7] = (calib[5] & S7_P2_BKP_MASK) >> S7_P2_BKP_SHIFT; in calibrate_8974() 137 p2[8] = (calib[5] & S8_P2_BKP_MASK) >> S8_P2_BKP_SHIFT; in calibrate_8974() [all …]
|
/drivers/iio/pressure/ |
D | bmp280-core.c | 65 struct bmp180_calib calib; member 690 struct bmp180_calib *calib) in bmp180_read_calib() argument 711 calib->AC1 = be16_to_cpu(buf[AC1]); in bmp180_read_calib() 712 calib->AC2 = be16_to_cpu(buf[AC2]); in bmp180_read_calib() 713 calib->AC3 = be16_to_cpu(buf[AC3]); in bmp180_read_calib() 714 calib->AC4 = be16_to_cpu(buf[AC4]); in bmp180_read_calib() 715 calib->AC5 = be16_to_cpu(buf[AC5]); in bmp180_read_calib() 716 calib->AC6 = be16_to_cpu(buf[AC6]); in bmp180_read_calib() 717 calib->B1 = be16_to_cpu(buf[B1]); in bmp180_read_calib() 718 calib->B2 = be16_to_cpu(buf[B2]); in bmp180_read_calib() [all …]
|
/drivers/ata/ |
D | ahci_tegra.c | 173 struct sata_pad_calibration calib; in tegra_ahci_controller_init() local 195 calib = tegra124_pad_calibration[val & FUSE_SATA_CALIB_MASK]; in tegra_ahci_controller_init() 203 val |= calib.gen1_tx_amp << in tegra_ahci_controller_init() 205 val |= calib.gen1_tx_peak << in tegra_ahci_controller_init() 214 val |= calib.gen2_tx_amp << in tegra_ahci_controller_init() 216 val |= calib.gen2_tx_peak << in tegra_ahci_controller_init()
|
/drivers/thermal/tegra/ |
D | soctherm-fuse.c | 121 u32 val, calib; in tegra_calc_tsensor_calib() local 159 calib = ((u16)therma << SENSOR_CONFIG2_THERMA_SHIFT) | in tegra_calc_tsensor_calib() 162 *calibration = calib; in tegra_calc_tsensor_calib()
|
D | soctherm.h | 122 u32 *calib);
|
D | soctherm.c | 234 u32 *calib; member 308 writel(tegra->calib[i], base + SENSOR_CONFIG2); in enable_tsensor() 1355 tegra->calib = devm_kzalloc(&pdev->dev, in tegra_soctherm_probe() 1358 if (!tegra->calib) in tegra_soctherm_probe() 1370 &tegra->calib[i]); in tegra_soctherm_probe()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | Makefile | 9 iwl4965-objs := 4965.o 4965-mac.o 4965-rs.o 4965-calib.o
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | Makefile | 4 iwldvm-objs += lib.o calib.o tt.o sta.o rx.o
|
/drivers/iio/light/ |
D | tsl2563.c | 364 static inline int tsl2563_calib_to_sysfs(u32 calib) in tsl2563_calib_to_sysfs() argument 366 return (int) (((calib * CALIB_BASE_SYSFS) + in tsl2563_calib_to_sysfs() 445 static u32 tsl2563_calib_adc(u32 adc, u32 calib) in tsl2563_calib_adc() argument 449 scaled *= calib; in tsl2563_calib_adc()
|
/drivers/net/wireless/ti/wl18xx/ |
D | debugfs.c | 182 WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(calib, fail_count, 184 WL18XX_DEBUGFS_FWSTATS_FILE(calib, calib_count, "%u"); 566 DEBUGFS_FWSTATS_ADD(calib, fail_count); in wl18xx_debugfs_add_files() 568 DEBUGFS_FWSTATS_ADD(calib, calib_count); in wl18xx_debugfs_add_files()
|
D | acx.h | 294 struct wl18xx_acx_calib_failure_stats calib; member
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | nvm.c | 299 const __le16 *hw, *sw, *calib, *regulatory, *mac_override, *phy_sku; in iwl_parse_nvm_sections() local 338 calib = (const __le16 *)sections[NVM_SECTION_TYPE_CALIBRATION].data; in iwl_parse_nvm_sections() 348 return iwl_parse_nvm_data(mvm->trans, mvm->cfg, hw, sw, calib, in iwl_parse_nvm_sections()
|
/drivers/net/wireless/ath/ath9k/ |
D | Makefile | 35 calib.o \
|
/drivers/memory/ |
D | emif.c | 661 u32 calib = 0, val = 0; in get_dll_calib_ctrl_shdw() local 668 calib |= val << DLL_CALIB_INTERVAL_SHIFT; in get_dll_calib_ctrl_shdw() 669 calib |= DLL_CALIB_ACK_WAIT_VAL << ACK_WAIT_SHIFT; in get_dll_calib_ctrl_shdw() 671 return calib; in get_dll_calib_ctrl_shdw()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-drv.c | 264 struct iwl_tlv_calib_ctrl calib; member 415 def_calib->calib.flow_trigger; in iwl_set_default_calib() 417 def_calib->calib.event_trigger; in iwl_set_default_calib()
|
/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2200.h | 1237 struct notif_calibration calib; /**< last calibration */ member
|
D | ipw2200.c | 2420 struct ipw_sensitivity_calib calib = { in ipw_set_sensitivity() local 2424 return ipw_send_cmd_pdu(priv, IPW_CMD_SENSITIVITY_CALIB, sizeof(calib), in ipw_set_sensitivity() 2425 &calib); in ipw_set_sensitivity() 4919 memcpy(&priv->calib, x, sizeof(*x)); in ipw_rx_notification()
|