/linux-6.1.9/drivers/thermal/intel/ ! |
D | intel_powerclamp.c | 141 static struct powerclamp_calibration_data cal_data[MAX_TARGET_RATIO]; variable 266 cal_data[ratio].confidence >= CONFIDENCE_OK && in get_compensation() 267 cal_data[ratio + 1].confidence >= CONFIDENCE_OK && in get_compensation() 268 cal_data[ratio + 2].confidence >= CONFIDENCE_OK) { in get_compensation() 269 comp = (cal_data[ratio].steady_comp + in get_compensation() 270 cal_data[ratio + 1].steady_comp + in get_compensation() 271 cal_data[ratio + 2].steady_comp) / 3; in get_compensation() 273 cal_data[ratio].confidence >= CONFIDENCE_OK && in get_compensation() 274 cal_data[ratio - 1].confidence >= CONFIDENCE_OK && in get_compensation() 275 cal_data[ratio - 2].confidence >= CONFIDENCE_OK) { in get_compensation() [all …]
|
/linux-6.1.9/drivers/iio/adc/ ! |
D | ab8500-gpadc.c | 251 struct ab8500_adc_cal_data cal_data[AB8500_CAL_NR]; member 286 if (!gpadc->cal_data[AB8500_CAL_VMAIN].gain) { in ab8500_gpadc_ad_to_voltage() 293 res = (int) (ad_value * gpadc->cal_data[AB8500_CAL_VMAIN].gain + in ab8500_gpadc_ad_to_voltage() 294 gpadc->cal_data[AB8500_CAL_VMAIN].offset) / AB8500_GPADC_CALIB_SCALE; in ab8500_gpadc_ad_to_voltage() 304 if (!gpadc->cal_data[AB8500_CAL_BTEMP].gain) { in ab8500_gpadc_ad_to_voltage() 311 res = (int) (ad_value * gpadc->cal_data[AB8500_CAL_BTEMP].gain + in ab8500_gpadc_ad_to_voltage() 312 gpadc->cal_data[AB8500_CAL_BTEMP].offset) / AB8500_GPADC_CALIB_SCALE; in ab8500_gpadc_ad_to_voltage() 318 if (!gpadc->cal_data[AB8500_CAL_VBAT].gain) { in ab8500_gpadc_ad_to_voltage() 325 res = (int) (ad_value * gpadc->cal_data[AB8500_CAL_VBAT].gain + in ab8500_gpadc_ad_to_voltage() 326 gpadc->cal_data[AB8500_CAL_VBAT].offset) / AB8500_GPADC_CALIB_SCALE; in ab8500_gpadc_ad_to_voltage() [all …]
|
/linux-6.1.9/drivers/net/wireless/ath/ath9k/ ! |
D | ath9k_pci_owl_loader.c | 36 static int ath9k_pci_fixup(struct pci_dev *pdev, const u16 *cal_data, in ath9k_pci_fixup() argument 40 const void *cal_end = (void *)cal_data + cal_len; in ath9k_pci_fixup() 56 if (*cal_data != AR5416_EEPROM_MAGIC) { in ath9k_pci_fixup() 57 if (*cal_data != swab16(AR5416_EEPROM_MAGIC)) { in ath9k_pci_fixup() 82 for (data = (const void *)(cal_data + 3); in ath9k_pci_fixup()
|
/linux-6.1.9/drivers/gpu/drm/mediatek/ ! |
D | mtk_dp.c | 106 u32 cal_data[MTK_DP_CAL_MAX]; member 1063 u32 *cal_data = mtk_dp->cal_data; in mtk_dp_get_calibration_data() local 1088 cal_data[i] = (buf[fmt->idx] >> fmt->shift) & fmt->mask; in mtk_dp_get_calibration_data() 1090 if (cal_data[i] < fmt->min_val || cal_data[i] > fmt->max_val) { in mtk_dp_get_calibration_data() 1103 cal_data[i] = mtk_dp->data->efuse_fmt[i].default_val; in mtk_dp_get_calibration_data() 1108 u32 *cal_data = mtk_dp->cal_data; in mtk_dp_set_calibration_data() local 1111 cal_data[MTK_DP_CAL_CLKTX_IMPSE] << 20, in mtk_dp_set_calibration_data() 1114 cal_data[MTK_DP_CAL_GLB_BIAS_TRIM] << 16, in mtk_dp_set_calibration_data() 1117 cal_data[MTK_DP_CAL_LN_TX_IMPSEL_PMOS_0] << 12, in mtk_dp_set_calibration_data() 1120 cal_data[MTK_DP_CAL_LN_TX_IMPSEL_NMOS_0] << 16, in mtk_dp_set_calibration_data() [all …]
|
/linux-6.1.9/drivers/media/platform/ti/cal/ ! |
D | cal.h | 142 struct cal_data { struct 205 const struct cal_data *data;
|
D | cal.c | 209 static const struct cal_data dra72x_cal_data = { 214 static const struct cal_data dra72x_es1_cal_data = { 241 static const struct cal_data dra76x_cal_data = { 257 static const struct cal_data am654_cal_data = {
|
/linux-6.1.9/arch/arm/boot/dts/ ! |
D | kirkwood-dir665.dts | 110 cal_data: partition@fc0000 { label 111 label = "cal_data";
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ ! |
D | qmi.h | 108 struct ath10k_qmi_cal_data cal_data[MAX_NUM_CAL_V01]; member
|
D | qmi.c | 339 if (qmi->cal_data[i].total_size && in ath10k_qmi_send_cal_report_req() 340 qmi->cal_data[i].data) { in ath10k_qmi_send_cal_report_req() 341 req.meta_data[j] = qmi->cal_data[i].cal_id; in ath10k_qmi_send_cal_report_req()
|
D | debug.c | 1272 ret = ath10k_hif_diag_read(ar, le32_to_cpu(addr), ar->debug.cal_data, in ath10k_debug_cal_data_fetch() 1308 ar->debug.cal_data, in ath10k_debug_cal_data_read() 2517 ar->debug.cal_data = vzalloc(ATH10K_DEBUG_CAL_DATA_LEN); in ath10k_debug_create() 2518 if (!ar->debug.cal_data) in ath10k_debug_create() 2531 vfree(ar->debug.cal_data); in ath10k_debug_destroy() 2532 ar->debug.cal_data = NULL; in ath10k_debug_destroy()
|
D | core.h | 698 void *cal_data; member
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/ ! |
D | eeprom.h | 9 struct cal_data { struct
|
/linux-6.1.9/drivers/bluetooth/ ! |
D | btmrvl_main.c | 495 u8 cal_data[BT_CAL_HDR_LEN + BT_CAL_DATA_SIZE]; in btmrvl_check_device_tree() local 514 cal_data + BT_CAL_HDR_LEN, in btmrvl_check_device_tree() 520 ret = btmrvl_download_cal_data(priv, cal_data, in btmrvl_check_device_tree()
|
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ ! |
D | main.c | 575 if ((request_firmware(&adapter->cal_data, cal_data_cfg, in _mwifiex_fw_dpc() 691 if (adapter->cal_data) { in _mwifiex_fw_dpc() 692 release_firmware(adapter->cal_data); in _mwifiex_fw_dpc() 693 adapter->cal_data = NULL; in _mwifiex_fw_dpc()
|
D | sta_cmd.c | 1520 } else if (adapter->cal_data->data && adapter->cal_data->size > 0) { in mwifiex_cmd_cfg_data() 1521 len = mwifiex_parse_cal_cfg((u8 *)adapter->cal_data->data, in mwifiex_cmd_cfg_data() 1522 adapter->cal_data->size, data); in mwifiex_cmd_cfg_data() 2296 if (adapter->cal_data) in mwifiex_sta_init_cmd()
|
D | main.h | 996 const struct firmware *cal_data; member
|