Home
last modified time | relevance | path

Searched refs:p_char_pres_fmt (Results 1 – 2 of 2) sorted by relevance

/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/common/
Dble_prf_utils.c59 const prf_char_pres_fmt_t *p_char_pres_fmt) in prf_pack_char_pres_fmt() argument
61 *p_packed_val = p_char_pres_fmt->format; in prf_pack_char_pres_fmt()
62 *(p_packed_val + 1) = p_char_pres_fmt->exponent; in prf_pack_char_pres_fmt()
64 htole16(p_packed_val + OFFSET_2, p_char_pres_fmt->unit); in prf_pack_char_pres_fmt()
66 *(p_packed_val + OFFSET_4) = p_char_pres_fmt->name_space; in prf_pack_char_pres_fmt()
68 htole16(p_packed_val + OFFSET_5, p_char_pres_fmt->description); in prf_pack_char_pres_fmt()
72 prf_char_pres_fmt_t *p_char_pres_fmt) in prf_unpack_char_pres_fmt() argument
74 p_char_pres_fmt->format = *p_packed_val; in prf_unpack_char_pres_fmt()
75 p_char_pres_fmt->exponent = *(p_packed_val + 1); in prf_unpack_char_pres_fmt()
76 p_char_pres_fmt->unit = le16toh(p_packed_val + OFFSET_2); in prf_unpack_char_pres_fmt()
[all …]
Dble_prf_utils.h70 void prf_pack_char_pres_fmt(uint8_t *p_packed_val, const prf_char_pres_fmt_t *p_char_pres_fmt);
82 void prf_unpack_char_pres_fmt(const uint8_t *p_packed_val, prf_char_pres_fmt_t *p_char_pres_fmt);