Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 4 of 4) sorted by relevance

/subsys/net/lib/sntp/
A Dsntp.c34 NET_DBG("precision: %x", pkt->precision); in sntp_pkt_dump()
116 if (pkt->precision <= 0) { in parse_response()
117 precision_us = (uint32_t)(USEC_PER_SEC + USEC_PER_SEC / 2) >> -pkt->precision; in parse_response()
118 } else if (pkt->precision <= 10) { in parse_response()
119 precision_us = (uint32_t)(USEC_PER_SEC + USEC_PER_SEC / 2) << pkt->precision; in parse_response()
121 NET_DBG("SNTP packet precision out of range: %d", pkt->precision); in parse_response()
A Dsntp_pkt.h24 int8_t precision; member
/subsys/net/ip/
A Dutils.c135 static int net_value_to_udec(char *buf, uint32_t value, int precision) in net_value_to_udec() argument
143 if (precision < 0) { in net_value_to_udec()
144 precision = 1; in net_value_to_udec()
150 if ((precision > i) || (temp != 0)) { in net_value_to_udec()
151 precision = i; in net_value_to_udec()
/subsys/bluetooth/controller/
A DKconfig.ll_sw_split815 The precision is determined by the resolution of the platform

Completed in 25 milliseconds