Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 33) sorted by relevance

12

/subsys/net/lib/lwm2m/
A Dlwm2m_senml_cbor_encode.c104 state, (&(*input).union_vb)))) in encode_repeated_record_union()
105 : (((*input).record_union_choice == in encode_repeated_record_union()
111 (&(*input).union_vd)))) in encode_repeated_record_union()
124 (&(*input).union_vlo)))) in encode_repeated_record_union()
136 ((*input).value_choice == value_tstr_c) in encode_value()
148 (&(*input).value_bool)))) in encode_value()
183 (((!(*input).record_bn_present || in encode_record()
185 (!(*input).record_bt_present || in encode_record()
187 (!(*input).record_n_present || in encode_record()
189 (!(*input).record_t_present || in encode_record()
[all …]
A Dlwm2m_senml_cbor.patch96 …bor_map_start_encode(state, 10) && (((!(*input).record_bn_present || encode_repeated_record_bn(sta…
97 …e, ZCBOR_ARRAY_SIZE(input->record_key_value_pair_m)) && (((!(*input).record_bn_present || encode_r…
98 && (!(*input).record_bt_present || encode_repeated_record_bt(state, (&(*input).record_bt)))
99 && (!(*input).record_n_present || encode_repeated_record_n(state, (&(*input).record_n)))
100 && (!(*input).record_t_present || encode_repeated_record_t(state, (&(*input).record_t)))
101 …&& (!(*input).record_union_present || encode_repeated_record_union(state, (&(*input).record_union)…
102 …de_minmax(0, 5, &(*input).record_key_value_pair_m_count, (zcbor_encoder_t *)encode_repeated_record…
103input->record_key_value_pair_m), &(*input).record_key_value_pair_m_count, (zcbor_encoder_t *)encod…
111 …or_multi_encode_minmax(1, 99, &(*input).lwm2m_senml_record_m_count, (zcbor_encoder_t *)encode_reco…
112input->lwm2m_senml_record_m)) && ((zcbor_multi_encode_minmax(1, ZCBOR_ARRAY_SIZE(input->lwm2m_senm…
[all …]
A Dlwm2m_rw_senml_cbor.c40 struct lwm2m_senml input; member
84 &((fd)->input.lwm2m_senml_record_m[(fd)->input.lwm2m_senml_record_m_count])
89 &((fd)->input.lwm2m_senml_record_m[(fd)->input.lwm2m_senml_record_m_count++])
191 struct lwm2m_senml *input = &(LWM2M_OFD_CBOR(out)->input); in put_end() local
193 if (!input->lwm2m_senml_record_m_count) { in put_end()
200 cbor_encode_lwm2m_senml(CPKT_BUF_W_REGION(out->out_cpkt), input, &len); in put_end()
1086 if (!buf || buf_size < sizeof("/") || !input) { in path_to_string()
1092 level = MIN(input->level, level_max); in path_to_string()
1105 input->obj_inst_id); in path_to_string()
1108 w = snprintk(&(buf[fpl]), buf_size - fpl, "%" PRIu16 "", input->res_id); in path_to_string()
[all …]
A Dlwm2m_util.c327 int lwm2m_atof(const char *input, double *out) in lwm2m_atof() argument
334 if (!input || !out) { in lwm2m_atof()
338 strncpy(buf, input, sizeof(buf) - 1); in lwm2m_atof()
376 int lwm2m_ftoa(double *input, char *out, size_t outlen, int8_t dec_limit) in lwm2m_ftoa() argument
380 int64_t val1 = (int64_t)*input; in lwm2m_ftoa()
381 int64_t val2 = (*input - (int64_t)*input) * PRECISION64; in lwm2m_ftoa()
408 if (*input < 0) { in lwm2m_ftoa()
A Dlwm2m_util.h21 int lwm2m_atof(const char *input, double *out);
23 int lwm2m_ftoa(double *input, char *out, size_t outlen, int8_t dec_limit);
A Dlwm2m_senml_cbor_encode.h24 int cbor_encode_lwm2m_senml(uint8_t *payload, size_t payload_len, const struct lwm2m_senml *input,
A DREADME_lwm2m8 is used as an input for the generator:
/subsys/input/
A DKconfig12 module-str = input
26 bool "Process input events synchronously"
32 bool "Process input events in a dedicated thread"
43 bool "Override default input thread priority"
52 Set thread priority of the input
71 bool "Log all input events"
75 with "input dump on" if INPUT_SHELL is used.
81 Enable the input shell, for interacting with the input subsystem
89 Enable the input longpress driver.
96 Enable the input keymap driver.
[all …]
A Dinput.c12 LOG_MODULE_REGISTER(input, CONFIG_INPUT_LOG_LEVEL);
100 K_THREAD_DEFINE(input,
A Dinput_double_tap.c102 INPUT_CALLBACK_DEFINE_NAMED(DEVICE_DT_GET_OR_NULL(DT_INST_PHANDLE(inst, input)), \
114 .input_dev = DEVICE_DT_GET_OR_NULL(DT_INST_PHANDLE(inst, input)), \
A DCMakeLists.txt5 zephyr_library_sources(input.c)
A Dinput_longpress.c112 INPUT_CALLBACK_DEFINE_NAMED(DEVICE_DT_GET_OR_NULL(DT_INST_PHANDLE(inst, input)), \
128 .input_dev = DEVICE_DT_GET_OR_NULL(DT_INST_PHANDLE(inst, input)), \
A Dinput_utils.c16 LOG_MODULE_DECLARE(input);
289 SHELL_CMD_REGISTER(input, &sub_input_cmds, "Input commands", NULL);
/subsys/bluetooth/mesh/
A Dprov.c108 if (!input) { in check_input_auth()
157 input == BT_MESH_PUSH || input == BT_MESH_TWIST) { in get_auth_number()
175 bt_mesh_input_action_t input; in bt_mesh_prov_auth() local
201 input = BT_MESH_ENTER_STRING; in bt_mesh_prov_auth()
204 input = BT_MESH_ENTER_NUMBER; in bt_mesh_prov_auth()
208 return bt_mesh_prov->input(input, size); in bt_mesh_prov_auth()
229 input = input_action(action); in bt_mesh_prov_auth()
232 err = check_input_auth(input, size); in bt_mesh_prov_auth()
237 if (input == BT_MESH_ENTER_STRING) { in bt_mesh_prov_auth()
243 return bt_mesh_prov->input(input, size); in bt_mesh_prov_auth()
[all …]
/subsys/bluetooth/host/
A Ddata.c64 size_t bt_data_serialize(const struct bt_data *input, uint8_t *output) in bt_data_serialize() argument
66 CHECKIF(input == NULL) { in bt_data_serialize()
76 uint8_t ad_data_len = input->data_len; in bt_data_serialize()
80 output[1] = input->type; in bt_data_serialize()
82 memcpy(&output[2], input->data, ad_data_len); in bt_data_serialize()
/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
A Dfs_mgmt_hash_checksum_sha256.c32 static int hash_update(hash_ctx_t *, const uint8_t *input, size_t ilen);
109 static int hash_update(psa_hash_operation_t *ctx, const uint8_t *input, size_t ilen) in hash_update() argument
111 return psa_hash_update(ctx, input, ilen); in hash_update()
131 static int hash_update(mbedtls_sha256_context *ctx, const uint8_t *input, size_t ilen) in hash_update() argument
133 return mbedtls_sha256_update(ctx, input, ilen); in hash_update()
/subsys/secure_storage/src/its/transform/
A Daead.c14 const void *input, size_t output_size, void *output, in psa_aead_crypt() argument
25 size_t add_data_len, const uint8_t *input, size_t input_len, in psa_aead_crypt()
51 add_data_len, input, input_len, output, output_size, output_len); in psa_aead_crypt()
/subsys/console/
A DKconfig17 bool "Character by character input and output"
22 bool "Line by line input"
/subsys/bluetooth/audio/
A DKconfig.aics30 int "Audio Input Control Service max input description size"
34 This option sets the maximum input description size in octets.
/subsys/bluetooth/host/shell/
A Dcs.c33 static int check_cs_sync_antenna_selection_input(uint16_t input) in check_cs_sync_antenna_selection_input() argument
35 if (input != BT_LE_CS_ANTENNA_SELECTION_OPT_ONE && in check_cs_sync_antenna_selection_input()
36 input != BT_LE_CS_ANTENNA_SELECTION_OPT_TWO && in check_cs_sync_antenna_selection_input()
37 input != BT_LE_CS_ANTENNA_SELECTION_OPT_THREE && in check_cs_sync_antenna_selection_input()
38 input != BT_LE_CS_ANTENNA_SELECTION_OPT_FOUR && in check_cs_sync_antenna_selection_input()
39 input != BT_LE_CS_ANTENNA_SELECTION_OPT_REPETITIVE && in check_cs_sync_antenna_selection_input()
40 input != BT_LE_CS_ANTENNA_SELECTION_OPT_NO_RECOMMENDATION) { in check_cs_sync_antenna_selection_input()
/subsys/mgmt/mcumgr/transport/
A DKconfig.shell38 bool "Shell input expiration"
46 int "Shell input expiration timeout"
/subsys/usb/usb_c/
A DKconfig51 string "Path to input VIF file"
55 directory) of the GenVIF input VIF XML file.
/subsys/usb/device_next/class/
A Dusbd_uac2.c531 static uint32_t find_closest(const uint32_t input, const uint32_t *values, in find_closest() argument
539 if (input == values[i]) { in find_closest()
541 return input; in find_closest()
542 } else if (input < values[i]) { in find_closest()
561 if ((values[i] - input) > (input - values[i - 1])) { in find_closest()
/subsys/shell/modules/kernel_service/
A DKconfig25 command input before the reboot abruptly terminates it. This can help
/subsys/net/pkt_filter/
A DKconfig31 bool "Additional network packet filtering hook for connection input"

Completed in 71 milliseconds

12