Home
last modified time | relevance | path

Searched full:out (Results 1 – 25 of 1776) sorted by relevance

12345678910>>...72

/Zephyr-Core-3.5.0/tests/misc/iterable_sections/src/
Dmain.c54 int out = 0; in ZTEST() local
57 out = (out << 8) | t->i; in ZTEST()
61 zassert_equal(out, RAM_EXPECT, "Check value incorrect (got: 0x%08x)", out); in ZTEST()
72 out = 0; in ZTEST()
74 out = (out << 8) | t->i; in ZTEST()
77 zassert_equal(out, RAM_EXPECT, "Check value incorrect (got: 0x%08x)", out); in ZTEST()
79 out = 0; in ZTEST()
81 out = (out << 8) | t->i; in ZTEST()
84 zassert_equal(out, RAM_EXPECT, "Check value incorrect (got: 0x%x)", out); in ZTEST()
86 out = 0; in ZTEST()
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/icm42688/
Dicm42688.h57 static inline void icm42688_accel_reg_to_fs(enum icm42688_accel_fs fs, struct sensor_value *out) in icm42688_accel_reg_to_fs() argument
61 sensor_g_to_ms2(16, out); in icm42688_accel_reg_to_fs()
64 sensor_g_to_ms2(8, out); in icm42688_accel_reg_to_fs()
67 sensor_g_to_ms2(4, out); in icm42688_accel_reg_to_fs()
70 sensor_g_to_ms2(2, out); in icm42688_accel_reg_to_fs()
110 static inline void icm42688_gyro_reg_to_fs(enum icm42688_gyro_fs fs, struct sensor_value *out) in icm42688_gyro_reg_to_fs() argument
114 sensor_degrees_to_rad(2000, out); in icm42688_gyro_reg_to_fs()
117 sensor_degrees_to_rad(1000, out); in icm42688_gyro_reg_to_fs()
120 sensor_degrees_to_rad(500, out); in icm42688_gyro_reg_to_fs()
123 sensor_degrees_to_rad(250, out); in icm42688_gyro_reg_to_fs()
[all …]
Dicm42688_decoder.c81 q31_t *out) in icm42688_convert_raw_to_q31() argument
121 *out = CLAMP(intermediate, INT32_MIN, INT32_MAX); in icm42688_convert_raw_to_q31()
231 struct sensor_three_axis_data *out = data_out; in icm42688_one_shot_decode() local
233 out->header.base_timestamp_ns = edata->header.timestamp; in icm42688_one_shot_decode()
234 out->header.reading_count = 1; in icm42688_one_shot_decode()
236 &out->shift); in icm42688_one_shot_decode()
244 &out->readings[0].x); in icm42688_one_shot_decode()
248 &out->readings[0].y); in icm42688_one_shot_decode()
252 &out->readings[0].z); in icm42688_one_shot_decode()
265 struct sensor_three_axis_data *out = data_out; in icm42688_one_shot_decode() local
[all …]
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Dlwm2m_object.h34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
488 struct lwm2m_output_context out; member
533 int (*put_begin)(struct lwm2m_output_context *out,
535 int (*put_end)(struct lwm2m_output_context *out,
537 int (*put_begin_oi)(struct lwm2m_output_context *out,
539 int (*put_end_oi)(struct lwm2m_output_context *out,
541 int (*put_begin_r)(struct lwm2m_output_context *out,
543 int (*put_end_r)(struct lwm2m_output_context *out,
545 int (*put_begin_ri)(struct lwm2m_output_context *out,
547 int (*put_end_ri)(struct lwm2m_output_context *out,
[all …]
Dlwm2m_rw_link_format.c43 static int put_begin(struct lwm2m_output_context *out, in put_begin() argument
52 fd = engine_get_out_user_data(out); in put_begin()
76 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), init_string, in put_begin()
87 static int put_corelink_separator(struct lwm2m_output_context *out) in put_corelink_separator() argument
92 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), &comma, sizeof(comma)); in put_corelink_separator()
100 static int put_corelink_version(struct lwm2m_output_context *out, in put_corelink_version() argument
112 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, len); in put_corelink_version()
120 static int put_corelink_dimension(struct lwm2m_output_context *out, in put_corelink_dimension() argument
139 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, len); in put_corelink_dimension()
148 static int put_attribute(struct lwm2m_output_context *out, in put_attribute() argument
[all …]
Dlwm2m_rw_cbor.c34 static int put_time(struct lwm2m_output_context *out, struct lwm2m_obj_path *path, time_t value) in put_time() argument
66 ZCBOR_STATE_E(states, 0, CPKT_BUF_W_PTR(out->out_cpkt), CPKT_BUF_W_SIZE(out->out_cpkt), 1); in put_time()
76 tag_sz = CPKT_CBOR_W_SZ(states[0].payload, out->out_cpkt); in put_time()
78 out->out_cpkt->offset += tag_sz; in put_time()
86 str_sz = CPKT_CBOR_W_SZ(states[0].payload, out->out_cpkt); in put_time()
88 out->out_cpkt->offset += str_sz; in put_time()
93 static int put_s64(struct lwm2m_output_context *out, in put_s64() argument
99 ZCBOR_STATE_E(states, 0, CPKT_BUF_W_PTR(out->out_cpkt), CPKT_BUF_W_SIZE(out->out_cpkt), 1); in put_s64()
104 payload_len = CPKT_CBOR_W_SZ(states[0].payload, out->out_cpkt); in put_s64()
105 out->out_cpkt->offset += payload_len; in put_s64()
[all …]
Dlwm2m_rw_oma_tlv.c34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
123 static int oma_tlv_put_u8(struct lwm2m_output_context *out, in oma_tlv_put_u8() argument
130 fd = engine_get_out_user_data(out); in oma_tlv_put_u8()
135 ret = buf_insert(CPKT_BUF_WRITE(out->out_cpkt), in oma_tlv_put_u8()
143 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), &value, 1); in oma_tlv_put_u8()
153 struct lwm2m_output_context *out, uint8_t *value, in oma_tlv_put() argument
169 ret = oma_tlv_put_u8(out, tmp, insert); in oma_tlv_put()
178 ret = oma_tlv_put_u8(out, (tlv->id >> 8) & 0xff, insert); in oma_tlv_put()
186 ret = oma_tlv_put_u8(out, tlv->id & 0xff, insert); in oma_tlv_put()
195 ret = oma_tlv_put_u8(out, in oma_tlv_put()
[all …]
Dlwm2m_rw_json.c34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
181 struct lwm2m_output_context *out; member
246 static int json_add_separator(struct lwm2m_output_context *out, struct json_out_formatter_data *fd) in json_add_separator() argument
254 len = buf_append(CPKT_BUF_WRITE(out->out_cpkt), &separator, sizeof(separator)); in json_add_separator()
268 static int json_float_object_write(struct lwm2m_output_context *out, in json_float_object_write() argument
277 len = json_add_separator(out, fd); in json_float_object_write()
297 CPKT_BUF_W_REGION(out->out_cpkt)); in json_float_object_write()
303 out->out_cpkt->offset += len; in json_float_object_write()
308 static int json_string_object_write(struct lwm2m_output_context *out, in json_string_object_write() argument
317 len = json_add_separator(out, fd); in json_string_object_write()
[all …]
Dlwm2m_rw_senml_json.c129 struct lwm2m_output_context *out; member
331 static int put_begin(struct lwm2m_output_context *out, struct lwm2m_obj_path *path) in put_begin() argument
336 fd = engine_get_out_user_data(out); in put_begin()
341 res = buf_append(CPKT_BUF_WRITE(out->out_cpkt), "[", 1); in put_begin()
351 static int put_end(struct lwm2m_output_context *out, struct lwm2m_obj_path *path) in put_end() argument
356 fd = engine_get_out_user_data(out); in put_end()
361 res = buf_append(CPKT_BUF_WRITE(out->out_cpkt), "]", 1); in put_end()
369 static int put_begin_oi(struct lwm2m_output_context *out, struct lwm2m_obj_path *path) in put_begin_oi() argument
374 fd = engine_get_out_user_data(out); in put_begin_oi()
398 static int put_begin_ri(struct lwm2m_output_context *out, struct lwm2m_obj_path *path) in put_begin_ri() argument
[all …]
Dlwm2m_rw_senml_cbor.c100 engine_set_out_user_data(&msg->out, fd); in setup_out_fmt_data()
108 engine_clear_out_user_data(&msg->out); in clear_out_fmt_data()
142 static int put_basename(struct lwm2m_output_context *out, struct lwm2m_obj_path *path) in put_basename() argument
144 struct cbor_out_fmt_data *fd = LWM2M_OFD_CBOR(out); in put_basename()
178 static int put_empty_array(struct lwm2m_output_context *out) in put_empty_array() argument
182 memset(CPKT_BUF_W_PTR(out->out_cpkt), 0x80, len); /* 80 # array(0) */ in put_empty_array()
183 out->out_cpkt->offset += len; in put_empty_array()
188 static int put_end(struct lwm2m_output_context *out, struct lwm2m_obj_path *path) in put_end() argument
191 struct lwm2m_senml *input = &(LWM2M_OFD_CBOR(out)->input); in put_end()
194 len = put_empty_array(out); in put_end()
[all …]
/Zephyr-Core-3.5.0/drivers/pinctrl/
Dpinctrl_gecko.c39 rxpin.out = 1; in pinctrl_configure_pins()
41 rxpin.out); in pinctrl_configure_pins()
48 txpin.out = 1; in pinctrl_configure_pins()
50 txpin.out); in pinctrl_configure_pins()
56 pin_config.out = 1; in pinctrl_configure_pins()
58 pin_config.out); in pinctrl_configure_pins()
63 pin_config.out = 1; in pinctrl_configure_pins()
65 pin_config.out); in pinctrl_configure_pins()
131 config->pin_rts.out); in pinctrl_configure_pins()
135 config->pin_cts.out); in pinctrl_configure_pins()
[all …]
/Zephyr-Core-3.5.0/tests/drivers/pwm/pwm_loopback/src/
Dtest_pwm_loopback.c23 void get_test_pwms(struct test_pwm *out, struct test_pwm *in) in get_test_pwms() argument
26 out->dev = DEVICE_DT_GET(PWM_LOOPBACK_OUT_CTLR); in get_test_pwms()
27 out->pwm = PWM_LOOPBACK_OUT_CHANNEL; in get_test_pwms()
28 out->flags = PWM_LOOPBACK_OUT_FLAGS; in get_test_pwms()
29 zassert_true(device_is_ready(out->dev), "pwm loopback output device is not ready"); in get_test_pwms()
42 struct test_pwm out; in test_capture() local
47 get_test_pwms(&out, &in); in test_capture()
53 err = pwm_set(out.dev, out.pwm, period, pulse, out.flags ^= in test_capture()
60 err = pwm_set(out.dev, out.pwm, PWM_USEC(period), in test_capture()
61 PWM_USEC(pulse), out.flags ^= in test_capture()
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/akm09918c/
Dakm09918c_decoder.c41 static int akm09918c_convert_raw_to_q31(int16_t reading, q31_t *out) in akm09918c_convert_raw_to_q31() argument
47 *out = CLAMP(intermediate, INT32_MIN, INT32_MAX); in akm09918c_convert_raw_to_q31()
66 struct sensor_three_axis_data *out = data_out; in akm09918c_decoder_decode() local
68 out->header.base_timestamp_ns = edata->header.timestamp; in akm09918c_decoder_decode()
69 out->header.reading_count = 1; in akm09918c_decoder_decode()
70 out->shift = AKM09918C_SHIFT; in akm09918c_decoder_decode()
72 akm09918c_convert_raw_to_q31(edata->readings[0], &out->readings[0].x); in akm09918c_decoder_decode()
73 akm09918c_convert_raw_to_q31(edata->readings[1], &out->readings[0].y); in akm09918c_decoder_decode()
74 akm09918c_convert_raw_to_q31(edata->readings[2], &out->readings[0].z); in akm09918c_decoder_decode()
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Dkeys.h18 int bt_mesh_key_import(enum bt_mesh_key_type type, const uint8_t in[16], struct bt_mesh_key *out);
19 int bt_mesh_key_export(uint8_t out[16], const struct bt_mesh_key *in);
27 struct bt_mesh_key *out) in bt_mesh_key_import() argument
29 memcpy(out, in, 16); in bt_mesh_key_import()
33 static inline int bt_mesh_key_export(uint8_t out[16], const struct bt_mesh_key *in) in bt_mesh_key_export()
35 memcpy(out, in, 16); in bt_mesh_key_export()
/Zephyr-Core-3.5.0/tests/net/ip-addr/src/
Dmain.c41 char out[3]; \
42 net_byte_to_hex(out, value, 'A', true); \
43 zassert_false(strcmp(out, expected), \
49 char out[3]; \
50 net_byte_to_hex(out, value, 'a', true); \
51 zassert_false(strcmp(out, expected), \
75 char out[2 * sizeof("xx:xx:xx:xx:xx:xx") + 1 + 1]; \
76 snprintk(out, sizeof(out), "%s ", \
78 snprintk(out + sizeof("xx:xx:xx:xx:xx:xx"), \
79 sizeof(out), "%s", \
[all …]
/Zephyr-Core-3.5.0/subsys/llext/
Dllext.c97 goto out; in llext_find_tables()
103 goto out; in llext_find_tables()
149 out: in llext_find_tables()
166 goto out; in llext_map_sections()
171 goto out; in llext_map_sections()
180 goto out; in llext_map_sections()
185 goto out; in llext_map_sections()
211 out: in llext_map_sections()
255 goto out; in llext_allocate_mem()
260 out: in llext_allocate_mem()
[all …]
/Zephyr-Core-3.5.0/subsys/logging/backends/
Dlog_backend_adsp_mtrace.c82 size_t avail, out; in mtrace_out() local
93 out = 0; in mtrace_out()
94 goto out; in mtrace_out()
98 out = MIN(avail, len); in mtrace_out()
100 if (w + out >= MTRACE_LOG_BUF_SIZE) { in mtrace_out()
102 size_t head = out - tail; in mtrace_out()
108 memcpy(data + w, str, out); in mtrace_out()
109 w += out; in mtrace_out()
114 out: in mtrace_out()
119 return out; in mtrace_out()
[all …]
/Zephyr-Core-3.5.0/dts/bindings/watchdog/
Dnuvoton,npcx-watchdog.yaml13 t0-out:
17 Mapping table between Wake-Up Input (WUI) and t0-out timer expired signal.
18 For example, the WUI mapping on NPCX7 t0-out timer would be
19 t0-out = <&wui_t0out>;
/Zephyr-Core-3.5.0/arch/x86/core/
Dearly_serial.c20 #define OUT(reg, val) sys_out8(val, reg + DT_REG_ADDR(DT_CHOSEN(zephyr_console))) macro
28 #define OUT(reg, val) sys_write32((val) & 0xff, mmio + reg * 4) macro
40 #define OUT(reg, val) sys_write8(val, BASE + reg) macro
73 OUT(REG_THR, c); in serout()
104 OUT(REG_IER, IER_DISABLE); /* Disable interrupts */ in z_x86_early_serial_init()
105 OUT(REG_LCR, LCR_DLAB_SELECT); /* DLAB select */ in z_x86_early_serial_init()
106 OUT(REG_BRDL, 1); /* Baud divisor = 1 */ in z_x86_early_serial_init()
107 OUT(REG_BRDH, 0); in z_x86_early_serial_init()
108 OUT(REG_LCR, LCR_8N1); /* LCR = 8n1 + DLAB off */ in z_x86_early_serial_init()
109 OUT(REG_MCR, MCR_DTR | MCR_RTS); in z_x86_early_serial_init()
[all …]
/Zephyr-Core-3.5.0/subsys/settings/src/
Dsettings_priv.h76 * @param[out] out buffer for name
77 * @param[in] len_req size of <p>out</p> buffer
78 * @param[out] len_read length of read name
85 int settings_line_raw_read(off_t seek, char *out, size_t len_req,
92 int settings_line_val_read(off_t val_off, off_t off, char *out, size_t len_req,
98 * @param[out] out buffer for name
99 * @param[in] len_req size of <p>out</p> buffer
100 * @param[out] len_read length of read name
108 int settings_line_name_read(char *out, size_t len_req, size_t *len_read,
/Zephyr-Core-3.5.0/subsys/net/l2/ieee802154/
DKconfig27 Enable printing out in/out 802.15.4 packets. This is extremely
31 prompt "Which packet do you want to print-out?"
36 bool "Print-out both RX and TX packets"
38 This will print-out both received and transmitted packets.
41 bool "Print-out only RX packets"
43 This will print-out received packets only.
46 bool "Print-out only TX packets"
48 This will print-out transmitted packets only.
/Zephyr-Core-3.5.0/lib/os/
Dmem_blocks.c63 goto out; in free_blocks()
69 goto out; in free_blocks()
85 out: in free_blocks()
100 goto out; in sys_mem_blocks_alloc_contiguous()
106 goto out; in sys_mem_blocks_alloc_contiguous()
113 goto out; in sys_mem_blocks_alloc_contiguous()
122 out: in sys_mem_blocks_alloc_contiguous()
139 goto out; in sys_mem_blocks_alloc()
145 goto out; in sys_mem_blocks_alloc()
170 out: in sys_mem_blocks_alloc()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dcsip_crypto.c32 const uint8_t *in, size_t in_len, uint8_t *out) in aes_cmac() argument
47 if (tc_cmac_final(out, &state) == TC_CRYPTO_FAIL) { in aes_cmac()
54 static void xor_128(const uint8_t a[16], const uint8_t b[16], uint8_t out[16]) in xor_128()
60 *out++ = *a++ ^ *b++; in xor_128()
65 uint8_t out[BT_CSIP_CRYPTO_HASH_SIZE]) in bt_csip_sih()
100 memcpy(out, res, BT_CSIP_CRYPTO_HASH_SIZE); in bt_csip_sih()
102 LOG_DBG("sih %s", bt_hex(out, BT_CSIP_CRYPTO_HASH_SIZE)); in bt_csip_sih()
119 * @param out A 16-byte output buffer.
124 const uint8_t *p, size_t p_size, uint8_t out[16]) in k1()
150 err = aes_cmac(t, p, p_size, out); in k1()
[all …]
/Zephyr-Core-3.5.0/tests/kernel/threads/tls/src/
Dmain.c72 goto out; in tls_thread_entry()
77 goto out; in tls_thread_entry()
82 goto out; in tls_thread_entry()
87 goto out; in tls_thread_entry()
92 goto out; in tls_thread_entry()
97 goto out; in tls_thread_entry()
115 goto out; in tls_thread_entry()
120 goto out; in tls_thread_entry()
125 goto out; in tls_thread_entry()
130 goto out; in tls_thread_entry()
[all …]
/Zephyr-Core-3.5.0/dts/bindings/spi/
Dnxp,imx-lpspi.yaml41 - "sdi-in,sdo-out"
42 - "sdi-in,sdi-out"
43 - "sdo-in,sdo-out"
44 - "sdo-in,sdi-out"
45 default: "sdi-in,sdo-out"

12345678910>>...72