drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / src / vendorcode / google / dsm_calib.h
blobefbfe045c1a26e532e90bcba0de0f18a231fb233
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __DSM_CALIB_H__
4 #define __DSM_CALIB_H__
6 #include <stddef.h>
7 #include <stdint.h>
8 #include <types.h>
10 /**
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__ */