1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __DSM_CALIB_H__
4 #define __DSM_CALIB_H__
11 * get_dsm_calibration_from_key - Gets value related to DSM calibration from VPD
12 * @key: The key in RO_VPD. The valid prefix is "dsm_calib_". The valid keys are
13 * documented in https://chromeos.google.com/partner/dlm/docs/factory/vpd.html.
14 * @value: Output value. The value read from VPD parsed into uint64_t integer.
16 * Returns CB_SUCCESS on success or CB_ERR on failure.
18 enum cb_err
get_dsm_calibration_from_key(const char *key
, uint64_t *value
);
20 #endif /* __DSM_CALIB_H__ */