Home
last modified time | relevance | path

Searched refs:v (Results 1 – 16 of 16) sorted by relevance

/subsys/logging/
A Dlog_output_syst.c80 stp_write_putNibble(systh, p, v); in stp_write_d4()
86 stp_write_d4(systh, p, v); in stp_write_payload8()
87 stp_write_d4(systh, p, v>>4); in stp_write_payload8()
278 write_raw(systh, &v, sizeof(v));
290 write_raw(systh, &v, sizeof(v));
302 write_raw(systh, &v, sizeof(v));
315 write_raw(systh, &v, sizeof(v));
333 write_raw(systh, &v, sizeof(v));
339 write_raw(systh, &v, sizeof(v));
355 ARG_UNUSED(v);
[all …]
/subsys/net/lib/lwm2m/
A Dlwm2m_util.c15 #define SHIFT_LEFT(v, o, m) (((v) << (o)) & (m)) argument
16 #define SHIFT_RIGHT(v, o, m) (((v) >> (o)) & (m)) argument
42 v = abs(val1); in lwm2m_float_to_b32()
45 while (v > 0) { in lwm2m_float_to_b32()
48 if (v & 1) { in lwm2m_float_to_b32()
52 v >>= 1; in lwm2m_float_to_b32()
57 v = abs(val2); in lwm2m_float_to_b32()
62 v *= 2; in lwm2m_float_to_b32()
72 if (v == 0) { in lwm2m_float_to_b32()
134 v >>= 1; in lwm2m_float_to_b64()
[all …]
A Dlwm2m_observation.c1559 long v; in lwm2m_write_attr_handler() local
1565 v = strtol(opt_buf, &end, 10); in lwm2m_write_attr_handler()
1566 if (errno || *end || v < 0) { in lwm2m_write_attr_handler()
1570 val.int_val = v; in lwm2m_write_attr_handler()
/subsys/testsuite/coverage/
A Dcoverage.c41 static inline void print_u8(uint8_t v) in print_u8() argument
43 printk("%02x", v); in print_u8()
49 static inline void print_u32(uint32_t v) in print_u32() argument
51 uint8_t *ptr = (uint8_t *)&v; in print_u32()
63 static inline void write_u64(void *buffer, size_t *off, uint64_t v) in write_u64() argument
66 memcpy((uint8_t *)buffer + *off, (uint8_t *)&v, sizeof(v)); in write_u64()
68 print_u32(*((uint32_t *)&v)); in write_u64()
69 print_u32(*(((uint32_t *)&v) + 1)); in write_u64()
77 static inline void write_u32(void *buffer, size_t *off, uint32_t v) in write_u32() argument
80 memcpy((uint8_t *)buffer + *off, (uint8_t *)&v, sizeof(v)); in write_u32()
[all …]
/subsys/logging/mipi_syst/
A Dplatform.h45 void (*write_d8)(struct mipi_syst_handle *systh, mipi_syst_u8 v);
46 void (*write_d16)(struct mipi_syst_handle *systh, mipi_syst_u16 v);
47 void (*write_d32)(struct mipi_syst_handle *systh, mipi_syst_u32 v);
49 void (*write_d64)(struct mipi_syst_handle *systh, mipi_syst_u64 v);
51 void (*write_d32ts)(struct mipi_syst_handle *systh, mipi_syst_u32 v);
52 void (*write_d32mts)(struct mipi_syst_handle *systh, mipi_syst_u32 v);
53 void (*write_d64mts)(struct mipi_syst_handle *systh, mipi_syst_u64 v);
/subsys/shell/
A Dshell_utils.c149 uint8_t v = 0U; in make_argv() local
155 v = (v << 3) | (t - '0'); in make_argv()
164 *cmd++ = v; in make_argv()
171 uint8_t v = 0U; in make_argv() local
177 v = (v << 4) | (t - '0'); in make_argv()
180 v = (v << 4) | (t - 'a' + 10); in make_argv()
182 v = (v << 4) | (t - 'A' + 10); in make_argv()
191 *cmd++ = v; in make_argv()
/subsys/net/lib/http/
A Dhttp_parser_url.c51 # define T(v) 0 argument
53 # define T(v) v argument
563 unsigned long v; in http_parser_parse_url() local
565 v = strtoul(buf + u->field_data[UF_PORT].off, NULL, 10); in http_parser_parse_url()
568 if (v > 0xffff) { in http_parser_parse_url()
572 u->port = (uint16_t) v; in http_parser_parse_url()
A Dhttp_parser.c54 # define ELEM_AT(a, i, v) ((unsigned int) (i) < ARRAY_SIZE(a) ? (a)[(i)] : (v)) argument
/subsys/bluetooth/crypto/
A Dbt_crypto.c19 int bt_crypto_f4(const uint8_t *u, const uint8_t *v, const uint8_t *x, uint8_t z, uint8_t res[16]) in bt_crypto_f4() argument
26 LOG_DBG("v %s", bt_hex(v, 32)); in bt_crypto_f4()
39 sys_memcpy_swap(m + 32, v, 32); in bt_crypto_f4()
160 int bt_crypto_g2(const uint8_t u[32], const uint8_t v[32], const uint8_t x[16], const uint8_t y[16], in bt_crypto_g2()
167 LOG_DBG("v %s", bt_hex(v, 32)); in bt_crypto_g2()
172 sys_memcpy_swap(m + 32, v, 32); in bt_crypto_g2()
A Dbt_crypto.h42 int bt_crypto_f4(const uint8_t *u, const uint8_t *v, const uint8_t *x, uint8_t z, uint8_t res[16]);
98 int bt_crypto_g2(const uint8_t u[32], const uint8_t v[32], const uint8_t x[16], const uint8_t y[16],
/subsys/net/lib/coap/
A Dcoap.c1242 #define GET_BLOCK_SIZE(v) (((v) & 0x7)) argument
1243 #define GET_MORE(v) (!!((v) & 0x08)) argument
1244 #define GET_NUM(v) ((v) >> 4) argument
1246 #define SET_BLOCK_SIZE(v, b) (v |= ((b) & 0x07)) argument
1247 #define SET_MORE(v, m) ((v) |= (m) ? 0x08 : 0x00) argument
1248 #define SET_NUM(v, n) ((v) |= ((n) << 4)) argument
/subsys/portability/cmsis_rtos_v1/
A Dcmsis_msgq.c84 evt.value.v = info; in osMessageGet()
/subsys/sensing/sensor/hinge_angle/
A Dhinge_angle.c146 sample->readings[0].v = calc_hinge_angle(data); in hinge_reporter_on_data_event()
/subsys/sensing/sensor/phy_3d_sensor/
A Dphy_3d_sensor.c196 sample->readings[0].v[i] = custom->sensor_value_to_q31(&value[i]); in phy_3d_sensor_submit()
/subsys/net/ip/
A Dnet_context.c3327 int v; in set_uint16_option() local
3337 v = *((int *)value); in set_uint16_option()
3339 if (v < 0 || v > UINT16_MAX) { in set_uint16_option()
3343 *option = (uint16_t)v; in set_uint16_option()
/subsys/bluetooth/host/
A Dsmp.c5418 uint8_t v[32] = { 0xfd, 0xc5, 0x7f, 0xf4, 0x49, 0xdd, 0x4f, 0x6b, in smp_f4_test() local
5430 err = bt_crypto_f4(u, v, x, z, res); in smp_f4_test()
5515 uint8_t v[32] = { 0xfd, 0xc5, 0x7f, 0xf4, 0x49, 0xdd, 0x4f, 0x6b, in smp_g2_test() local
5527 err = bt_crypto_g2(u, v, x, y, &val); in smp_g2_test()

Completed in 62 milliseconds